Share via


CoordinateMapper.MapDepthFrameToSkeletonFrame Method

Kinect for Windows 1.6, 1.7, 1.8

Maps a frame from depth space to skeleton space.

Syntax

public void MapDepthFrameToSkeletonFrame (
         DepthImageFormat depthImageFormat,
         DepthImagePixel[] depthPixels,
         SkeletonPoint[] skeletonPoints
)

Parameters

  • depthImageFormat
    Type: DepthImageFormat
    The depth space format.
  • depthPixels
    Type: DepthImagePixel
    The depth frame pixel data from CopyDepthImagePixelDataTo. Must be equal in length to Width*Height of the depth format specified by depthImageFormat.
  • skeletonPoints
    Type: SkeletonPoint
    The SkeletonPoint array to receive the data. Must be equal in length to Width*Height of the depth format specified by depthImageFormat.

Remarks

Maps the entire depth frame to skeleton space. Each element will be the result of mapping the corresponding DepthImagePixel from the specified depth frame into skeleton space. Each element will be equal in length to the number of depth pixels. Any depth pixel without a corresponding skeleton point will result in a sentinel value. The resulting SkeletonPoints can be tested by calling IsKnownPoint.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

CoordinateMapper Class
CoordinateMapper Members
Microsoft.Kinect Namespace