File Exchange

image thumbnail

Camera Calibration (Linear Method)

call calibrateCamera(imageFilename). You must measure the location of


Updated 12 Dec 2018

View License

There are many methods for camera calibration, but this uses a linear method that has pedagogical value.
The methods used is from "Robot Modeling and Control" by Spong, Vidgasgar and Hutchinson. This is the same methods as Tsai's Tsai, Roger Y. (1986) "An Efficient and Accurate Camera Calibration Technique for 3D Machine Vision", Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, Miami Beach, FL, 1986, pp. 364-374.

This code requires an image in the working directory named 'imageFilename.jpg'. It also requires the function gather3Ddata.m and findOrthocenter.m.
The user must manually enter the world [x,y,z] coordinates in the top of the function gather3Ddata.m.

Cite As

Aaron T. Becker's Robot Swarm Lab (2019). Camera Calibration (Linear Method) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux