Trait opencv::hub_prelude::TBMRConst[][src]

pub trait TBMRConst: AffineFeature2DConst {
    fn as_raw_TBMR(&self) -> *const c_void;

    fn get_min_area(&self) -> Result<i32> { ... }
fn get_max_area_relative(&self) -> Result<f32> { ... }
fn get_scale_factor(&self) -> Result<f32> { ... }
fn get_n_scales(&self) -> Result<i32> { ... } }
Expand description

Class implementing the Tree Based Morse Regions (TBMR) as described in Najman2014 extended with scaled extraction ability.

Parameters

  • min_area: prune areas smaller than minArea
  • max_area_relative: prune areas bigger than maxArea = max_area_relative * input_image_size
  • scale_factor: scale factor for scaled extraction.
  • n_scales: number of applications of the scale factor (octaves).

Note: This algorithm is based on Component Tree (Min/Max) as well as MSER but uses a Morse-theory approach to extract features.

Features are ellipses (similar to MSER, however a MSER feature can never be a TBMR feature and vice versa).

Required methods

Provided methods

Implementors