ICoordinateMapper::MapCameraPointsToDepthSpace Method

Maps an array of points from camera space to depth space.

Syntax

public:
HRESULT MapCameraPointsToDepthSpace(
         UINT cameraPointCount,
         const CameraSpacePoint *cameraPoints,
         UINT depthPointCount,
         DepthSpacePoint *depthPoints
)

Parameters

  • cameraPointCount
    Type: UINT
    The number of camera points.
  • cameraPoints
    Type: CameraSpacePoint
    [in] The points to map from camera space.
  • depthPointCount
    Type: UINT
    The number of depth points.
  • depthPoints
    Type: DepthSpacePoint
    [out] The points mapped to depth 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