Table of Contents

Method Create

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Create(int, int, int, InputArray, int, float, RgbdNormalsMethod)

Creates a new RgbdNormals object.

public static RgbdNormals Create(int rows = 0, int cols = 0, int depth = 0, InputArray K = default, int windowSize = 5, float diffThreshold = 50, RgbdNormalsMethod method = RgbdNormalsMethod.RGBD_NORMALS_METHOD_FALS)

Parameters

rows int

the number of rows of the depth image normals will be computed on.

cols int

the number of cols of the depth image normals will be computed on.

depth int

the depth of the normals (only CV_32F or CV_64F).

K InputArray

the calibration matrix to use.

windowSize int

the window size to compute the normals: can only be 1, 3, 5 or 7.

diffThreshold float

threshold in depth difference, used in LINEMOD algorithm.

method RgbdNormalsMethod

one of the methods to use.

Returns

RgbdNormals