Share via


Reconstruction Class

Reconstruction encapsulates reconstruction volume creation updating and meshing functions.

Syntax

public ref class Reconstruction sealed
public sealed class Reconstruction
var reconstruction = Microsoft.Kinect.Fusion.Reconstruction;

Members

Reconstruction has the following members.

Constructors

Name Description
Reconstruction Overloaded. Initializes a new instance of the Reconstruction class.

Methods

Name Description
AlignDepthFloatFrameToReconstruction Aligns a depth float image to the reconstruction volume to calculate the new camera pose.
AlignPointClouds Aligns two sets of overlapping oriented point clouds and calculates the camera's relative pose.
CalculateMesh Exports a polygon mesh of the zero-crossing dense surfaces from the reconstruction volume with per-vertex color.
CalculatePointCloud Calculates a point cloud by raycasting into the reconstruction volume, returning the point cloud containing 3D points and normals of the zero-crossing dense surface at every visible pixel in the image from the specified camera pose and color visualization image.
CalculatePointCloudAndDepth Calculates a point cloud by raycasting into the reconstruction volume, returning the point cloud containing 3D points and normals of the zero-crossing dense surface at every visible pixel in the image from the specified camera pose, color visualization image, and the depth to the surface.
DepthToDepthFloatFrame Converts the specified buffer of Kinect depth pixels to a DepthFloatFrame object.
ExportVolumeBlock Exports a part or all of the reconstruction volume as a buffer of shorts.
GetCurrentWorldToCameraTransform Retrieves the current internal world-to-camera transform (camera view pose).
GetCurrentWorldToVolumeTransform Get current internal world-to-volume transform.
ImportVolumeBlock Imports a reconstruction volume as a short array.
IntegrateFrame Integrates depth float data into the reconstruction volume from the passed camera pose.
ProcessFrame A high-level function to process a depth frame through the Kinect Fusion pipeline.
ResetReconstruction Clear the reconstruction volume, and set a world-to-camera transform (camera view pose) and a world-to-volume transform.
SetAlignDepthFloatToReconstructionReferenceFrame Sets a reference depth frame that is used internally to help with tracking when calling the AlignDepthFloatFrameToReconstruction method to calculate a new camera pose.
Note
You should call this method only if you are not using the default tracking behavior of Kinect Fusion.
SmoothDepthFloatFrame Spatially smoothes a depth float image frame using edge-preserving filtering.

Remarks

Important

When passing frames with a resolution that differs from that of the frames that were previously passed to the reconstruction volume, call the ResetReconstruction method before processing the frames with the new resolution. Failure to reset the volume can result in camera tracking failure and erroneous volume data.

Requirements

Namespace: Microsoft.Kinect.Fusion

Metadata: microsoft.kinect.fusion.winmd

See also

Reference

Microsoft.Kinect.Fusion Namespace