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

◆ convert_color_2d_to_depth_2d()

bool k4a::calibration::convert_color_2d_to_depth_2d ( const k4a_float2_t source_point2d,
const image depth_image,
k4a_float2_t target_point2d 
) const
inline

Transform a 2D pixel coordinate from color camera into a 2D pixel coordinate of the depth camera.

This function searches along an epipolar line in the depth image to find the corresponding depth pixel. 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_color_2d_to_depth_2d