[][src]Enum opencv::imgproc::AdaptiveThresholdTypes

#[repr(C)]pub enum AdaptiveThresholdTypes {
    ADAPTIVE_THRESH_MEAN_C,
    ADAPTIVE_THRESH_GAUSSIAN_C,
}

adaptive threshold algorithm

See also

adaptiveThreshold

Variants

ADAPTIVE_THRESH_MEAN_C

the threshold value inline formula is a mean of the inline formula neighborhood of inline formula minus C

ADAPTIVE_THRESH_GAUSSIAN_C

the threshold value inline formula is a weighted sum (cross-correlation with a Gaussian window) of the inline formula neighborhood of inline formula minus C . The default sigma (standard deviation) is used for the specified blockSize . See #getGaussianKernel

Trait Implementations

impl Clone for AdaptiveThresholdTypes[src]

impl Copy for AdaptiveThresholdTypes[src]

impl Debug for AdaptiveThresholdTypes[src]

impl PartialEq<AdaptiveThresholdTypes> for AdaptiveThresholdTypes[src]

impl StructuralPartialEq for AdaptiveThresholdTypes[src]

Auto Trait Implementations

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.