Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Obsolete starting with version 1.6; replaced by the CoordinateMapper.MapDepthPointToSkeletonPoint method. In versions prior to 1.6, this method maps a coordinate (depthX, depthY) and depth value to a skeleton point.
Syntax
public SkeletonPoint MapDepthToSkeletonPoint (
DepthImageFormat depthImageFormat,
int depthX,
int depthY,
short depthPixelValue
)
'Declaration
Public Function MapDepthToSkeletonPoint ( _
depthImageFormat As DepthImageFormat, _
depthX As Integer, _
depthY As Integer, _
depthPixelValue As Short _
) As SkeletonPoint
Parameters
- depthImageFormat
Type: DepthImageFormat
The format to use in the conversion. - depthX
Type: Int32
The x-coordinate of the depth frame. - depthY
Type: Int32
The y-coordinate of the depth frame. - depthPixelValue
Type: Int16
The value from the depth frame's pixel data at the given coordinate (depthX, depthY).
Return Value
Type: SkeletonPoint
The SkeletonPoint The skeleton point for the given position (x, y), depth and format.
Remarks
This method performs a mapping from depth space to the same 3D space the skeleton data is described in. The coordinate and depth values may come from the depth frame or artificial values can be used.
There is a known issue with calling this method when the sensor is stopped or disconnected.
Requirements
Namespace: Microsoft.Kinect
Assembly: Microsoft.Kinect (in microsoft.kinect.dll)
See Also
Reference
KinectSensor Class
KinectSensor Members
Microsoft.Kinect Namespace