Trait opencv::prelude::Linemod_ModalityConst
source · pub trait Linemod_ModalityConst {
// Required method
fn as_raw_Linemod_Modality(&self) -> *const c_void;
// Provided methods
fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>> { ... }
fn name(&self) -> Result<String> { ... }
fn write(&self, fs: &mut FileStorage) -> Result<()> { ... }
}Expand description
Constant methods for crate::rgbd::Linemod_Modality
Required Methods§
fn as_raw_Linemod_Modality(&self) -> *const c_void
Provided Methods§
sourcefn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
fn process( &self, src: &Mat, mask: &Mat ) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image.
\param[in] src The source image. Type depends on the modality. \param[in] mask Optional mask. If not empty, unmasked pixels are set to zero in quantized image and cannot be extracted as features.
C++ default parameters
- mask: Mat()