opencv::mod_prelude

Trait LineMod_QuantizedPyramidTraitConst

source
pub trait LineMod_QuantizedPyramidTraitConst {
    // Required method
    fn as_raw_LineMod_QuantizedPyramid(&self) -> *const c_void;

    // Provided methods
    fn quantize(&self, dst: &mut impl MatTrait) -> Result<()> { ... }
    fn extract_template(
        &self,
        templ: &mut impl LineMod_TemplateTrait,
    ) -> Result<bool> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn quantize(&self, dst: &mut impl MatTrait) -> Result<()>

\brief Compute quantized image at current pyramid level for online detection.

\param[out] dst The destination 8-bit image. For each pixel at most one bit is set, representing its classification.

source

fn extract_template( &self, templ: &mut impl LineMod_TemplateTrait, ) -> Result<bool>

\brief Extract most discriminant features at current pyramid level to form a new template.

\param[out] templ The new template.

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§