[−][src]Trait opencv::saliency::prelude::MotionSaliencyBinWangApr2014Trait
!
- 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
pub fn as_raw_MotionSaliencyBinWangApr2014(&self) -> *const c_void
[src]
pub fn as_raw_mut_MotionSaliencyBinWangApr2014(&mut self) -> *mut c_void
[src]
Provided methods
pub fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
[src]
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
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.