Monado OpenXR Runtime
|
Oculus Rift S utility functions. More...
Go to the source code of this file.
Functions | |
struct t_camera_calibration | rift_s_get_cam_calib (struct rift_s_camera_calibration_block *camera_calibration, enum rift_s_camera_id cam_id) |
struct t_stereo_camera_calibration * | rift_s_create_stereo_camera_calib_rotated (struct rift_s_camera_calibration_block *camera_calibration) |
Allocate and populate an OpenCV-compatible t_stereo_camera_calibration pointer from the Rift S config. More... | |
Oculus Rift S utility functions.
struct t_stereo_camera_calibration * rift_s_create_stereo_camera_calib_rotated | ( | struct rift_s_camera_calibration_block * | camera_calibration | ) |
Allocate and populate an OpenCV-compatible t_stereo_camera_calibration pointer from the Rift S config.
This requires fitting a KB4 fisheye polynomial to the 6 radial + 2 tangential 'Fisheye62' parameters provided by the Rift S.
References T_DISTORTION_FISHEYE_KB4, and t_stereo_camera_calibration::t_stereo_camera_calibration_alloc().