Monado OpenXR Runtime
xrt::auxiliary::tracking::Calibration Class Reference

Main class for doing calibration. More...

Collaboration diagram for xrt::auxiliary::tracking::Calibration:

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. 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 xrt::auxiliary::tracking::Calibration::clear_frame = false

Should we clear the frame.

◆ dump_measurements

bool xrt::auxiliary::tracking::Calibration::dump_measurements = false

Dump all of the measurements to stdout.

◆ marker

bool xrt::auxiliary::tracking::Calibration::marker

Center board marker for sb_checkers.

◆ mirror_rgb_image

bool xrt::auxiliary::tracking::Calibration::mirror_rgb_image = false

Should we mirror the rgb images.

◆ normalize_image

bool xrt::auxiliary::tracking::Calibration::normalize_image

For SB checkers.

◆ num_collect_restart

uint32_t xrt::auxiliary::tracking::Calibration::num_collect_restart = 1

Number of frames to capture before restarting.

◆ num_collect_total

uint32_t xrt::auxiliary::tracking::Calibration::num_collect_total = 20

◆ num_cooldown_frames

uint32_t xrt::auxiliary::tracking::Calibration::num_cooldown_frames = 20

Number of frames to wait for cooldown.

◆ num_wait_for

uint32_t xrt::auxiliary::tracking::Calibration::num_wait_for = 5

Number of frames to wait for before collecting.

◆ save_images

bool xrt::auxiliary::tracking::Calibration::save_images = false

Should we save images used for capture.

◆ stereo_sbs

bool xrt::auxiliary::tracking::Calibration::stereo_sbs = false

From parameters.

◆ subpixel_enable

bool xrt::auxiliary::tracking::Calibration::subpixel_enable = true

Should we use subpixel enhancing for checkerboard.

◆ subpixel_size

int xrt::auxiliary::tracking::Calibration::subpixel_size = 5

What subpixel range for checkerboard enhancement.

◆ use_fisheye

bool xrt::auxiliary::tracking::Calibration::use_fisheye = false

Is the camera fisheye.


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