Method DepthTo3d
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DepthTo3d(InputArray, InputArray, OutputArray, InputArray)
Converts a depth image to 3d points.
public static void DepthTo3d(InputArray depth, InputArray K, OutputArray points3d, InputArray mask = default)
Parameters
depthInputArraythe depth image.
KInputArraythe calibration matrix.
points3dOutputArraythe resulting 3d points (point is represented by 4 channels value [x, y, z, 0]).
maskInputArraythe mask of the points to consider (can be empty).