intrinsics.hpp
Go to the documentation of this file.
00001 
00008 #ifndef INTRINSICS_HPP
00009 #define INTRINSICS_HPP
00010 
00011 // Restrictive: CV_CALIB_FIX_K5 + CV_CALIB_FIX_K4 + CV_CALIB_FIX_K3 + CV_CALIB_FIX_K2 + CV_CALIB_FIX_PRINCIPAL_POINT + CV_CALIB_FIX_ASPECT_RATIO + CV_CALIB_ZERO_TANGENT_DIST
00012 // Rational: CV_CALIB_RATIONAL_MODEL
00013 // Conventional: 0
00014 #define INTRINSICS_FLAGS 0 // CV_CALIB_RATIONAL_MODEL
00015 
00016 #define ABSOLUTE_MAX_FRAMES_TO_STORE 1000
00017 #define RADIAL_LENGTH 1000
00018 
00019 #define MAX_BINS 768
00020 #define MIN_BINS 12
00021 
00022 //#include "cv_utils.hpp"
00023 #include "improc.hpp"
00024 #include "calibration.hpp"
00025 #include "tools.hpp"
00026 
00027 using namespace std;
00028 using namespace cv;
00029 
00031 void optimizeCalibrationSet(Size imSize,
00032                             cv::vector< cv::vector<Point2f> >& candidatePatterns,
00033                             cv::vector< cv::vector<Point2f> >& testPatterns,
00034                             cv::vector<Point3f> row,
00035                             cv::vector<int>& selectedTags,
00036                             int selection = ENHANCED_MCM_OPTIMIZATION_CODE,
00037                             int num = 10,
00038                             bool debugMode = false,
00039                             bool removeSpatialBias = true,
00040                             bool generateFigure = false, 
00041                             bool useUndistortedLocations = true,
00042                             int intrinsicsFlags = INTRINSICS_FLAGS);
00043 
00045 double calculateERE(Size imSize,
00046                     cv::vector<Point3f>& physicalPoints,
00047                     cv::vector< cv::vector<Point2f> >& corners,
00048                     const Mat& cameraMatrix,
00049                     const Mat& distCoeffs,
00050                     bool removeSpatialBias = true, 
00051                     bool generateFigure = false, 
00052                     bool useUndistortedLocations = true);
00053 
00054 
00055 #endif


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