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

◆ convert_2d_to_2d()

bool k4a::calibration::convert_2d_to_2d ( const k4a_float2_t source_point2d,
float  source_depth,
k4a_calibration_type_t  source_camera,
k4a_calibration_type_t  target_camera,
k4a_float2_t target_point2d 
) const
inline

Transform a 2d pixel coordinate with an associated depth value of the source camera into a 2d pixel coordinate of the target camera Returns false if the point is invalid in the target coordinate system (and therefore target_point2d should not be used) Throws error if calibration contains invalid data.

See also
k4a_calibration_2d_to_2d