#[repr(C)]pub enum TemplateMatchModes {
TM_SQDIFF = 0,
TM_SQDIFF_NORMED = 1,
TM_CCORR = 2,
TM_CCORR_NORMED = 3,
TM_CCOEFF = 4,
TM_CCOEFF_NORMED = 5,
}
Expand description
type of the template matching operation
Variants§
TM_SQDIFF = 0
!<
with mask:
TM_SQDIFF_NORMED = 1
!<
with mask:
TM_CCORR = 2
!<
with mask:
TM_CCORR_NORMED = 3
!<
with mask:
TM_CCOEFF = 4
!<
where
with mask:
TM_CCOEFF_NORMED = 5
!<
Trait Implementations§
Source§impl Clone for TemplateMatchModes
impl Clone for TemplateMatchModes
Source§fn clone(&self) -> TemplateMatchModes
fn clone(&self) -> TemplateMatchModes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TemplateMatchModes
impl Debug for TemplateMatchModes
Source§impl From<TemplateMatchModes> for i32
impl From<TemplateMatchModes> for i32
Source§fn from(v: TemplateMatchModes) -> Self
fn from(v: TemplateMatchModes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TemplateMatchModes
impl PartialEq for TemplateMatchModes
Source§impl TryFrom<i32> for TemplateMatchModes
impl TryFrom<i32> for TemplateMatchModes
impl Copy for TemplateMatchModes
impl Eq for TemplateMatchModes
impl StructuralPartialEq for TemplateMatchModes
Auto Trait Implementations§
impl Freeze for TemplateMatchModes
impl RefUnwindSafe for TemplateMatchModes
impl Send for TemplateMatchModes
impl Sync for TemplateMatchModes
impl Unpin for TemplateMatchModes
impl UnwindSafe for TemplateMatchModes
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