Table of Contents

Class KinFu

Namespace
OpenCvSharp.Rgbd
Assembly
OpenCvSharp.dll

KinectFusion implementation. Reconstructs a 3D scene in real time from a sequence of depth images, and can render the model or extract a point cloud with normals.

public class KinFu : CvPtrObject, IDisposable
Inheritance
KinFu
Implements
Inherited Members

Methods

Create(KinFuParams)

Creates a KinFu instance with the supplied parameters.

GetCloud(OutputArray, OutputArray)

Gets points and normals of the current 3D mesh. The order of points is undefined; normals correspond to points.

GetNormals(InputArray, OutputArray)

Calculates normals for the given points.

GetParams()

Gets the current parameters.

GetPoints(OutputArray)

Gets points of the current 3D mesh. The order of points is undefined.

GetPose()

Gets the current pose in voxel space, as a 4x4 homogeneous transform matrix.

Render(OutputArray)

Renders a 0-surface of the TSDF using Phong shading into a CV_8UC4 image, from the last frame's camera pose.

Render(OutputArray, InputArray)

Renders a 0-surface of the TSDF using Phong shading into a CV_8UC4 image, from the given camera pose.

Reset()

Clears the current model and resets the pose.

Update(InputArray)

Integrates the next depth frame with respect to its ICP-calculated pose. The input image is converted to CV_32F internally if it has another type.