$search
Declarations for extrinsic (geometric) calibration. More...
#include "improc.hpp"
#include "calibration.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <sys/stat.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | EXTRINSICS_FLAGS CV_CALIB_RATIONAL_MODEL + CV_CALIB_FIX_INTRINSIC |
Functions | |
double | calculateExtrinsicERE (int nCams, cv::vector< Point3f > &physicalPoints, cv::vector< cv::vector< cv::vector< Point2f > > > corners, Mat *cameraMatrix, Mat *distCoeffs, Mat *R, Mat *T) |
Calculate the Extended Reprojection Error for the extrinsic case. | |
double | obtainMultisetScore (int nCams, vector< Mat > &distributionMap, vector< Mat > &binMap, vector< vector< double > > &distances, cv::vector< cv::vector< cv::vector< Point2f > > > &corners, int index) |
Calculate the scores for a set if pointsets in terms of their contribution to extrinsic calibration. | |
void | optimizeCalibrationSets (cv::vector< Size > imSize, int nCams, Mat *cameraMatrix, Mat *distCoeffs, cv::vector< Mat > &distributionMap, cv::vector< cv::vector< cv::vector< Point2f > > > &candidateCorners, cv::vector< cv::vector< cv::vector< Point2f > > > &testCorners, cv::vector< Point3f > row, int selection, int num, cv::vector< cv::vector< int > > &tagNames, cv::vector< cv::vector< int > > &selectedTags) |
Cut down the given vectors of pointsets to those optimal for extrinsic calibration. |
Declarations for extrinsic (geometric) calibration.
Ideally this file should only contain functions needed for extrinsic calibration, and not intrinsic calibration. Functions required by both should be included in the "calibration.hpp/cpp" files.
Definition in file extrinsics.hpp.
#define EXTRINSICS_FLAGS CV_CALIB_RATIONAL_MODEL + CV_CALIB_FIX_INTRINSIC |
Definition at line 15 of file extrinsics.hpp.
double calculateExtrinsicERE | ( | int | nCams, | |
cv::vector< Point3f > & | physicalPoints, | |||
cv::vector< cv::vector< cv::vector< Point2f > > > | corners, | |||
Mat * | cameraMatrix, | |||
Mat * | distCoeffs, | |||
Mat * | R, | |||
Mat * | T | |||
) |
Calculate the Extended Reprojection Error for the extrinsic case.
Definition at line 7 of file extrinsics.cpp.
double obtainMultisetScore | ( | int | nCams, | |
vector< Mat > & | distributionMap, | |||
vector< Mat > & | binMap, | |||
vector< vector< double > > & | distances, | |||
cv::vector< cv::vector< cv::vector< Point2f > > > & | corners, | |||
int | index | |||
) |
Calculate the scores for a set if pointsets in terms of their contribution to extrinsic calibration.
Definition at line 102 of file extrinsics.cpp.
void optimizeCalibrationSets | ( | cv::vector< Size > | imSize, | |
int | nCams, | |||
Mat * | cameraMatrix, | |||
Mat * | distCoeffs, | |||
cv::vector< Mat > & | distributionMap, | |||
cv::vector< cv::vector< cv::vector< Point2f > > > & | candidateCorners, | |||
cv::vector< cv::vector< cv::vector< Point2f > > > & | testCorners, | |||
cv::vector< Point3f > | row, | |||
int | selection, | |||
int | num, | |||
cv::vector< cv::vector< int > > & | tagNames, | |||
cv::vector< cv::vector< int > > & | selectedTags | |||
) |
Cut down the given vectors of pointsets to those optimal for extrinsic calibration.
Definition at line 169 of file extrinsics.cpp.