How to calculate the fundamental matrix for stereo vision

前端 未结 1 972
春和景丽
春和景丽 2021-02-04 17:17

I\'m trying to write some code that will calculate the fundamental matrix to determine the relationship between stereo images. I started with the Hartley and Zisserman book that

1条回答
  •  时光说笑
    2021-02-04 17:39

    Note that the Fundamental matrix is defined up to a constant factor (you can verify that quite easily, by checking the epipolar constraint). Try multiplying the OpenCV matrix with -8.0574e-04 and you'll see that the two matrices are quite similar in the end :-)

    Thus, your result is probably fine. The slight difference between the results is probably due to the fact that OpenCV employs a different (probably more robust) approach than the 8-point algorithm.

    0 讨论(0)
提交回复
热议问题