I use 18 images of Chess Board.
I use OpenCv Cali cpp.
My Camera is Iphone4.
The Intrinsic Matrix K is:
2473.82 0 1296.06
0 2469.12 969.665
0 0 1
The code is:
// Example 11-1. Reading a chessboard¡¯s width and height, reading and collecting the // requested number of views, and calibrating the camera // #include <cv.h> #include <highgui.h> #include <stdio.h> #include <stdlib.h> #include <string> #include <sstream> #include<iomanip> #include<opencv2corecore.hpp> #include<opencv2highguihighgui.hpp> #include<opencv2imgprocimgproc.hpp> #include<opencv2calib3dcalib3d.hpp> #include <opencv2/features2d/features2d.hpp> #include<string> #include<vector> using namespace std; using namespace cv; void zhuanhuan(string src,char* dst) { int i; for(i=0;i<src.length();i++) dst[i]=src[i]; dst[i] = '