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

◆ TransformTo2D() [1/2]

Vector2 Microsoft.Azure.Kinect.Sensor.Calibration.TransformTo2D ( Vector2  sourcePoint2D,
float  sourceDepth,
CalibrationDeviceType  sourceCamera,
CalibrationDeviceType  targetCamera 
)
inline

Transform a 2D pixel coordinate with an associated depth value of the source camera into a 2D pixel coordinate of the target camera.

Parameters
sourcePoint2DThe 2D pixel sourceCamera coordinates.
sourceDepthThe depth of sourcePoint2D in millimeters.
sourceCameraThe current camera.
targetCameraThe target camera.
Returns
The 2D pixel in targetCamera coordinates, or null if the source point is not valid in the target coordinate system.