Fundamental matrix and epipolar lines from stereo calibration slightly off
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am using a pair of two GoPro's as a stereo system for estimating the 3D location of some pixels in my image. In order to do this, I use the Stereo Camera Calibrator. I calibrate my cameras using a checkerboard pattern glued on a wooden plate and take paired pictures of the checkerboard at different angles and different distances with respect to the camera and I obtain a mean reprojection error of ~ 0.4 [px.] (for 94 paired pictures).
After the calibration, in a separate trial, I project a different checkerboard pattern on a screen in order to test whether the calibration is correct. In Figure 1 you can see a point (extracted using detectCheckerboardPoints) at the top left of the checkerboard pattern from the two camera perspectives along with the epipolar line in the second perspective (computed using the Fundamental matrix from the stereo calibration session, the function epipolarLine and the function lineToBorderPoints). As it can be observed, the epipolar line intersects the edge in the second perspective quite well. In Figure2, I choose another point of the checkerboard and it can be observed that the correspondence with the epipolar line is not that good anymore.
Does anybody have an intuition why this would be the case?
3 个评论
SABINA LAVEGLIA
2024-4-30
Do you used all the image for strereo calibration or specify the different heinghts?
采纳的回答
Matt J
2024-2-10
移动:Matt J
2024-2-10
The position of the checkerboard isn't supposed to be part of the camera model. It's the relative poses of the two cameras that matters. The perspective of the two cameras does look a bit similar, however. You might get a better calibration if you move them further apart.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Camera Calibration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!