Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ TransformColor2DToDepth2D()

Vector2 Microsoft.Azure.Kinect.Sensor.Calibration.TransformColor2DToDepth2D ( Vector2  sourcePoint2D,
Image  depth 
)
inline

Transform a 2D pixel coordinate from color camera into a 2D pixel coordinate of the depth camera.

Parameters
sourcePoint2DThe 2D pixel color camera coordinates.
depthThe depth image.
Returns
The 2D pixel in depth camera coordinates, or null if the source point is not valid in the depth camera coordinate system.