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

◆ TransformTo3D() [1/2]

Vector3 Microsoft.Azure.Kinect.Sensor.Calibration.TransformTo3D ( 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 3D point of the target coordinate system.

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