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

◆ convert_3d_to_2d()

bool k4a::calibration::convert_3d_to_2d ( const k4a_float3_t source_point3d,
k4a_calibration_type_t  source_camera,
k4a_calibration_type_t  target_camera,
k4a_float2_t target_point2d 
) const
inline

Transform a 3d point of a source coordinate system 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_3d_to_2d