Table of Contents

Method DepthTo3dSparse

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

DepthTo3dSparse(InputArray, InputArray, InputArray, OutputArray)

Converts the specified sparse depth coordinates to 3d points.

public static void DepthTo3dSparse(InputArray depth, InputArray inK, InputArray inPoints, OutputArray points3d)

Parameters

depth InputArray

the depth image.

inK InputArray

the calibration matrix.

inPoints InputArray

the list of xy coordinates.

points3d OutputArray

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