pub trait RgbdNormalsTraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_RgbdNormals(&self) -> *const c_void;

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

Constant methods for crate::rgbd::RgbdNormals

Required Methods§

Provided Methods§

source

fn apply( &self, points: &impl ToInputArray, normals: &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
  • normals: a rows x cols x 3 matrix
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_rows(&self) -> Result<i32>

source

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

source

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

source

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

source

fn get_k(&self) -> Result<Mat>

source

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

Implementors§