Declarations for intrinsic (geometric) calibration. More...
Go to the source code of this file.
Defines | |
#define | ABSOLUTE_MAX_FRAMES_TO_STORE 1000 |
#define | INTRINSICS_FLAGS 0 |
#define | MAX_BINS 768 |
#define | MIN_BINS 12 |
#define | RADIAL_LENGTH 1000 |
Functions | |
double | calculateERE (Size imSize, cv::vector< Point3f > &physicalPoints, cv::vector< cv::vector< Point2f > > &corners, const Mat &cameraMatrix, const Mat &distCoeffs, bool removeSpatialBias=true, bool generateFigure=false, bool useUndistortedLocations=true) |
Calculate the Extended Reprojection Error: The reprojection error over a desired set of frames. | |
void | optimizeCalibrationSet (Size imSize, cv::vector< cv::vector< Point2f > > &candidatePatterns, cv::vector< cv::vector< Point2f > > &testPatterns, cv::vector< Point3f > row, cv::vector< int > &selectedTags, int selection=ENHANCED_MCM_OPTIMIZATION_CODE, int num=10, bool debugMode=false, bool removeSpatialBias=true, bool generateFigure=false, bool useUndistortedLocations=true, int intrinsicsFlags=INTRINSICS_FLAGS) |
Cut down the given vector of pointsets to those optimal for calibration. |
Declarations for intrinsic (geometric) calibration.
Ideally this file should only contain functions needed for intrinsic calibration, and not extrinsic calibration. Functions required by both should be included in the "calibration.hpp/cpp" files.
Definition in file intrinsics.hpp.
#define ABSOLUTE_MAX_FRAMES_TO_STORE 1000 |
Definition at line 16 of file intrinsics.hpp.
#define INTRINSICS_FLAGS 0 |
Definition at line 14 of file intrinsics.hpp.
#define MAX_BINS 768 |
Definition at line 19 of file intrinsics.hpp.
#define MIN_BINS 12 |
Definition at line 20 of file intrinsics.hpp.
#define RADIAL_LENGTH 1000 |
Definition at line 17 of file intrinsics.hpp.
double calculateERE | ( | Size | imSize, |
cv::vector< Point3f > & | physicalPoints, | ||
cv::vector< cv::vector< Point2f > > & | corners, | ||
const Mat & | cameraMatrix, | ||
const Mat & | distCoeffs, | ||
bool | removeSpatialBias = true , |
||
bool | generateFigure = false , |
||
bool | useUndistortedLocations = true |
||
) |
Calculate the Extended Reprojection Error: The reprojection error over a desired set of frames.
Definition at line 7 of file intrinsics.cpp.
void optimizeCalibrationSet | ( | Size | imSize, |
cv::vector< cv::vector< Point2f > > & | candidatePatterns, | ||
cv::vector< cv::vector< Point2f > > & | testPatterns, | ||
cv::vector< Point3f > | row, | ||
cv::vector< int > & | selectedTags, | ||
int | selection = ENHANCED_MCM_OPTIMIZATION_CODE , |
||
int | num = 10 , |
||
bool | debugMode = false , |
||
bool | removeSpatialBias = true , |
||
bool | generateFigure = false , |
||
bool | useUndistortedLocations = true , |
||
int | intrinsicsFlags = INTRINSICS_FLAGS |
||
) |
Cut down the given vector of pointsets to those optimal for calibration.