Monado OpenXR Runtime
Data Fields
Calibration Class Reference

Main class for doing calibration. More...

Collaboration diagram for Calibration:
Collaboration graph
[legend]

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
 
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. More...
 
int subpixel_size = 5
 What subpixel range for checkerboard enhancement. More...
 
uint32_t num_cooldown_frames = 20
 Number of frames to wait for cooldown. More...
 
uint32_t num_wait_for = 5
 Number of frames to wait for before collecting. More...
 
uint32_t num_collect_total = 20
 Total number of samples to collect. More...
 
uint32_t num_collect_restart = 1
 Number of frames to capture before restarting. More...
 
bool use_fisheye = false
 Is the camera fisheye. More...
 
bool stereo_sbs = false
 From parameters. More...
 
bool clear_frame = false
 Should we clear the frame. More...
 
bool dump_measurements = false
 Dump all of the measurements to stdout. More...
 
bool save_images = false
 Should we save images used for capture. More...
 
bool mirror_rgb_image = false
 Should we mirror the rgb images. More...
 
cv::Mat gray = {}
 
char text [512] = {}
 
t_calibration_statusstatus
 

Detailed Description

Main class for doing calibration.

Field Documentation

◆ clear_frame

bool Calibration::clear_frame = false

Should we clear the frame.

◆ dump_measurements

bool Calibration::dump_measurements = false

Dump all of the measurements to stdout.

◆ mirror_rgb_image

bool Calibration::mirror_rgb_image = false

Should we mirror the rgb images.

◆ num_collect_restart

uint32_t Calibration::num_collect_restart = 1

Number of frames to capture before restarting.

◆ num_collect_total

uint32_t Calibration::num_collect_total = 20

Total number of samples to collect.

◆ num_cooldown_frames

uint32_t Calibration::num_cooldown_frames = 20

Number of frames to wait for cooldown.

◆ num_wait_for

uint32_t Calibration::num_wait_for = 5

Number of frames to wait for before collecting.

◆ save_images

bool Calibration::save_images = false

Should we save images used for capture.

◆ stereo_sbs

bool Calibration::stereo_sbs = false

From parameters.

◆ subpixel_enable

bool Calibration::subpixel_enable = true

Should we use subpixel enhancing for checkerboard.

◆ subpixel_size

int Calibration::subpixel_size = 5

What subpixel range for checkerboard enhancement.

◆ use_fisheye

bool Calibration::use_fisheye = false

Is the camera fisheye.


The documentation for this class was generated from the following file: