[−][src]Function k4a_sys_temp::k4a_device_get_calibration
pub unsafe extern "C" fn k4a_device_get_calibration(
device_handle: k4a_device_t,
depth_mode: k4a_depth_mode_t,
color_resolution: k4a_color_resolution_t,
calibration: *mut k4a_calibration_t
) -> k4a_result_t
Get the camera calibration for the entire Azure Kinect device.
\param device_handle Handle obtained by k4a_device_open().
\param depth_mode Mode in which depth camera is operated.
\param color_resolution Resolution in which color camera is operated.
\param calibration Location to write the calibration
\returns ::K4A_RESULT_SUCCEEDED if \p calibration was successfully written. ::K4A_RESULT_FAILED otherwise.
\remarks The \p calibration represents the data needed to transform between the camera views and may be different for each operating \p depth_mode and \p color_resolution the device is configured to operate in.
\remarks The \p calibration output is used as input to all calibration and transformation functions.
\see k4a_calibration_2d_to_2d() \see k4a_calibration_2d_to_3d() \see k4a_calibration_3d_to_2d() \see k4a_calibration_3d_to_3d()
\relates k4a_device_t
\xmlonly