ICoordinateMapper::MapDepthFrameToColorSpace Method
Uses the depth frame data to map the entire frame from depth space to color space.
Syntax
public:
HRESULT MapDepthFrameToColorSpace(
UINT depthPointCount,
const UINT16 *depthFrameData,
UINT colorPointCount,
ColorSpacePoint *colorSpacePoints
)
Parameters
- depthPointCount
Type: UINT
The number of depth points. - depthFrameData
Type: UINT16
[in] The full image data from a depth frame. - colorPointCount
Type: UINT
The number of color points. - colorSpacePoints
Type: ColorSpacePoint
[out] The array of mapped color points that will be filled.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib