When the SVD is used to enforce the constraints, the resulting Fundamental (or Essential) Matrix satisfies all the requirements for a Fundamental (or Essential) Matrix, but it is merely the matrix closest, under a particular norm (in this case, the Frobenius norm), to the one obtained from the linear system. This solution is not optimal either, because it does not account for the propagation of observation errors through the model. It is still an algebraic solution, not a geometric one.
One technique for minimizing geometric error is to use the distances between points and the epipolar lines generated by the Fundamental Matrix (epipolar distance).
Even intuitively, the distance between a point and the epipolar line
can be used as a measure of geometric error:
Since this error can be computed for both the first and second images, both contributions should be minimized together.
This metric defines a cost function that minimizes the error symmetrically (symmetric transfer error) across the two images:
| (10.69) |
Here, too, a solution with 8 unknowns can be sought, but for a robust solution, must be constrained to have rank 2.
As an alternative to the Symmetric Transfer Error, the literature often uses the first-order approximation of the distance between the points and the function (Sampson error, section 4.3.8).
An approximate distance between the corresponding image points
and the manifold
can thus be defined using the metric
| (10.70) |
| (10.71) |
Although the Symmetric Transfer Error and Sampson distance are geometrically more meaningful approximations than the algebraic error, they do not generally yield the maximum-likelihood estimator.
The Maximum Likelihood Estimation of the Fundamental Matrix would instead use a cost function of the form
To solve this problem, the estimation of the Essential or Fundamental Matrix must be combined with 3D reconstruction, with the 3D coordinates of the observed point
used directly as an auxiliary variable.
The Essential Matrix can be obtained when the intrinsic parameters of the two sensors are known.
In this case, the nonlinear system that projects the auxiliary variable
onto the respective observations in the two sensors can be used:
When the intrinsic parameters are unavailable, a true 3D reconstruction of the scene is not possible when estimating the Fundamental Matrix, precisely because these parameters are missing.
However, fictitious perspective projections can be used by setting
and obtaining constraints of the form:
By incorporating constraints (10.75) into equation (10.72), the goal of estimating the Fundamental Matrix is again transformed into that of estimating the parameters of the projective matrix .
Using the camera matrix
, a fictitious camera matrix, it is finally possible to obtain
by applying definition (10.43), although the matrix
is not a rotation matrix.
A probabilistically correct maximum-likelihood estimate of the Fundamental Matrix still requires substantial computational resources: in addition to the 11 global unknowns needed to estimate 10.4, compared with 5 for the Essential Matrix, 3 additional unknowns are introduced into the problem for every pair of points being minimized.
Finally, as a cautionary note, techniques such as RANSAC (section 4.12) are widely used to obtain optimal matrix estimates in the presence of possible outliers in the scene.