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

◆ convert_2d_to_3d()

bool k4a::calibration::convert_2d_to_3d ( const k4a_float2_t source_point2d,
float  source_depth,
k4a_calibration_type_t  source_camera,
k4a_calibration_type_t  target_camera,
k4a_float3_t target_point3d 
) const
inline

Transform a 2d pixel coordinate with an associated depth value of the source camera into a 3d point of the target coordinate system.

Returns false if the point is invalid in the target coordinate system (and therefore target_point3d should not be used) Throws error if calibration contains invalid data.

See also
k4a_calibration_2d_to_3d