📄 readme
字号:
User instructions of the camera calibration toolbox for MATLAB1999, Hynek Bakstein - hynek@terezka.ufa.cas.cz, Radim Halir - halir@ms.mff.cuni.czThe directory structure of the toolbox distribution is organized as follows:/samples - contains sample data/samples/images - sample images form real data experiment/samples/coords - coordinates of reference points detected in sample images/m - MATLAB files implementing the calibration method/solvopt - optimization routine used by the method's implementationThere are also several files in the root directory. The 'README' filecontains user instructions and the 'demo.m' file contains a MATLABfunction 'demo', which implements a simple demonstration of presentedmethod.The main function implementing the proposed method are commented. Allthe functions contain help information. Each file contains onefunction, and has the same name with the .m extension.The calibration is performed by the function 'calibr8'. It has avariable number of arguments, but first three have always be passed.These are the initial estimate of the intrinsic parameters, the maximumnumber of iterations and the desired precision level. The firstparameter, the initial estimate of intrinsic parameters, is representedby a vector of the following parameters: the focal length, the u0 andv0 coordinates of center of CCD chip linear distortion coefficients b1and b2. The second parameter, the maximum number of iterations, is andinteger number larger than zero and the third one, the precision level,is a positive floating point number.Next parameters specify the measured data. For each plane is onevariable Their number is optional. At least two planes are needed forthe method to succeed. The coordinates are in form of a n by 5 matrix,where each row specifies the pairs of coordinates of control points andtheir images and n is a number of such a pairs in the plane. The firstthree columns of the matrix represent the xi, yi and zi coordinate ofthe reference point. The fourth and the fifth column represents the uiand vi coordinate of the appropriate detected image of such a point.The function returns four parameters. The first one is a vector ofestimated intrinsic parameters having the same form as the initialestimate parameter of the function. Next parameters are the estimatedtranslation and rotation matrices of the camera and errors in eachplane.The function 'demo' implements simple demonstration of the proposedmethod. First it adds all necessary directories into the path, whereMATLAB searches for functions. Then it loads the demo data located inthe 'samples/coords' directory and runs the calibration by invoking the'calibr8' function with the demo data. After the calibration isfinished, the results are being displayed along with graphs of theresulting errors.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -