Struct cv::features2d::MSER[][src]

pub struct MSER { /* fields omitted */ }

Maximally stable extremal region extractor.

Implementations

impl MSER[src]

pub fn new(
    delta: c_int,
    min_area: c_int,
    max_area: c_int,
    max_variation: f64,
    min_diversity: f64,
    max_evolution: c_int,
    area_threshold: f64,
    min_margin: f64,
    edge_blur_size: c_int
) -> Self
[src]

Creates a new maximally stable extremal region extractor criteria.

pub fn detect_regions(&self, image: &Mat) -> (Vec<Vec<Point2i>>, Vec<Rect>)[src]

Detect MSER regions.

Trait Implementations

impl Debug for MSER[src]

impl Drop for MSER[src]

impl Into<MSER> for MSERBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for MSER

impl !Send for MSER

impl !Sync for MSER

impl Unpin for MSER

impl UnwindSafe for MSER

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, 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.