NuiTransformDepthImageToSkeleton(LONG, LONG, USHORT)
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Converts a point in depth space using depth to skeleton space (in meters).
Syntax
Vector4 NuiTransformDepthImageToSkeleton(
LONG lDepthX,
LONG lDepthY,
USHORT usDepthValue
)
Parameters
- lDepthX
Type: LONG
[in] The x-coordinate of the depth pixel. - lDepthY
Type: LONG
[in] The y-coordinate of the depth pixel. - usDepthValue
Type: USHORT
[in] The depth value (in millimeters) of the depth image pixel, shifted left by three bits. The left shift enables you to pass the value from the depth image directly into this function.
Return Value
Type: Vector4
Returns the skeleton space coordinates (in meters) of the given depth image pixel.
Requirements
Header: Declared in NuiSkeleton.h; however, include NuiApi.h in your project.