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

◆ k4a_device_get_calibration()

k4a_result_t k4a_device_get_calibration ( k4a_device_t  device_handle,
const k4a_depth_mode_t  depth_mode,
const k4a_color_resolution_t  color_resolution,
k4a_calibration_t calibration 
)
related

Get the camera calibration for the entire Azure Kinect device.

Parameters
device_handleHandle obtained by k4a_device_open().
depth_modeMode in which depth camera is operated.
color_resolutionResolution in which color camera is operated.
calibrationLocation to write the calibration
Returns
K4A_RESULT_SUCCEEDED if calibration was successfully written. K4A_RESULT_FAILED otherwise.
Remarks
The calibration represents the data needed to transform between the camera views and may be different for each operating depth_mode and color_resolution the device is configured to operate in.
The calibration output is used as input to all calibration and transformation functions.
See also
k4a_calibration_2d_to_2d()
k4a_calibration_2d_to_3d()
k4a_calibration_3d_to_2d()
k4a_calibration_3d_to_3d()