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

camera_calibration for multiple camera setup

asked 2011-02-22 20:33:34 -0500

KoenBuys gravatar image

I'm currently looking at the camera_calibration package to use it in our lab. We have a setup with multiple cameras (= more than a dual setup). I would like to know if there are other people with a similar setup and how did you calibrate? I could to the stereo calibration for every camera pair but I'm rather interested in expanding the camera_calibration. One thing I'm mainly interested in is getting the extrinsic calibration correct to reflect the entire lab in stead of just reflecting the stereo setup. Because I also need this information in a tf publisher node for other calculations. Because we have hardware 'configurable' synchronization getting same timestamps should be to much of a problem (I still need to find out what the influence of the NIC will be). Are there people interested in collaborating?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-03-22 02:20:22 -0500

updated 2011-04-25 17:09:57 -0500

Hi Koen, for the extrinsic calibration of multiple cameras it is considerably more difficult to generate feature correspondences and initial poses for the optimisation.

In the stereo-vision case multiple views of a checkerboard are ideal: we can make assumptions about the relative views eg. the cameras are roughly pointing in the same direction and share the same "up". After extracting the checkerboard corners it's easy to assume the feature correspondences. Given the checkerboard size we can also estimate the relative camera pose.

You'll probably need to calibrate each cameras' intrinsics separately, and then investigate either 1) using some sort of fiduciary marker, or 2) a rich feature descriptor (eg SURF) and a lot of random objects in your scene to generate the feature correspondences for bundle adjustment. This really becomes a full bundle adjustment problem. Most of the code you'll need is in this stack.

If you have a small separation between your cameras you might get away with a checkerboard pattern with one corner modified so you can uniquely identify "up" on the board. You could then generate initial relative camera pose estimates and feature correspondences from that.

Edit: The camera_pose_calibration package recently appeared on the ROS wiki. It looks like what you're after.

edit flag offensive delete link more

Comments

One of the things I wanted to ask is : who is interested in sharing the workload to implement such a 'general' package and why doesn't image_geometry implement the general calibration matrix (instead of the specific one now) and that the stereo_calibration makes such assumptions?
KoenBuys gravatar image KoenBuys  ( 2011-03-22 21:50:01 -0500 )edit
The stereo calibration is inherited from OpenCV, and was never designed for the "general" use case. http://opencv.willowgarage.com/documentation/camera_calibration_and_3d_reconstruction.html ...what you're asking for is non-trivial. Unfortunately i dont have time to help at the moment, sorry.
rreid gravatar image rreid  ( 2011-03-23 05:43:33 -0500 )edit
Were you able to install the camera_pose_calibration package? Installing the deb using the instructions on the Wiki fails because there does not seem to be a package named ros-diamondback-camera-pose.
mkoval gravatar image mkoval  ( 2011-04-27 03:55:08 -0500 )edit
0

answered 2011-03-01 05:31:27 -0500

KoenBuys gravatar image

Checking the camera_calibration shows that the implementation was limited to leave for example Tz out of the equations (checked image_geometry PinholeModel), why wasn't this provided in a general implementation? (can hardly imagine that it was because of calculation time) How do you see a multicamera calibration? The current implementation takes the translation in relation to the first camera of a stereo pair, I hardly see doing this for a multi set-up as a good solution (also not every combination could be feasible for calibration).

edit flag offensive delete link more

Comments

Hi Koen, this is the "answer" box. Perhaps modify your question rather than adding an answer that poses more questions.
rreid gravatar image rreid  ( 2011-03-22 02:21:59 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2011-02-22 20:33:34 -0500

Seen: 2,586 times

Last updated: Apr 25 '11