extrinsics.hpp
Go to the documentation of this file.
00001 
00008 #ifndef EXTRINSICS_HPP
00009 #define EXTRINSICS_HPP
00010 
00011 #define EXTRINSICS_DEFAULT_FLAGS 0
00012 
00013 //#include "cv_utils.hpp"
00014 #include "improc.hpp"
00015 #include "calibration.hpp"
00016 
00017 #define DEFAULT_EXTRINSICS_FLAGS                    CV_CALIB_RATIONAL_MODEL + CV_CALIB_FIX_INTRINSIC
00018 
00020 double calculateExtrinsicERE(int nCams,
00021                              cv::vector<Point3f>& physicalPoints,
00022                              cv::vector< cv::vector<Point2f> > *corners,
00023                              Mat *cameraMatrix,
00024                              Mat *distCoeffs,
00025                              Mat *R,
00026                              Mat *T);
00027 
00029 void optimizeCalibrationSets(cv::vector<Size> imSize,
00030                              int nCams,
00031                              Mat *cameraMatrix,
00032                              Mat *distCoeffs,
00033                              cv::vector<Mat>& distributionMap,
00034                              cv::vector< cv::vector<Point2f> > *candidateCorners,
00035                              cv::vector< cv::vector<Point2f> > *testCorners,
00036                              cv::vector<Point3f> row,
00037                              int selection,
00038                              int num,
00039                              cv::vector<cv::vector<int> >& tagNames,
00040                              cv::vector<cv::vector<int> >& selectedTags,
00041                              int flags = EXTRINSICS_DEFAULT_FLAGS);
00042 
00044 double obtainMultisetScore(int nCams,
00045                            vector<Mat>& distributionMap,
00046                            vector<Mat>& binMap,
00047                            vector<vector<double> >& distances,
00048                            cv::vector<cv::vector<Point2f> > *corners,
00049                            int index);
00050 
00051 #endif


thermalvis
Author(s): Stephen Vidas
autogenerated on Sun Jan 5 2014 11:38:44