The Essential matrix can be derived in closed form by knowing the relative poses between the sensors, and with the knowledge of the intrinsic parameters of the involved cameras, it is possible to obtain the Fundamental matrix.
The most widespread application of the Essential (or Fundamental) matrix is to derive the relative pose between cameras, given a set of corresponding points. By knowing the intrinsic parameters, one can obtain the Essential matrix (and from this, derive the Fundamental matrix), or alternatively, one can derive the Fundamental matrix without any knowledge of the camera parameters.
The criterion for obtaining the matrix can be formalized as a minimization of a cost function
It can be observed that the epipolar constraint (9.45) can also be rewritten as
| (9.49) |
Collecting all the constraints , we obtain a homogeneous system of the form
| (9.52) |
To derive the Essential matrix, the discussion is analogous and it is the solution of a system
in the form
To the constraints expressed in these homogeneous systems, an additional one must always be added, for example
, which is typically already satisfied by linear solvers of homogeneous systems. This algorithm is therefore referred to as the eight-point algorithm since the solution to the problem requires at least 8 points to be determined. Additional constraints, in order to achieve the actual degrees of freedom of the matrices, cannot be expressed in linear form.
Due to noise, the matrices obtained from the linear system typically do not meet the requirement of having rank 2 (and in the case of the Essential matrix, therefore having a large number of degrees of freedom, which do not belong precisely to the subspace of Essential matrices).
A possible solution to this problem is to search for the matrix that is closest to the one returned by the linear system while still satisfying the rank constraint. This result can be achieved, for example, by using an SVD decomposition followed by a composition, as suggested by Tsai, Huang, and Hartley:
| (9.55) |
| (9.57) |
The matrices obtained through this reinforcement procedure satisfy all the requirements to be considered Fundamental or Essential matrices, but they do not represent an algebraic minimization, nor a geometric one, of the original constraints.
Algorithms that utilize fewer than 8 points to extract an Essential or Fundamental matrix are largely based 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 certain typical constraints of the problem at hand are enforced.
In a nonlinear manner, it is relatively easy to obtain a Fundamental matrix with only 7 points, considering that the matrix , formed by the elements of equation (9.51), must be of rank 7, as there are indeed 7 degrees of freedom in the Fundamental matrix.
By solving the system (9.51) formed by (at least) 7 points, a subspace of dimension 2 is obtained, consisting of two bases and
, to which two matrices
and
are associated: in the space of possible solutions, it is necessary to find a matrix
such that it has rank 2, which is achieved by imposing
, a nonlinear third-degree equation in
.
In this case, the real solutions of can be either 1 or 3: in the case of 3 real solutions, all three must be evaluated against the data to identify the most plausible one.
Utilizing only 5 correspondences, the matrix of the system (9.54) has a rank deficiency of 4. Therefore, the Essential matrix must be formed as a linear combination of the last 4 columns of the matrix
obtained from the SVD, namely:
| (9.59) |
The request to solve a non-linear system, however, diminishes the advantages compared to the solutions proposed in section 9.4.2.
The matrix (9.51) is ill-conditioned: this occurs when attempting to solve a linear system where the known terms consist of numbers with differing orders of magnitude. The method proposed by Hartley (Har95) suggests improving the solution by normalizing the coordinates of the points.
The coordinates and
are translated separately to achieve a zero centroid and rescaled to have an average value of
(or
as the average value of the modulus) in the new coordinate systems
and
, respectively.
We therefore define two transformation matrices and
such that
| (9.60) |
In this way, it is possible to determine the compatible fundamental matrix
| (9.61) |
from which the original matrix
can then be derived.
Paolo medici