Manuel E. L. Fernandez, Lucas Teixeira and Marcelo Gattass
In this site we present free (LGPL Licence) ANSI C implementations of the three classical algorithms for camera calibration:
(1D) Zhang , Z., Camera Calibration with One-Dimensional Objects by Zhengyou Zhang, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 26, no. 7, July 2004.
(2D) A Flexible New Technique for Camera Calibration by Zhengyou Zhang.
(3D) Tsai, R.Y., An Efficient and Accurate Camera Calibration Technique for 3D Machine Vision, CVPR86 Proceeding, IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Miami Beach, FL, June 22-26, pp. 364-373, 1986.
For didactical reasons our implementation seeks to follow the corresponding papers as close as possible.