The Essential Matrix can be obtained in closed form when the relative poses between the sensors are known; with knowledge of the intrinsic parameters of the cameras involved, the Fundamental Matrix can then be obtained.
The most widespread application of the Essential (or Fundamental) Matrix, however, is to recover the relative pose between the cameras from a set of corresponding points: when the intrinsic parameters are known, the Essential Matrix can be recovered (and the Fundamental Matrix can then be obtained from it); without any knowledge of the camera parameters, the Fundamental Matrix can be recovered directly.
The criterion for obtaining matrix can be formalized as the minimization of a cost function
It can be noted that the epipolar constraint (10.47) can also be rewritten as
| (10.52) |
Collecting all the constraints yields a homogeneous system of the form
| (10.55) |
The derivation for obtaining the Essential Matrix is analogous: it is the solution of a system
of the form
One additional constraint must always be added to the constraints expressed in these homogeneous systems, for example
, which is normally already satisfied by linear solvers for homogeneous systems.
This algorithm is therefore called the eight-point algorithm, since at least 8 points are required to determine the solution.
Additional constraints needed to reach the actual degrees of freedom of the matrices, however, cannot be expressed in linear form.
Because of noise, the matrices obtained from the linear system normally do not satisfy the requirement that they have rank 2; in the case of the Essential Matrix, which has a larger number of degrees of freedom, they may not even belong to the subspace of Essential Matrices.
One possible solution is to seek the matrix closest to the one returned by the linear system that nevertheless satisfies the rank constraint.
This result can be obtained, for example, by using an SVD followed by a composition, as suggested by Tsai, Huang, and Hartley:
| (10.58) |
| (10.60) |
The matrices obtained through this enforcement procedure satisfy all the requirements for being Fundamental or Essential Matrices, but they do not represent an algebraic, let alone geometric, minimization of the original constraints.
Algorithms that use fewer than 8 points to extract an Essential or Fundamental Matrix are based more or less on the same principle: the multidimensional kernel of
or
is extracted, since the Fundamental or Essential Matrix must belong to an element of this space, and some constraints specific to the problem are enforced.
In the nonlinear case, it is relatively easy to obtain a Fundamental Matrix from only 7 points, given that matrix , formed from the elements in equation (10.54), must have rank 7, since the Fundamental Matrix has exactly 7 degrees of freedom.
Solving system (10.54) formed from (at least) 7 points yields a two-dimensional subspace, formed by two bases
and
, associated with two matrices
and
. Within the space of possible solutions, it is necessary to find a matrix
having rank 2, that is, by imposing
, a third-degree nonlinear equation in
.
In this case, the real solutions of
may number 1 or 3. If there are 3 real solutions, all three must be evaluated on the data to identify the most plausible one.
With fewer than 7 points, only algorithms for determining the Essential Matrix exist. The Essential Matrix has only 5 degrees of freedom and can, in theory, be estimated by analyzing correspondences between just 5 points (Nis04). The 5-point algorithm is in fact the standard method for estimating the Essential Matrix; however, its implementation is extremely complex.
Using only 5 correspondences, matrix of system (10.57) has a rank deficiency of 4.
The Essential Matrix must therefore be expressed as a linear combination of the last 4 columns of matrix
obtained from the SVD, namely:
| (10.62) |
The need to solve a nonlinear system nevertheless reduces the advantages over the solutions proposed in Section 10.4.2.
The generation of the Essential and Fundamental Matrices using SVD, followed by their enforcement through equalization of the singular values, is highly sensitive to noise.
Matrix (10.54) is ill-conditioned. This occurs when one attempts to solve a linear system whose right-hand-side terms contain numbers with different orders of magnitude. The method proposed by Hartley (Har95) improves the solution by normalizing the point coordinates.
Coordinates and
are translated separately so that their centroids are at the origin, and rescaled so that their mean value is
(or
, the mean modulus) in the new coordinate systems
and
, respectively.
We therefore define two transformation matrices
and
such that
| (10.63) |
| (10.64) |
Paolo medici