Trasform focal length from pixel to world unit

27 views (last 30 days)
I done a calibration of my stereo system camera by the toolbox. The output was an object StereoParameters. I seen inside a intrisicMatrix, where the focal length is expressed in pixel. How i can have the focal length in world unit? How i can calculate sx and sy (pixels per world unit in the x and y direction respectively)?

Accepted Answer

Dima Lisin
Dima Lisin on 21 Feb 2016
During camera calibration you can only calculate the ratio of the focal length to the pixel size, i. e. the focal length in pixels. You cannot calculate the focal length in world units and the pixel size separately. The best you can do is look up the pixel size from the manufacturer's spec, and then calculate the focal length in millimeters.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by