ICoordinateMapper::MapDepthFrameToCameraSpace Method
Uses the depth frame data to map the entire frame from depth space to camera space.
Syntax
public:
HRESULT MapDepthFrameToCameraSpace(
UINT depthPointCount,
const UINT16 *depthFrameData,
UINT cameraPointCount,
CameraSpacePoint *cameraSpacePoints
)
Parameters
- depthPointCount
Type: UINT
The number of depth points. - depthFrameData
Type: UINT16
[in] The full image data from a depth frame. - cameraPointCount
Type: UINT
The number of camera points. - cameraSpacePoints
Type: CameraSpacePoint
[out] The points mapped to camera space 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