|
By examining Figure 10.2, it is easy to see that the solution to the triangulation problem is the intersection point of the epipolar lines generated by the two images.
This problem can easily be extended to the case of cameras whose relative poses are known. If the absolute pose is unknown, it can be obtained directly from the images themselves using techniques such as the Essential matrix (Section 10.4).
Because of inaccuracies in identifying corresponding points (calibration errors could also be considered separately), the lines formed by the optical rays are generally skew.
In this case, it is necessary to find the closest solution under some cost function: a least-squares solution is always possible with , as well as with techniques such as Forward Intersections or the Direct Linear Transfer (DLT).
Every optical ray subtended by image pixel , with
denoting the i-th view, must satisfy equation (10.9).
The intersection point (Forward Intersections) of all these rays is the solution of a potentially overdetermined linear system with
unknowns in
equations:
| (10.13) |
The closed-form solution, limited to the case of only two lines, is given in Section 1.6.8. This technique can be applied when one camera is aligned with the axes and the second is positioned relative to the first according to relation (10.5).
Using the properties of the cross product, the same expression can be obtained with perspective projection matrices and image points expressed as homogeneous coordinates:
| (10.14) |
Minimization in world coordinates, however, is not optimal from the standpoint of noise minimization.
In the absence of further information about the structure of the observed scene, the optimal estimate (Maximum Likelihood Estimation) is always the one that minimizes the error in image coordinates (reprojection), but it requires greater computational effort and the use of nonlinear techniques, since the cost function to be minimized is
| (10.16) |
This is a nonlinear, nonconvex problem: multiple local minima may be present, and the linear solution must be used as the starting point for the minimization.
A further class of techniques, which exploit the information obtained from epipolar constraints and use it to estimate the position of points unaffected by noise without having to recover the three-dimensional point, is presented in Section 10.4.4.
Paolo medici