Enum cv::core::NormType[][src]

#[repr(C)]pub enum NormType {
    Inf,
    L1,
    L2,
    L2Sqr,
    Hamming,
    Hamming2,
    Relative,
    MinMax,
}

Normalization type. Please refer to OpenCV’s documentation.

Variants

Inf

Normalized using max

L1

Normalized using L1 distance

L2

Normalized using L2 distance

L2Sqr

Normalized using L2 sqr distance

Hamming

Normalized using hamming distance

Hamming2

Normalized using hamming2 distance

Relative

Normalized using relative distance

MinMax

Normalized using minmax distance

Trait Implementations

impl Clone for NormType[src]

impl Copy for NormType[src]

impl Debug for NormType[src]

impl Eq for NormType[src]

impl Hash for NormType[src]

impl PartialEq<NormType> for NormType[src]

impl StructuralEq for NormType[src]

impl StructuralPartialEq for NormType[src]

Auto Trait Implementations

impl RefUnwindSafe for NormType

impl Send for NormType

impl Sync for NormType

impl Unpin for NormType

impl UnwindSafe for NormType

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.