Trasform focal length from pixel to world unit

16 ビュー (過去 30 日間)
dix93
dix93 2016 年 2 月 18 日
回答済み: George Abrahams 2024 年 1 月 23 日
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)?

採用された回答

Dima Lisin
Dima Lisin 2016 年 2 月 21 日
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.

その他の回答 (1 件)

George Abrahams
George Abrahams 2024 年 1 月 23 日
Hi @dix93. Please see the camera calibration documentation on the intrinsic parameters. The intrinsic matrix has the following elements:
where is the focal length in pixels.
Then, to calculate F, the focal length in world units, or , where is the pixel size in world units.
As @Dima Lisin said, the values for should be available in the camera's technical specifications.

カテゴリ

Help Center および File ExchangeCamera Calibration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by