pub trait CUDA_BackgroundSubtractorMOGTraitConst: BackgroundSubtractorTraitConst {
// Required method
fn as_raw_CUDA_BackgroundSubtractorMOG(&self) -> *const c_void;
// Provided methods
fn get_background_image(
&self,
background_image: &mut impl ToOutputArray,
stream: &mut impl StreamTrait,
) -> Result<()> { ... }
fn get_history(&self) -> Result<i32> { ... }
fn get_n_mixtures(&self) -> Result<i32> { ... }
fn get_background_ratio(&self) -> Result<f64> { ... }
fn get_noise_sigma(&self) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::cudabgsegm::CUDA_BackgroundSubtractorMOG
Required Methods§
fn as_raw_CUDA_BackgroundSubtractorMOG(&self) -> *const c_void
Provided Methods§
fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait, ) -> Result<()>
fn get_history(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
fn get_background_ratio(&self) -> Result<f64>
fn get_noise_sigma(&self) -> Result<f64>
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.