Enum arrayfire::MatchType
[−]
[src]
#[repr(C)]pub enum MatchType { SAD, ZSAD, LSAD, SSD, ZSSD, LSSD, NCC, ZNCC, SHD, }
Error metric used by matchTemplate
function
Variants
SAD
Sum of Absolute Differences
ZSAD
Zero-mean Sum of Absolute Differences
LSAD
Locally scaled Sum of Absolute Differences
SSD
Sum of Squared Differences
ZSSD
Zero-mean Sum of Squared Differences
LSSD
Localy scaled Sum of Squared Differences
NCC
Normalized Cross Correlation
ZNCC
Zero-mean Normalized Cross Correlation
SHD
Sum of Hamming Distances
Trait Implementations
impl Clone for MatchType
[src]
fn clone(&self) -> MatchType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for MatchType
[src]
impl Debug for MatchType
[src]
impl PartialEq for MatchType
[src]
fn eq(&self, __arg_0: &MatchType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.