Export (0) Print
Expand All

DepthImageFrame.MapToColorImagePoint Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Obsolete starting with version 1.6; replaced by the CoordinateMapper.MapDepthPointToColorPoint Method. In versions prior to 1.6, this method maps a depth coordinate to a color coordinate.

public ColorImagePoint MapToColorImagePoint (
         int depthX,
         int depthY,
         ColorImageFormat colorImageFormat
)

Parameters

depthX
Type: Int32
The x-coordinate of the depth frame.
depthY
Type: Int32
The y-coordinate of the depth frame.
colorImageFormat
Type: ColorImageFormat
The color format.

Return Value

Type: ColorImagePoint
An ImagePoint that contains the x, y locations in the color frame.

There is a known issue with calling this method when the sensor is stopped or disconnected.

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

Community Additions

ADD
Show:
© 2014 Microsoft