ICoordinateMapper::MapCameraPointsToColorSpace Method

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

Syntax

public:
HRESULT MapCameraPointsToColorSpace(
         UINT cameraPointCount,
         const CameraSpacePoint *cameraPoints,
         UINT colorPointCount,
         ColorSpacePoint *colorPoints
)

Parameters

  • cameraPointCount
    Type: UINT
    The number of camera points.
  • cameraPoints
    Type: CameraSpacePoint
    [in] The points to map from camera space.
  • colorPointCount
    Type: UINT
    The number of color points.
  • colorPoints
    Type: ColorSpacePoint
    [out] The points mapped to color 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