|
Monado OpenXR Runtime
|
Main class for doing calibration. More...
Data Fields | ||
| struct xrt_frame_sink | base = {} | |
| struct { | ||
| cv::Mat rgb = {} | ||
| struct xrt_frame * frame = {} | ||
| struct xrt_frame_sink * sink = {} | ||
| } | gui | |
| struct { | ||
| ModelF32 model_f32 = {} | ||
| ModelF64 model_f64 = {} | ||
| cv::Size dims = {8, 6} | ||
| enum t_board_pattern pattern = T_BOARD_CHECKERS | ||
| float spacing_meters = 0.05 | ||
| bool marker | ||
| Center board marker for sb_checkers. More... | ||
| bool normalize_image | ||
| For SB checkers. More... | ||
| } | board | |
| struct { | ||
| ViewState view [2] = {} | ||
| ArrayOfModelF32s board_models_f32 = {} | ||
| ArrayOfModelF64s board_models_f64 = {} | ||
| uint32_t calibration_count = {} | ||
| bool calibrated = false | ||
| uint32_t cooldown = 0 | ||
| uint32_t waited_for = 0 | ||
| uint32_t collected_of_part = 0 | ||
| } | state | |
| struct { | ||
| bool enabled = false | ||
| uint32_t num_images = 20 | ||
| } | load | |
| bool | subpixel_enable = true | |
| Should we use subpixel enhancing for checkerboard. | ||
| int | subpixel_size = 5 | |
| What subpixel range for checkerboard enhancement. | ||
| uint32_t | num_cooldown_frames = 20 | |
| Number of frames to wait for cooldown. | ||
| uint32_t | num_wait_for = 5 | |
| Number of frames to wait for before collecting. | ||
| uint32_t | num_collect_total = 20 | |
| Total number of samples to collect. | ||
| uint32_t | num_collect_restart = 1 | |
| Number of frames to capture before restarting. | ||
| enum t_camera_distortion_model | distortion_model = T_DISTORTION_OPENCV_RADTAN_5 | |
| Distortion model to use. | ||
| bool | stereo_sbs = false | |
| From parameters. | ||
| bool | clear_frame = false | |
| Should we clear the frame. | ||
| bool | dump_measurements = false | |
| Dump all of the measurements to stdout. | ||
| bool | save_images = false | |
| Should we save images used for capture. | ||
| bool | mirror_rgb_image = false | |
| Should we mirror the rgb images. | ||
| cv::Mat | gray = {} | |
| char | text [512] = {} | |
| t_calibration_status * | status | |
Main class for doing calibration.
| bool xrt::auxiliary::tracking::Calibration::clear_frame = false |
Should we clear the frame.
| enum t_camera_distortion_model xrt::auxiliary::tracking::Calibration::distortion_model = T_DISTORTION_OPENCV_RADTAN_5 |
Distortion model to use.
| bool xrt::auxiliary::tracking::Calibration::dump_measurements = false |
Dump all of the measurements to stdout.
| bool xrt::auxiliary::tracking::Calibration::marker |
Center board marker for sb_checkers.
| bool xrt::auxiliary::tracking::Calibration::mirror_rgb_image = false |
Should we mirror the rgb images.
| bool xrt::auxiliary::tracking::Calibration::normalize_image |
For SB checkers.
| uint32_t xrt::auxiliary::tracking::Calibration::num_collect_restart = 1 |
Number of frames to capture before restarting.
Referenced by xrt::auxiliary::tracking::do_capture_logic_mono(), and xrt::auxiliary::tracking::do_capture_logic_stereo().
| uint32_t xrt::auxiliary::tracking::Calibration::num_collect_total = 20 |
Total number of samples to collect.
Referenced by xrt::auxiliary::tracking::do_capture_logic_mono(), xrt::auxiliary::tracking::do_capture_logic_stereo(), xrt::auxiliary::tracking::make_calibration_frame_mono(), and xrt::auxiliary::tracking::make_calibration_frame_sbs().
| uint32_t xrt::auxiliary::tracking::Calibration::num_cooldown_frames = 20 |
Number of frames to wait for cooldown.
Referenced by xrt::auxiliary::tracking::do_capture_logic_mono(), and xrt::auxiliary::tracking::do_capture_logic_stereo().
| uint32_t xrt::auxiliary::tracking::Calibration::num_wait_for = 5 |
Number of frames to wait for before collecting.
Referenced by xrt::auxiliary::tracking::do_capture_logic_mono(), and xrt::auxiliary::tracking::do_capture_logic_stereo().
| bool xrt::auxiliary::tracking::Calibration::save_images = false |
Should we save images used for capture.
Referenced by xrt::auxiliary::tracking::do_capture_logic_mono(), and xrt::auxiliary::tracking::do_capture_logic_stereo().
| bool xrt::auxiliary::tracking::Calibration::stereo_sbs = false |
From parameters.
| bool xrt::auxiliary::tracking::Calibration::subpixel_enable = true |
Should we use subpixel enhancing for checkerboard.
| int xrt::auxiliary::tracking::Calibration::subpixel_size = 5 |
What subpixel range for checkerboard enhancement.