Trasform focal length from pixel to world unit
Show older comments
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
More Answers (1)
George Abrahams
on 23 Jan 2024
0 votes
Hi @dix93. Please see the camera calibration documentation on the intrinsic parameters. The intrinsic matrix has the following elements:
where Then, to calculate F, the focal length in world units,
or
, where
is the pixel size in world units.
Categories
Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!