Table of Contents

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

depth InputArray

the depth image.

K InputArray

the calibration matrix.

points3d OutputArray

the resulting 3d points (point is represented by 4 channels value [x, y, z, 0]).

mask InputArray

the mask of the points to consider (can be empty).