Trait opencv::features2d::MSERConst
source · [−]pub trait MSERConst: Feature2DTraitConst {
fn as_raw_MSER(&self) -> *const c_void;
fn get_delta(&self) -> Result<i32> { ... }
fn get_min_area(&self) -> Result<i32> { ... }
fn get_max_area(&self) -> Result<i32> { ... }
fn get_pass2_only(&self) -> Result<bool> { ... }
fn get_default_name(&self) -> Result<String> { ... }
}
Expand description
Maximally stable extremal region extractor
The class encapsulates all the parameters of the %MSER extraction algorithm (see wiki article).
-
there are two different implementation of %MSER: one for grey image, one for color image
-
the grey image algorithm is taken from: nister2008linear ; the paper claims to be faster than union-find method; it actually get 1.5~2m/s on my centrino L7200 1.2GHz laptop.
-
the color image algorithm is taken from: forssen2007maximally ; it should be much slower than grey image method ( 3~4 times )
-
(Python) A complete example showing the use of the %MSER detector can be found at samples/python/mser.py