Enum opencv::imgproc::ThresholdTypes
source · [−]#[repr(C)]
pub enum ThresholdTypes {
THRESH_BINARY,
THRESH_BINARY_INV,
THRESH_TRUNC,
THRESH_TOZERO,
THRESH_TOZERO_INV,
THRESH_MASK,
THRESH_OTSU,
THRESH_TRIANGLE,
}Expand description
type of the threshold operation

Variants
THRESH_BINARY
THRESH_BINARY_INV
THRESH_TRUNC
THRESH_TOZERO
THRESH_TOZERO_INV
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
sourceimpl Clone for ThresholdTypes
impl Clone for ThresholdTypes
sourcefn clone(&self) -> ThresholdTypes
fn clone(&self) -> ThresholdTypes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ThresholdTypes
impl Debug for ThresholdTypes
sourceimpl PartialEq<ThresholdTypes> for ThresholdTypes
impl PartialEq<ThresholdTypes> for ThresholdTypes
sourcefn eq(&self, other: &ThresholdTypes) -> bool
fn eq(&self, other: &ThresholdTypes) -> bool
impl Copy for ThresholdTypes
impl Eq for ThresholdTypes
impl StructuralEq for ThresholdTypes
impl StructuralPartialEq for ThresholdTypes
Auto Trait Implementations
impl RefUnwindSafe for ThresholdTypes
impl Send for ThresholdTypes
impl Sync for ThresholdTypes
impl Unpin for ThresholdTypes
impl UnwindSafe for ThresholdTypes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more