pub enum AutoThreshold {
Otsu,
Triangle,
}Expand description
Histogram-driven threshold selection used by threshold_auto.
Variants§
Otsu
Maximize between-class variance following THRESH_OTSU.
Triangle
Maximum-distance triangle construction following THRESH_TRIANGLE.
Trait Implementations§
Source§impl Clone for AutoThreshold
impl Clone for AutoThreshold
impl Copy for AutoThreshold
Source§impl Debug for AutoThreshold
impl Debug for AutoThreshold
Source§impl Default for AutoThreshold
impl Default for AutoThreshold
impl Eq for AutoThreshold
Source§impl PartialEq for AutoThreshold
impl PartialEq for AutoThreshold
impl StructuralPartialEq for AutoThreshold
Auto Trait Implementations§
impl Forget for AutoThreshold
impl Freeze for AutoThreshold
impl Move for AutoThreshold
impl RefUnwindSafe for AutoThreshold
impl Send for AutoThreshold
impl Sync for AutoThreshold
impl Unpin for AutoThreshold
impl UnsafeUnpin for AutoThreshold
impl UnwindSafe for AutoThreshold
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more