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
Constant methods for crate::rgbd::LineMod_QuantizedPyramid
Required Methods§
fn as_raw_LineMod_QuantizedPyramid(&self) -> *const c_void
Provided Methods§
sourcefn quantize(&self, dst: &mut impl MatTrait) -> Result<()>
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.
sourcefn extract_template(
&self,
templ: &mut impl LineMod_TemplateTrait,
) -> Result<bool>
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.