|
|
|
@ -1,7 +1,8 @@ |
|
|
|
|
#include"opencv2/omnidir.hpp" |
|
|
|
|
#include"opencv2/core/core.hpp" |
|
|
|
|
#include"opencv2/imgproc/imgproc.hpp" |
|
|
|
|
#include "opencv2/highgui/highgui.hpp" |
|
|
|
|
#include "opencv2/omnidir.hpp" |
|
|
|
|
#include "opencv2/core.hpp" |
|
|
|
|
#include "opencv2/imgproc.hpp" |
|
|
|
|
#include "opencv2/calib3d.hpp" |
|
|
|
|
#include "opencv2/highgui.hpp" |
|
|
|
|
#include <vector> |
|
|
|
|
#include <iostream> |
|
|
|
|
#include <string> |
|
|
|
@ -12,10 +13,10 @@ using namespace std; |
|
|
|
|
|
|
|
|
|
const char * usage = |
|
|
|
|
"\n example command line for omnidirectional camera calibration.\n" |
|
|
|
|
" omniCalibration -w 6 -h 7 -sw 80 -sh 80 image_list.xml \n" |
|
|
|
|
" omniCalibration -w 6 -h 9 -sw 80 -sh 80 imagelist.xml \n" |
|
|
|
|
" \n" |
|
|
|
|
" the file image_list.xml is generated by imagelist_creator as\n" |
|
|
|
|
"imagelist_creator image_list.xml *.*"; |
|
|
|
|
" the file imagelist.xml is generated by imagelist_creator as\n" |
|
|
|
|
"imagelist_creator imagelist.xml *.*"; |
|
|
|
|
|
|
|
|
|
static void help() |
|
|
|
|
{ |
|
|
|
|