MRPT  1.9.9
mrpt::vision::TStereoCalibParams Struct Reference

Detailed Description

Input parameters for mrpt::vision::checkerBoardStereoCalibration.

Definition at line 54 of file chessboard_stereo_camera_calib.h.

#include <mrpt/vision/chessboard_stereo_camera_calib.h>

Public Member Functions

 TStereoCalibParams ()
 

Public Attributes

unsigned int check_size_x {7}
 The number of squares in the checkerboard in the "X" & "Y" direction. More...
 
unsigned int check_size_y {9}
 
double check_squares_length_X_meters {0.02}
 The size of each square in the checkerboard, in meters, in the "X" & Y" axes. More...
 
double check_squares_length_Y_meters {0.02}
 
bool normalize_image {true}
 
bool skipDrawDetectedImgs {false}
 
bool verbose {true}
 Show progress messages to std::cout console (default=true) More...
 
size_t maxIters {2000}
 Maximum number of iterations of the optimizer (default=300) More...
 
bool optimize_k1 {true}
 Select which distortion parameters (of both left/right cameras) will be optimzed: k1,k2,k3 are the r^2, r^4 and r^6 radial distorion coeficients, and t1 and t2 are the tangential distortion coeficients (see mrpt::img::TCamera). More...
 
bool optimize_k2 {true}
 
bool optimize_k3 {false}
 
bool optimize_t1 {false}
 
bool optimize_t2 {false}
 
bool use_robust_kernel {false}
 Employ a Pseudo-Huber robustifier kernel (Default: false) More...
 
double robust_kernel_param {10}
 The parameter of the robust kernel, in pixels (only if use_robust_kernel=true) (Default=10) More...
 
TSteroCalibCallbackFunctor callback {nullptr}
 If set to !=NULL, this function will be called within each Lev-Marq. More...
 
voidcallback_user_param {nullptr}
 If using a callback function, you can use this to pass custom data to your callback. More...
 

Constructor & Destructor Documentation

◆ TStereoCalibParams()

TStereoCalibParams::TStereoCalibParams ( )
default

Member Data Documentation

◆ callback

TSteroCalibCallbackFunctor mrpt::vision::TStereoCalibParams::callback {nullptr}

If set to !=NULL, this function will be called within each Lev-Marq.

iteration (don't do heavy stuff here since performance will degrade)

Definition at line 89 of file chessboard_stereo_camera_calib.h.

◆ callback_user_param

void* mrpt::vision::TStereoCalibParams::callback_user_param {nullptr}

If using a callback function, you can use this to pass custom data to your callback.

Definition at line 92 of file chessboard_stereo_camera_calib.h.

◆ check_size_x

unsigned int mrpt::vision::TStereoCalibParams::check_size_x {7}

The number of squares in the checkerboard in the "X" & "Y" direction.

Definition at line 57 of file chessboard_stereo_camera_calib.h.

◆ check_size_y

unsigned int mrpt::vision::TStereoCalibParams::check_size_y {9}

Definition at line 57 of file chessboard_stereo_camera_calib.h.

◆ check_squares_length_X_meters

double mrpt::vision::TStereoCalibParams::check_squares_length_X_meters {0.02}

The size of each square in the checkerboard, in meters, in the "X" & Y" axes.

Definition at line 60 of file chessboard_stereo_camera_calib.h.

◆ check_squares_length_Y_meters

double mrpt::vision::TStereoCalibParams::check_squares_length_Y_meters {0.02}

Definition at line 61 of file chessboard_stereo_camera_calib.h.

◆ maxIters

size_t mrpt::vision::TStereoCalibParams::maxIters {2000}

Maximum number of iterations of the optimizer (default=300)

Definition at line 67 of file chessboard_stereo_camera_calib.h.

◆ normalize_image

bool mrpt::vision::TStereoCalibParams::normalize_image {true}

Definition at line 62 of file chessboard_stereo_camera_calib.h.

◆ optimize_k1

bool mrpt::vision::TStereoCalibParams::optimize_k1 {true}

Select which distortion parameters (of both left/right cameras) will be optimzed: k1,k2,k3 are the r^2, r^4 and r^6 radial distorion coeficients, and t1 and t2 are the tangential distortion coeficients (see mrpt::img::TCamera).

Those set to false will be assumed to be fixed to zero (no distortion).

Note
Default values are to only assume distortion via k1 and k2 (the rest are zeros).

Definition at line 78 of file chessboard_stereo_camera_calib.h.

◆ optimize_k2

bool mrpt::vision::TStereoCalibParams::optimize_k2 {true}

Definition at line 78 of file chessboard_stereo_camera_calib.h.

◆ optimize_k3

bool mrpt::vision::TStereoCalibParams::optimize_k3 {false}

Definition at line 78 of file chessboard_stereo_camera_calib.h.

◆ optimize_t1

bool mrpt::vision::TStereoCalibParams::optimize_t1 {false}

Definition at line 79 of file chessboard_stereo_camera_calib.h.

◆ optimize_t2

bool mrpt::vision::TStereoCalibParams::optimize_t2 {false}

Definition at line 79 of file chessboard_stereo_camera_calib.h.

◆ robust_kernel_param

double mrpt::vision::TStereoCalibParams::robust_kernel_param {10}

The parameter of the robust kernel, in pixels (only if use_robust_kernel=true) (Default=10)

Definition at line 85 of file chessboard_stereo_camera_calib.h.

◆ skipDrawDetectedImgs

bool mrpt::vision::TStereoCalibParams::skipDrawDetectedImgs {false}

Definition at line 63 of file chessboard_stereo_camera_calib.h.

◆ use_robust_kernel

bool mrpt::vision::TStereoCalibParams::use_robust_kernel {false}

Employ a Pseudo-Huber robustifier kernel (Default: false)

Definition at line 82 of file chessboard_stereo_camera_calib.h.

◆ verbose

bool mrpt::vision::TStereoCalibParams::verbose {true}

Show progress messages to std::cout console (default=true)

Definition at line 65 of file chessboard_stereo_camera_calib.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019