Trait opencv::hub_prelude::TransientAreasSegmentationModuleConst[][src]

pub trait TransientAreasSegmentationModuleConst: AlgorithmTraitConst {
    fn as_raw_TransientAreasSegmentationModule(&self) -> *const c_void;

    fn write(&self, fs: &str) -> Result<()> { ... }
fn write_to_storage(&self, fs: &mut FileStorage) -> Result<()> { ... } }
Expand description

class which provides a transient/moving areas segmentation module

perform a locally adapted segmentation by using the retina magno input data Based on Alexandre BENOIT thesis: “Le système visuel humain au secours de la vision par ordinateur”

3 spatio temporal filters are used:

  • a first one which filters the noise and local variations of the input motion energy
  • a second (more powerfull low pass spatial filter) which gives the neighborhood motion energy the segmentation consists in the comparison of these both outputs, if the local motion energy is higher to the neighborhood otion energy, then the area is considered as moving and is segmented
  • a stronger third low pass filter helps decision by providing a smooth information about the “motion context” in a wider area

Required methods

Provided methods

write xml/yml formated parameters information

Parameters
  • fs: : the filename of the xml file that will be open and writen with formatted parameters information

write xml/yml formated parameters information

Parameters
  • fs: : a cv::Filestorage object ready to be filled

Implementors