[][src]Struct opencv::rgbd::RgbdNormals

pub struct RgbdNormals { /* fields omitted */ }

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

Implementations

impl RgbdNormals[src]

impl RgbdNormals[src]

pub fn default() -> Result<RgbdNormals>[src]

pub fn new(
    rows: i32,
    cols: i32,
    depth: i32,
    k: &dyn ToInputArray,
    window_size: i32,
    method: i32
) -> Result<RgbdNormals>
[src]

Constructor

Parameters

  • rows: the number of rows of the depth image normals will be computed on
  • cols: the number of cols of the depth image normals will be computed on
  • depth: the depth of the normals (only CV_32F or CV_64F)
  • K: the calibration matrix to use
  • window_size: the window size to compute the normals: can only be 1,3,5 or 7
  • method: one of the methods to use: RGBD_NORMALS_METHOD_SRI, RGBD_NORMALS_METHOD_FALS

C++ default parameters

  • window_size: 5
  • method: RgbdNormals::RGBD_NORMALS_METHOD_FALS

pub fn create(
    rows: i32,
    cols: i32,
    depth: i32,
    k: &dyn ToInputArray,
    window_size: i32,
    method: i32
) -> Result<Ptr<RgbdNormals>>
[src]

C++ default parameters

  • window_size: 5
  • method: RgbdNormals::RGBD_NORMALS_METHOD_FALS

Trait Implementations

impl AlgorithmTrait for RgbdNormals[src]

impl Boxed for RgbdNormals[src]

impl Drop for RgbdNormals[src]

impl RgbdNormalsTrait for RgbdNormals[src]

impl Send for RgbdNormals[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.