[][src]Trait opencv::rgbd::prelude::Linemod_QuantizedPyramid

pub trait Linemod_QuantizedPyramid {
    pub fn as_raw_Linemod_QuantizedPyramid(&self) -> *const c_void;
pub fn as_raw_mut_Linemod_QuantizedPyramid(&mut self) -> *mut c_void; pub fn quantize(&self, dst: &mut Mat) -> Result<()> { ... }
pub fn extract_template(&self, templ: &mut Linemod_Template) -> Result<bool> { ... }
pub fn pyr_down(&mut self) -> Result<()> { ... } }

\brief Represents a modality operating over an image pyramid.

Required methods

Loading content...

Provided methods

pub fn quantize(&self, dst: &mut Mat) -> Result<()>[src]

\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.

pub fn extract_template(&self, templ: &mut Linemod_Template) -> Result<bool>[src]

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

\param[out] templ The new template.

pub fn pyr_down(&mut self) -> Result<()>[src]

\brief Go to the next pyramid level.

\todo Allow pyramid scale factor other than 2

Loading content...

Implementors

Loading content...