ColorReconstruction Class

Encapsulates reconstruction volume creation, updating, and meshing functions with color.

public ref class ColorReconstruction sealed

ColorReconstruction has the following members.

NameDescription
ColorReconstructionOverloaded. Initializes a new instnce of the ColorReconstruction class.

NameDescription
AlignDepthFloatFrameToReconstructionAligns a depth float image to the reconstruction volume to calculate the new camera pose.
AlignPointCloudsAligns 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 array of Kinect depth pixels to a DepthFloatFrame object.
ExportVolumeBlockExports a part or all of the reconstruction volume as a short array.
GetCurrentWorldToCameraTransformRetrieves the current internal world-to-camera transform (camera view pose).
GetCurrentWorldToVolumeTransformGets the current internal world-to-volume transform.
ImportVolumeBlockImports a reconstruction volume as a buffer of shorts, with color as an integer buffer.
IntegrateFrame Integrates depth float data and color data into the reconstruction volume from the specified camera pose.
ProcessFrame Processes the specified depth frame and color frame through the Kinect Fusion pipeline.
ResetReconstructionClears the reconstruction volume and sets a new world-to-camera transform (camera view pose).
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.
Dn799303.note(en-us,IEB.10).gifNote
You should call this method only if you are not using the default tracking behavior of Kinect Fusion.
SmoothDepthFloatFrameSpatially smoothes a depth float image frame using edge-preserving filtering.

Dn799303.note(en-us,IEB.10).gifImportant
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.

Namespace: Microsoft.Kinect.Fusion
Metadata: microsoft.kinect.fusion.winmd

Community Additions

ADD
Show: