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
rowsintthe number of rows of the depth image normals will be computed on.
colsintthe number of cols of the depth image normals will be computed on.
depthintthe depth of the normals (only CV_32F or CV_64F).
KInputArraythe calibration matrix to use.
windowSizeintthe window size to compute the normals: can only be 1, 3, 5 or 7.
diffThresholdfloatthreshold in depth difference, used in LINEMOD algorithm.
methodRgbdNormalsMethodone of the methods to use.