opencv::hub_prelude

Trait DepthCleanerTraitConst

source
pub trait DepthCleanerTraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_DepthCleaner(&self) -> *const c_void;

    // Provided methods
    fn apply(
        &self,
        points: &impl ToInputArray,
        depth: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn initialize(&self) -> Result<()> { ... }
    fn get_window_size(&self) -> Result<i32> { ... }
    fn get_depth(&self) -> Result<i32> { ... }
    fn get_method(&self) -> Result<i32> { ... }
}
Expand description

Constant methods for crate::rgbd::DepthCleaner

Required Methods§

Provided Methods§

source

fn apply( &self, points: &impl ToInputArray, depth: &mut impl ToOutputArray, ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point.

§Parameters
  • points: a rows x cols x 3 matrix of CV_32F/CV64F or a rows x cols x 1 CV_U16S
  • depth: a rows x cols matrix of the cleaned up depth
source

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed

source

fn get_window_size(&self) -> Result<i32>

source

fn get_depth(&self) -> Result<i32>

source

fn get_method(&self) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§