![]() |
Azure Kinect Sensor SDK
refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
|
|
related |
Transforms a color image into the geometry of the depth camera.
| transformation_handle | Transformation handle. |
| depth_image | Handle to input depth image. |
| color_image | Handle to input color image. |
| transformed_color_image | Handle to output transformed color image. |
depth_image and color_image need to represent the same moment in time. The depth data will be applied to the color image to properly warp the color data to the perspective of the depth camera.depth_image must be of type K4A_IMAGE_FORMAT_DEPTH16. color_image must be of format K4A_IMAGE_FORMAT_COLOR_BGRA32.transformed_color_image image must be of format K4A_IMAGE_FORMAT_COLOR_BGRA32. transformed_color_image must have the width and height of the depth camera in the mode specified by the k4a_calibration_t used to create the transformation_handle with k4a_transformation_create().transformed_color_image should be created by the caller using k4a_image_create() or k4a_image_create_from_buffer().transformed_color_image was successfully written and K4A_RESULT_FAILED otherwise.