CoordinateMapper.MapColorFrameToDepthSpace Method

Maps a frame from color space to depth space.

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

Parameters

depthFrameData
[C++] 
[C#] 
[JavaScript] 
Type: uint16
Type: UInt16
Type: Number
 
The depth frame data.
depthSpacePoints
Type: DepthSpacePoint
The mapped array of points in depth space.

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.

Namespace: WindowsPreview.Kinect
Metadata: windowspreview.kinect.winmd

Community Additions

ADD
Show: