Struct opencv::rgbd::RgbdNormals

source ·
pub struct RgbdNormals { /* private fields */ }
Expand description

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§

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
C++ default parameters
  • window_size: 5
  • method: RgbdNormals::RGBD_NORMALS_METHOD_FALS

Trait Implementations§

Clears the algorithm state
Reads algorithm parameters from a file storage
Stores algorithm parameters in a file storage
Stores algorithm parameters in a file storage Read more
@deprecated Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Converts to this type from the input type.
Given a set of 3d points in a depth image, compute the normals at each point. Read more
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

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.