Azure Kinect Sensor SDK  refs/heads/master
Documentation for

◆ k4a_transformation_create()

k4a_transformation_t k4a_transformation_create ( const k4a_calibration_t calibration)

Get handle to transformation handle.

calibrationA calibration structure obtained by k4a_device_get_calibration().
A transformation handle. A NULL is returned if creation fails.
The transformation handle is used to transform images from the coordinate system of one camera into the other. Each transformation handle requires some pre-computed resources to be allocated, which are retained until the handle is destroyed.
The transformation handle must be destroyed with k4a_transformation_destroy() when it is no longer to be used.