$search
00001 00008 #ifndef EXTRINSICS_HPP 00009 #define EXTRINSICS_HPP 00010 00011 //#include "cv_utils.hpp" 00012 #include "improc.hpp" 00013 #include "calibration.hpp" 00014 00015 #define EXTRINSICS_FLAGS CV_CALIB_RATIONAL_MODEL + CV_CALIB_FIX_INTRINSIC 00016 00018 double calculateExtrinsicERE(int nCams, 00019 cv::vector<Point3f>& physicalPoints, 00020 cv::vector< cv::vector< cv::vector<Point2f> > > corners, 00021 Mat *cameraMatrix, 00022 Mat *distCoeffs, 00023 Mat *R, 00024 Mat *T); 00025 00027 void optimizeCalibrationSets(cv::vector<Size> imSize, 00028 int nCams, 00029 Mat *cameraMatrix, 00030 Mat *distCoeffs, 00031 cv::vector<Mat>& distributionMap, 00032 cv::vector< cv::vector< cv::vector<Point2f> > >& candidateCorners, 00033 cv::vector< cv::vector< cv::vector<Point2f> > >& testCorners, 00034 cv::vector<Point3f> row, 00035 int selection, 00036 int num, 00037 cv::vector<cv::vector<int> >& tagNames, 00038 cv::vector<cv::vector<int> >& selectedTags); 00039 00041 double obtainMultisetScore(int nCams, 00042 vector<Mat>& distributionMap, 00043 vector<Mat>& binMap, 00044 vector<vector<double> >& distances, 00045 cv::vector<cv::vector<cv::vector<Point2f> > >& corners, 00046 int index); 00047 00048 #endif