3D Correspondences from fundamental matrix

前端 未结 3 1139
暗喜
暗喜 2020-12-14 22:00

In MATLAB I have calculated the Fundamental matrix (of two images) using the normalized Eight point algorithm. From that I need to triangulate the corresponding image points

相关标签:
3条回答
  • 2020-12-14 22:38

    If your 3D-space can be chosen arbitrarily you could set your first camera matrix as

    P = [I | 0]
    

    No translation, no rotation. That would leave you with a coordinate system defined from camera 1. Then it should not be too hard to calibrate the second camera.

    0 讨论(0)
  • 2020-12-14 22:39

    You can use the fundamental matrix to recover the camera matrices and triangulate the 3D points from their images. However, you must be aware that the reconstruction you will obtain will be a projective reconstruction and not a Euclidean one. This is useful if your goal is to measure projective invariants in the original scene such as the cross ratio, line intersections, etc. but it won't be enough to measure angles and distances (you will have to calibrate the cameras for that).

    If you have access to Hartley and Zisserman's textbook, you can check section 9.5.3 where you will find what you need to go from the fundamental matrix to a pair of camera matrices that will allow you to compute a projective reconstruction (I believe the same content appears in section 6.4 of Yi Ma's book). Since the source code for the book's algorithms is available online, you may want to check the functions vgg_P_from_F, vgg_X_from_xP_lin, and vgg_X_from_xP_nonlin.

    0 讨论(0)
  • 2020-12-14 22:43

    Peter's matlab code would be much helpful to you I think :

    http://www.csse.uwa.edu.au/~pk/research/matlabfns/

    Peter has posted a number of fundamental matrix solutions. The original algorithms were mentioned in the zisserman book

    http://www.amazon.com/exec/obidos/tg/detail/-/0521540518/qid=1126195435/sr=8-1/ref=pd_bbs_1/103-8055115-0657421?v=glance&s=books&n=507846

    Also, while you are at it don't forget to see the fundamental matrix song :

    http://danielwedge.com/fmatrix/

    one fine composition in my honest opinion!

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