Struct opencv::video::BackgroundSubtractorMOG
[−]
[src]
pub struct BackgroundSubtractorMOG { pub ptr: *mut c_void, }
Fields
ptr |
Methods
impl BackgroundSubtractorMOG
fn as_raw_BackgroundSubtractorMOG(&self) -> *mut c_void
impl BackgroundSubtractorMOG
fn default() -> Result<BackgroundSubtractorMOG, String>
the default constructor
fn new(history: i32, nmixtures: i32, backgroundRatio: f64, noiseSigma: f64) -> Result<BackgroundSubtractorMOG, String>
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
default value for arguments: - noiseSigma: default 0
fn initialize(&mut self, frameSize: Size, frameType: i32) -> Result<(), String>
re-initiaization method