CoordinateMapper.MapDepthPointToColorSpace Method

Maps a point/depth from depth space to color space.

Syntax

public:
ColorSpacePoint MapDepthPointToColorSpace(
         DepthSpacePoint depthPoint,
         uint16 depth
)
public ColorSpacePoint MapDepthPointToColorSpace (
         DepthSpacePoint depthPoint,
         UInt16 depth
)
var colorSpacePoint = coordinateMapper.mapDepthPointToColorSpace(depthPoint, depth);

Parameters

  • depthPoint
    Type: DepthSpacePoint
    The depth value at this point.

  • depth

    [C++] 
    [C#] 
    [JavaScript] 

    Type: uint16
    Type: UInt16
    Type: Number

     

    The depth value at this point.

Return value

Type: ColorSpacePoint
The mapped to camera space.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

CoordinateMapper Class
WindowsPreview.Kinect Namespace