Trait opencv::prelude::BackgroundSubtractorGMG[][src]

pub trait BackgroundSubtractorGMG: BackgroundSubtractorGMGConst + BackgroundSubtractor {
    fn as_raw_mut_BackgroundSubtractorGMG(&mut self) -> *mut c_void;

    fn set_max_features(&mut self, max_features: i32) -> Result<()> { ... }
fn set_default_learning_rate(&mut self, lr: f64) -> Result<()> { ... }
fn set_num_frames(&mut self, nframes: i32) -> Result<()> { ... }
fn set_quantization_levels(&mut self, nlevels: i32) -> Result<()> { ... }
fn set_background_prior(&mut self, bgprior: f64) -> Result<()> { ... }
fn set_smoothing_radius(&mut self, radius: i32) -> Result<()> { ... }
fn set_decision_threshold(&mut self, thresh: f64) -> Result<()> { ... }
fn set_update_background_model(&mut self, update: bool) -> Result<()> { ... }
fn set_min_val(&mut self, val: f64) -> Result<()> { ... }
fn set_max_val(&mut self, val: f64) -> Result<()> { ... } }

Required methods

Provided methods

Sets total number of distinct colors to maintain in histogram.

Sets the learning rate of the algorithm.

Sets the number of frames used to initialize background model.

Sets the parameter used for quantization of color-space

Sets the prior probability that each individual pixel is a background pixel.

Sets the kernel radius used for morphological operations

Sets the value of decision threshold.

Sets the status of background model update

Sets the minimum value taken on by pixels in image sequence.

Sets the maximum value taken on by pixels in image sequence.

Implementors