Struct opencv::rgbd::RgbdNormals [−][src]
pub struct RgbdNormals { /* fields omitted */ }
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
pub fn new(
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<RgbdNormals>
pub fn new(
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<RgbdNormals>
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
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage 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). Read more
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. Read more
Performs the conversion.
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 Read more