CoordinateMapper.MapColorFrameToDepthSpace Method

Maps a frame from color space to depth space.

Syntax

public:
void MapColorFrameToDepthSpace(
         Array<uint16>^ depthFrameData,
         out Array<DepthSpacePoint>^ depthSpacePoints
)  

Parameters

depthFrameData
Type: uint16 

 The depth frame data.

depthSpacePoints
Type: DepthSpacePoint 

The mapped array of points in depth space.

Remarks

Allocate the depthSpacePoints array before calling this method. It should have the same number of elements as the color frame has pixels (1920px by 1080px). Each entry in the filled depthSpacePoints array contains the depth point to which the corresponding pixel belongs.

Requirements

Namespace: Windows.Kinect

Metadata: windows.winmd

See also

Reference

CoordinateMapper Class

CoordinateMapper Members

Windows.Kinect Namespace