Does the Stereo calibration tutorial work for angled cameras?
显示 更早的评论
I am following this tutorial: http://www.mathworks.es/es/help/vision/ug/stereo-vision.html to calibrate two cameras to obtain 3D images. My cameras are not parallel, they are angled approximatelly 60º and I don't know if that tutorial works with angled cameras. So far I have taken over 20 pictures and I have run the provided code but the results that I get are really bad.
This is the result that I am getting:

Do you know if that tutorial works with angled cameras?
回答(1 个)
Dima Lisin
2014-9-23
0 个投票
Have you looked at the plot produced by showReprojectionErrors? The mean reprojection error should ideally be less than 0.5 of a pixel. If you see image pairs that have relatively high reprojection errors, try excluding those and recalibrating.
If most image pairs have high reprjection errors, take a look at your calibration images. See if they are out of focus, or if the checkerboard is at very oblique angles. Also, make sure that the calibration images give you points in all parts of the image. If you have any of these problems, then you need to take some more calibration images.
4 个评论
Juan
2014-9-23
Dima Lisin
2014-9-23
Wait, 0.5 is a rule of thumb, not a hard threshold. Slightly over 0.5 may still be ok. What is the resolution of your images?
Also, have you looked at the plot from showExtrinsics? Do the positions of the checkerboards make sense?
Here's another thought. Try calibrating each camera separately, using the Camera Calibrator App. Make sure you try the "Show Undistorted" button, to see if undistorting the image returns a reasonable result.
If calibrating the cameras individually works fine, but calibrating the stereo system does not, see if you can re-position the cameras. Can you tell me approximately what the distance between the cameras is, and what the distance to your object of interest is?
Juan
2014-9-25
Dima Lisin
2014-9-26
If you can't calibrate the cameras individually, that indicates a problem with the calibration images. Can you post them, so that I can take a look?
类别
在 帮助中心 和 File Exchange 中查找有关 Camera Calibration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!