When SVD decomposition is used to enforce the constraints, the resulting Fundamental (or Essential) Matrix fully satisfies the requirements for being Fundamental (or Essential), but 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 therefore not optimal either, since it does not account for how errors propagate from the input points through the transformation: it is still an algebraic rather than a geometric solution.
A first technique that minimizes geometric error consists in exploiting the distance 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 metric for estimating geometric error:
Since this error can be computed for both the first and the second image, both contributions should be minimized together.
This metric can be used to define a cost function that minimizes the error symmetrically (symmetric transfer error) between the two images:
| (10.69) |
In this case as well, a solution with 8 unknowns can be sought, but obtaining a robust solution requires constraining to have rank 2.
As an alternative to the Symmetric Transfer Error, the first-order approximation of the distance between the points and the function (Sampson-error, section 4.3.8) is often used in the literature.
An approximate distance between the corresponding image points
and the manifold
can thus be defined using the metric
| (10.70) |
| (10.71) |
Both the Symmetric Transfer Error and the Sampson distance are better metrics than the algebraic estimate, but neither is the optimal estimator.
The Maximum Likelihood Estimation of the Fundamental Matrix would in fact be obtained using a cost function of the form
To solve this problem, the estimation of the Essential or Fundamental Matrix must be combined with three-dimensional reconstruction, using the three-dimensional coordinates of the observed point
directly as the 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, as in Fundamental Matrix estimation, a true three-dimensional reconstruction of the scene cannot be performed precisely because these parameters are missing.
It is nevertheless possible to use fictitious perspective projections by setting
and obtaining constraints of the form:
By inserting constraints (10.75) into equation (10.72), the objective of recovering the Fundamental Matrix is again transformed into that of recovering the parameters of the projective matrix .
Using camera matrix
, a fictitious camera matrix, it is finally possible to recover
by directly applying definition (10.43), although matrix
is not a rotation matrix.
The probabilistically correct Maximum Likelihood estimate of the Fundamental Matrix nevertheless requires substantial computational resources: in addition to the 11 global unknowns needed to estimate 10.4 (compared with the 5 for the Essential Matrix), 3 additional unknowns are introduced into the problem for each pair of points to be minimized.
As a final warning, techniques such as RANSAC (section 4.12) are widely used for optimal matrix estimation in the presence of possible outliers in the scene.