Camera calibration and data acquisition
Equipment: a camera of a computer
Software: MATLAB ( commercial mathematical software )
Operating procedures
1 Start MATLAB calibration toolbox
2. Add pictures add images (recommended about 20)
3. Set using checkerboard real shot size (the amount it)
4. Set the parameters and start the calibration
If the number of distortion parameters, then the lens is too convex, like the fish-eye camera and Sentinel 150 perspective, it chose 3;
Otherwise, use 2 do not forget to choose the Skew
The parameter derivation, is output to the MATLAB command window
FOCALLENGTH focal length
PRINCIPLEPOINT main point
RADIALDISTORTION radial distortion
TANGENTIALDISTORTION tangential distortion
effect
6 New Functions and Scripts
Create a folder
In MATLAB interface Home ---- --- New functions
After the New Script
Two tabs to be covered source code
writeXMLm * (all code within the page copy)
www.cnblogs.com/xingkongcanghai/p/11862534.html
Untitled2.m (direct copy the code below)
writeXML(cameraParams,'cameraParams.xml');
After the operation is complete, three files to be saved in the same folder ; save; run
Loving-Q