1 | initial version |
Maybe I'm missing something but it's not possible to perform metric reconstruction from 2 uncalibrated images (unless you make some additional assumptions, e.g. you know/estimate location of a vanishing point or you known something about camera calibration). You can make a reconstruction up to a projective transformation. See projective reconstruction theorem in Harley book.
How do you calculate camera matrices from fundamental matrix? What formula are you using? Without knowing camera intrinsic matrix it's not possible. Are you really sure this step is correct?
triangulatePoints
returns homogeneous coordinates of 3D points, one point in a column.
Homogeneous coordinate(X,Y,Z,W) = euclidean coordinate (X/W, Y/W, Z/W).
2 | No.2 Revision |
Maybe I'm missing something but it's not possible to perform metric reconstruction from 2 uncalibrated images (unless you make some additional assumptions, e.g. you know/estimate location of a vanishing point or you known something about camera calibration). You can make a reconstruction up to a projective transformation. See projective reconstruction theorem in Harley book.
How do you calculate camera matrices from fundamental matrix? What formula are you using? Without knowing camera intrinsic matrix it's not possible. Are you really sure this step is correct?
triangulatePoints
returns homogeneous coordinates of 3D points, one point in a column.
Homogeneous coordinate(X,Y,Z,W) = euclidean coordinate (X/W, Y/W, Z/W).