ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Focal Length from Monocular Calibration

asked 2012-01-01 11:16:23 -0500

jamesp gravatar image

I was wondering if the parameters saved from running the cameracalibrator.py node contain the focal length/s of the camera somewhere inside. If not, is it possible to determine a focal length based on these values?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2012-01-01 13:04:32 -0500

updated 2012-01-01 13:05:16 -0500

The camera matrix, as written out by cameracalibrator.py is as follows:

Fx  0  Cx
0   Fy Cy
0   0   1

where Fx and Fy are the x and y focal lengths in pixels, and (Cx, Cy) is the principal point.

edit flag offensive delete link more

Comments

Thank you for your reply!
jamesp gravatar image jamesp  ( 2012-01-08 21:13:41 -0500 )edit

hi, but these Fx and Fy can be found from camera parameters (intrinsic), but what is the actual focal length of the camera ? in formula Fx = f * Mx , where Mx is pixel/mm on image sensor. how can we get that !! any idea !

zubair gravatar image zubair  ( 2018-12-27 04:56:22 -0500 )edit

Question Tools

Stats

Asked: 2012-01-01 11:16:23 -0500

Seen: 1,469 times

Last updated: Jan 01 '12