[][src]Enum opencv::imgproc::ThresholdTypes

#[repr(C)]pub enum ThresholdTypes {
    THRESH_BINARY,
    THRESH_BINARY_INV,
    THRESH_TRUNC,
    THRESH_TOZERO,
    THRESH_TOZERO_INV,
    THRESH_MASK,
    THRESH_OTSU,
    THRESH_TRIANGLE,
}

type of the threshold operation threshold types

Variants

THRESH_BINARY

block formula

THRESH_BINARY_INV

block formula

THRESH_TRUNC

block formula

THRESH_TOZERO

block formula

THRESH_TOZERO_INV

block formula

THRESH_MASK
THRESH_OTSU

flag, use Otsu algorithm to choose the optimal threshold value

THRESH_TRIANGLE

flag, use Triangle algorithm to choose the optimal threshold value

Trait Implementations

impl Clone for ThresholdTypes[src]

impl Copy for ThresholdTypes[src]

impl Debug for ThresholdTypes[src]

impl PartialEq<ThresholdTypes> for ThresholdTypes[src]

impl StructuralPartialEq for ThresholdTypes[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.