Monado OpenXR Runtime
|
Rectification maps as well as transforms for a stereo camera. More...
#include <tracking/t_calibration_opencv.hpp>
Public Member Functions | |
StereoRectificationMaps (t_stereo_camera_calibration *data) | |
Constructor - produces rectification data for a stereo camera based on calibration data. More... | |
Data Fields | |
ViewRectification | view [2] |
cv::Mat | disparity_to_depth_mat = {} |
Disparity and position to camera world coordinates. More... | |
Rectification maps as well as transforms for a stereo camera.
Computed in the constructor from saved calibration data.
StereoRectificationMaps::StereoRectificationMaps | ( | t_stereo_camera_calibration * | data | ) |
Constructor - produces rectification data for a stereo camera based on calibration data.
References calibration_get_undistort_map(), StereoCameraCalibrationWrapper::camera_rotation_mat, StereoCameraCalibrationWrapper::camera_translation_mat, disparity_to_depth_mat, CameraCalibrationWrapper::distortion_fisheye_mat, CameraCalibrationWrapper::distortion_mat, xrt_size::h, t_camera_calibration::image_size_pixels, CameraCalibrationWrapper::intrinsics_mat, ViewRectification::projection_mat, ViewRectification::rectify, ViewRectification::rotation_mat, t_camera_calibration::use_fisheye, StereoCameraCalibrationWrapper::view, t_stereo_camera_calibration::view, view, and xrt_size::w.
cv::Mat StereoRectificationMaps::disparity_to_depth_mat = {} |
Disparity and position to camera world coordinates.
Referenced by StereoRectificationMaps().
ViewRectification StereoRectificationMaps::view[2] |
Referenced by StereoRectificationMaps().