Trait BackgroundSubtractorCNTTraitConst

Source
pub trait BackgroundSubtractorCNTTraitConst: BackgroundSubtractorTraitConst {
    // Required method
    fn as_raw_BackgroundSubtractorCNT(&self) -> *const c_void;

    // Provided methods
    fn get_background_image(
        &self,
        background_image: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn get_min_pixel_stability(&self) -> Result<i32> { ... }
    fn get_max_pixel_stability(&self) -> Result<i32> { ... }
    fn get_use_history(&self) -> Result<bool> { ... }
    fn get_is_parallel(&self) -> Result<bool> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn get_background_image( &self, background_image: &mut impl ToOutputArray, ) -> Result<()>

Source

fn get_min_pixel_stability(&self) -> Result<i32>

Returns number of frames with same pixel color to consider stable.

Source

fn get_max_pixel_stability(&self) -> Result<i32>

Returns maximum allowed credit for a pixel in history.

Source

fn get_use_history(&self) -> Result<bool>

Returns if we’re giving a pixel credit for being stable for a long time.

Source

fn get_is_parallel(&self) -> Result<bool>

Returns if we’re parallelizing the algorithm.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§