For stereo cameras on the market, two cameras are always mounted side by side and with a displacement that is perpendicular to the cameras’ optical axes. I take this setup for granted. One idea came to my mind whether this is necessary? If two cameras are not parallel and have different focal length, camera calibration can correct the difference. Why are two cameras mounted in parallel? My guess is that two cameras can have a large overlapping region. Am I correct?
2 Answers
Each camera needs to be defined by 6 variables (3 position, 3 orientation). This would mean that during the calibration process, a solver needs to find 12 variables. As this is done usually with an nonlinear optimization process, the solutions are quite sensitive to the initial guess. By making them parallel and giving them a fixed width, you can give the solver a much nicer initial guess (which can converge to the correct solution).
Aside from this of course, we do get large overlapping areas which become important when creating depth maps.
-
$\begingroup$ How can I evaluate the calibration performance If I calibrate one stereo camera? Will it not be a problem if two cameras are not mounted in parallel exactly? $\endgroup$ Feb 23, 2017 at 11:07
-
$\begingroup$ No it is usually okay for them to be a little off since you are solving for all twelve parameters. You just need them to be as close as possible so that your solver can converge to the correct solution. You can use some object/image as a ground truth and see if your stereo pair can estimation errors when you measure its position/orientation. $\endgroup$ Feb 23, 2017 at 14:57
-
$\begingroup$ Can I take any measure to improve the results if I don't have good initial guess? For example, I can take more numbers of images? Can you provide any link to papers about the initial guess and ways to improve results in camera calibration? I hope to learn more about the principle. $\endgroup$ May 3, 2017 at 6:33
Making them parallel is beneficial for reducing distortion after a rectification. We usually rectify two images for a fast matching. If speed is not your concern you can skip the rectification stage.