Deprecated. This implementation has been integrated into OpenCV 4.0.
See opencv/opencv/#12772
for details. The C++ interface in OpenCV is calibrateCameraRO()
This calibration code is based on the paper: K. H. Strobl and G. Hirzinger. "More Accurate Pinhole Camera Calibration with Imperfect Planar Target". In Proceedings of the IEEE International Conference on Computer Vision (ICCV 2011), 1st IEEE Workshop on Challenges and Opportunities in Robot Perception, Barcelona, Spain, pp. 1068-1075, November 2011.
This implementation was validated against DLR CalDe and DLR CalLab, a remarkable camera calibration toolbox, which already includes this method.
The code is largely copied from OpenCV's implementation.
$ mkdir build
$ cd build
$ cmake ..
$ make
test_calibrel --mode=0 default.xml
Where mode
has one of the following three values:
See calibrel_testdata for examples of XML setting files.