pub enum MatchTemplate {
Sqdiff,
SqdiffNormed,
Ccorr,
CcorrNormed,
Ccoeff,
CcoeffNormed,
}Expand description
Template-match score metric used by match_template.
Variants§
Sqdiff
TM_SQDIFF squared difference.
SqdiffNormed
TM_SQDIFF_NORMED normalized squared difference.
Ccorr
TM_CCORR cross-correlation.
CcorrNormed
TM_CCORR_NORMED normalized cross-correlation.
Ccoeff
TM_CCOEFF correlation coefficient.
CcoeffNormed
TM_CCOEFF_NORMED normalized correlation coefficient.
Trait Implementations§
Source§impl Clone for MatchTemplate
impl Clone for MatchTemplate
impl Copy for MatchTemplate
Source§impl Debug for MatchTemplate
impl Debug for MatchTemplate
Source§impl Default for MatchTemplate
impl Default for MatchTemplate
impl Eq for MatchTemplate
Source§impl PartialEq for MatchTemplate
impl PartialEq for MatchTemplate
impl StructuralPartialEq for MatchTemplate
Auto Trait Implementations§
impl Forget for MatchTemplate
impl Freeze for MatchTemplate
impl Move for MatchTemplate
impl RefUnwindSafe for MatchTemplate
impl Send for MatchTemplate
impl Sync for MatchTemplate
impl Unpin for MatchTemplate
impl UnsafeUnpin for MatchTemplate
impl UnwindSafe for MatchTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more