[][src]Trait opencv::prelude::RgbdNormalsTrait

pub trait RgbdNormalsTrait: AlgorithmTrait {
    pub fn as_raw_RgbdNormals(&self) -> *const c_void;
pub fn as_raw_mut_RgbdNormals(&mut self) -> *mut c_void; pub fn initialize(&self) -> Result<()> { ... }
pub fn get_rows(&self) -> Result<i32> { ... }
pub fn set_rows(&mut self, val: i32) -> Result<()> { ... }
pub fn get_cols(&self) -> Result<i32> { ... }
pub fn set_cols(&mut self, val: i32) -> Result<()> { ... }
pub fn get_window_size(&self) -> Result<i32> { ... }
pub fn set_window_size(&mut self, val: i32) -> Result<()> { ... }
pub fn get_depth(&self) -> Result<i32> { ... }
pub fn set_depth(&mut self, val: i32) -> Result<()> { ... }
pub fn get_k(&self) -> Result<Mat> { ... }
pub fn set_k(&mut self, val: &Mat) -> Result<()> { ... }
pub fn get_method(&self) -> Result<i32> { ... }
pub fn set_method(&mut self, val: i32) -> Result<()> { ... } }

Object that can compute the normals in an image. It is an object as it can cache data for speed efficiency The implemented methods are either:

  • FALS (the fastest) and SRI from Fast and Accurate Computation of Surface Normals from Range Images by H. Badino, D. Huber, Y. Park and T. Kanade
  • the normals with bilateral filtering on a depth image from Gradient Response Maps for Real-Time Detection of Texture-Less Objects by S. Hinterstoisser, C. Cagniart, S. Ilic, P. Sturm, N. Navab, P. Fua, and V. Lepetit

Required methods

Loading content...

Provided methods

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

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

pub fn get_rows(&self) -> Result<i32>[src]

pub fn set_rows(&mut self, val: i32) -> Result<()>[src]

pub fn get_cols(&self) -> Result<i32>[src]

pub fn set_cols(&mut self, val: i32) -> Result<()>[src]

pub fn get_window_size(&self) -> Result<i32>[src]

pub fn set_window_size(&mut self, val: i32) -> Result<()>[src]

pub fn get_depth(&self) -> Result<i32>[src]

pub fn set_depth(&mut self, val: i32) -> Result<()>[src]

pub fn get_k(&self) -> Result<Mat>[src]

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

pub fn get_method(&self) -> Result<i32>[src]

pub fn set_method(&mut self, val: i32) -> Result<()>[src]

Loading content...

Implementors

impl RgbdNormalsTrait for RgbdNormals[src]

impl RgbdNormalsTrait for PtrOfRgbdNormals[src]

Loading content...