ICoordinateMapper::MapDepthPointToCameraSpace Method

Maps a point and depth from depth space to camera space.

Syntax

public:
HRESULT MapDepthPointToCameraSpace(
         DepthSpacePoint depthPoint,
         UINT16 depth,
         CameraSpacePoint *cameraPoint
)

Parameters

  • depthPoint
    Type: DepthSpacePoint
    The point to map from depth space.
  • depth
    Type: UINT16
    The depths of the points in depth space.
  • cameraPoint
    Type: CameraSpacePoint
    [out] The point mapped to camera space.

Return value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: kinect.h

Library: kinect20.lib