[][src]Trait opencv::saliency::prelude::MotionSaliencyBinWangApr2014Trait

pub trait MotionSaliencyBinWangApr2014Trait: MotionSaliency {
    pub fn as_raw_MotionSaliencyBinWangApr2014(&self) -> *const c_void;
pub fn as_raw_mut_MotionSaliencyBinWangApr2014(&mut self) -> *mut c_void; pub fn compute_saliency(
        &mut self,
        image: &dyn ToInputArray,
        saliency_map: &mut dyn ToOutputArray
    ) -> Result<bool> { ... }
pub fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()> { ... }
pub fn init(&mut self) -> Result<bool> { ... }
pub fn get_image_width(&self) -> Result<i32> { ... }
pub fn set_image_width(&mut self, val: i32) -> Result<()> { ... }
pub fn get_image_height(&self) -> Result<i32> { ... }
pub fn set_image_height(&mut self, val: i32) -> Result<()> { ... } }

!

  • A Fast Self-tuning Background Subtraction Algorithm.
  • This background subtraction algorithm is inspired to the work of B. Wang and P. Dudek [2]
  • [2] B. Wang and P. Dudek "A Fast Self-tuning Background Subtraction Algorithm", in proc of IEEE Workshop on Change Detection, 2014

the Fast Self-tuning Background Subtraction Algorithm from BinWangApr2014

Required methods

Loading content...

Provided methods

pub fn compute_saliency(
    &mut self,
    image: &dyn ToInputArray,
    saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
[src]

pub fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()>[src]

This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.

Parameters

  • W: width of input image
  • H: height of input image

pub fn init(&mut self) -> Result<bool>[src]

This function allows the correct initialization of all data structures that will be used by the algorithm.

pub fn get_image_width(&self) -> Result<i32>[src]

pub fn set_image_width(&mut self, val: i32) -> Result<()>[src]

pub fn get_image_height(&self) -> Result<i32>[src]

pub fn set_image_height(&mut self, val: i32) -> Result<()>[src]

Loading content...

Implementors

Loading content...