[][src]Enum arrayfire::MatchType

#[repr(u32)]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]

impl Copy for MatchType[src]

impl Debug for MatchType[src]

impl From<u32> for MatchType[src]

impl PartialEq<MatchType> for MatchType[src]

impl StructuralPartialEq for MatchType[src]

Auto Trait Implementations

impl RefUnwindSafe for MatchType

impl Send for MatchType

impl Sync for MatchType

impl Unpin for MatchType

impl UnwindSafe for MatchType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.