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

Stereo camera calibration fundamental matrix

asked 2012-03-04 01:56:55 -0500

I'm writing a stereo camera driver, and am using the camera_calibrate package, with the command:

rosrun camera_calibration --approximate=0.1 --size 9x6 --square 0.025 right:=/stereocamera/right/image_raw left:=/stereocamera/left/image_raw left_camera:=/stereocamera/left right_camera:=/stereocamera/right

When storing the results to the camera this seems to trigger set_camera_info for the left and right cameras, but what about the mapping between the two cameras (the fundamental matrix calculation)? Does camera_calibration do this, and if so what service call does it use?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-06-10 23:45:59 -0500

Stephan gravatar image

When using the camera_calibration package for stereo camera calibration the images of right and left camera are rectified and adjusted to become "ideal" stereo images. That means that corresponding points in left and right image have the same value in y (i.e. the epipoles are infinite, epipolar lines are parallel to the x-axis).

In this setting, no fundamental matrix but the baseline (distance from left to right camera center) is needed for 3D triangulation. This information is found in the CameraInfo message of the right camera. Please have a look at the CameraInfo message and at corresponding documentation.

edit flag offensive delete link more

Question Tools


Asked: 2012-03-04 01:56:55 -0500

Seen: 1,193 times

Last updated: Jun 10 '12