Maximum-Likelihood Estimation

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 $\mathbf {p}_2$ and the epipolar line $\mathbf{F}\mathbf{p}_1$ can be used as a measure of geometric error:

\begin{displaymath}
d \left( \mathbf{p}_{2}, \mathbf{F} \mathbf{p}_{1} \right) ...
...right)_1^{2} + \left( \mathbf{F}\mathbf{p}_1 \right)_2^{2} } }
\end{displaymath} (10.68)

where $(.)_i$ denotes the \(i\)-th component of the vector (see section 1.6.3 for the point-to-line distance equation). The smaller the distance, the better the matrix $\mathbf{F}$ satisfies the epipolar constraint for the observed correspondences.

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:

\begin{displaymath}
\min_\mathbf{F} \sum_i \left( d\!\left( \mathbf{p}_{1,i}, \...
...\mathbf{p}_{2,i}, \mathbf{F}\mathbf{p}_{1,i} \right)^2 \right)
\end{displaymath} (10.69)

Here, too, a solution with 8 unknowns can be sought, but for a robust solution, $\mathbf{F}$ 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 $\left( \mathbf{p}_{1}, \mathbf{p}_{2} \right)$ and the manifold $\hat{\mathbf{p}_{2}}^{\top}\mathbf{F} \hat{\mathbf{p}_{1} }=0$ can thus be defined using the metric

\begin{displaymath}
r\left( \mathbf{p}_{1}, \mathbf{p}_{2}, \mathbf{F} \right) ...
... \mathbf{p}_2)_1^2 + (\mathbf{F}^{\top} \mathbf{p}_2)_2^2 } }
\end{displaymath} (10.70)

where $(.)_i$ again denotes the \(i\)-th component of the vector. Using this approximate metric, while still enforcing the additional constraint $\det \mathbf{F} = 0$, it is possible to minimize
\begin{displaymath}
\min_{\mathbf{F}} \sum_{i=1}^{n} r\left( \mathbf{p}_{1,i}, \mathbf{p}_{2,i}, \mathbf{F} \right)^{2}
\end{displaymath} (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

\begin{displaymath}
\min_{\mathbf{F}, \hat{\mathbf{p}}_{1,i}, \hat{\mathbf{p}}_...
...rt^2 + \Vert \mathbf{p}_{2,i} - \hat{\mathbf{p}}_{2,i} \Vert^2
\end{displaymath} (10.72)

where $\hat{\mathbf{p}}_{1,i}$ and $\hat{\mathbf{p}}_{2,i}$ denote the exact points, and $\mathbf{p}_{1,i}$ and $\mathbf{p}_{2,i}$ the corresponding measured points, corrupted by independent, zero-mean white Gaussian noise. Cost function (10.72) must be minimized subject to the constraint
\begin{displaymath}
\hat{\mathbf{p}}^{\top}_{2,i} \mathbf{ F } \hat{\mathbf{p}}_{1,i} = 0
\end{displaymath} (10.73)

and the additional constraints imposed by the nature of $\mathbf{F}$. In this case, the exact points $\hat{\mathbf{p}}_{1,i}$ and $\hat{\mathbf{p}}_{2,i}$ become part of the problem as auxiliary variables (subsidiary variables). However, introducing points $\hat{\mathbf{p}}_{1,i}$ and $\hat{\mathbf{p}}_{2,i}$ as unknowns turns the problem into a nonlinear constrained optimization that, although formally solvable, is impractical to solve directly.

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 $\hat{\mathbf{x}}_{i}$ 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 $\hat{\mathbf{x}}_{i}$ onto the respective observations in the two sensors can be used:

\begin{displaymath}
\begin{array}{l}
\hat{\mathbf{p}}_{1,i} \equiv \mathbf{K}_...
...f{R} \hat{\mathbf{x}}_{i} + \mathbf{t} \right) \\
\end{array}\end{displaymath} (10.74)

where the matrix $\mathbf{R}$ can be expressed using a 3-variable parameterization (see section A), while the vector $\mathbf{t}$ must be represented using a 2-variable parameterization (since its scale remains unknown). By incorporating constraints (10.74) into equation (10.72), the goal of estimating the Essential Matrix becomes that of directly estimating the relative parameters of the two sensors. Once the relative pose of the two sensors has been obtained, the Essential Matrix can be derived directly by applying the definition in equation (10.43).

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 $\mathbf{K}_1=\mathbf{I}$ and obtaining constraints of the form:

\begin{displaymath}
\begin{array}{l}
\hat{\mathbf{p}}_{1,i} \equiv \hat{\mathb...
...}_{2,i} \equiv \mathbf{P} \hat{\mathbf{x}}_{i} \\
\end{array}\end{displaymath} (10.75)

using the auxiliary variable $\hat{\mathbf{x}}_{i}$ directly. This coordinate is therefore known up to an affine transformation $\mathbf{K}_1^{-1}$, namely the intrinsic parameters of camera 1.

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 $\mathbf{P}$. Using the camera matrix $\mathbf{P}=\left[ \mathbf{R}' \vert \mathbf{t}' \right]$, a fictitious camera matrix, it is finally possible to obtain $\mathbf{F}$ by applying definition (10.43), although the matrix $\mathbf{R}'$ 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 $\mathbf{P}$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.



Footnotes

...#tex2html_wrap_inline17727#10.4
In practice, 12 coefficients and 11 degrees of freedom
Paolo medici
2026-10-19