Denoising under Epipolar Constraints

As discussed in section 10.3.1, triangulating noisy points yields non-intersecting lines. Linear triangulation techniques therefore estimate a 3D point that does not, in general, coincide with the solution that minimizes the reprojection error in the images. We have also seen that the optimal estimate of the noise-free points minimizes the quantity in equation 10.72 subject to the epipolar constraint 10.73. So far, however, given the Essential/Fundamental Matrix, this minimization has required the 3D point as an auxiliary variable and an (iterative) optimization technique, initialized, for example, using the triangulation of the skew lines corresponding to the noisy points.

A global nonlinear technique is available for finding the corrected correspondences $\left(\hat{\mathbf m}_1,\hat{\mathbf m}_2\right)$ that minimize reprojection error subject to the epipolar constraint. Triangulating these points then gives the optimal solution to the problem. Hartley (HS97) shows that this solution can be obtained by finding the roots of a sixth-degree polynomial.

As discussed in more detail in (Lin10), optimal triangulation can be formulated as the following minimization problem:

\begin{displaymath}
\min \left( \delta \mathbf{m}_2^{\top} \delta \mathbf{m}_2 + \delta \mathbf{m}_1^{\top} \delta \mathbf{m}_1 \right)
\end{displaymath} (10.90)

subject to the epipolar constraint
\begin{displaymath}
\hat{\mathbf{m}}_2^{\top} \mathbf{E} \hat{\mathbf{m}}_1 = (...
...f{E} (\mathbf{m}_1 - \mathbf{S}^\top \delta \mathbf{m}_1 ) = 0
\end{displaymath} (10.91)

where $\delta \mathbf{m}_1 = \mathbf{S} (\mathbf{m}_1 - \hat{\mathbf{m}}_1)$ and $\delta \mathbf{m}_2 = \mathbf{S} (\mathbf{m}_2 - \hat{\mathbf{m}}_2)$ have been defined, and the matrix
\begin{displaymath}
\mathbf{S} = \begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0
\end{bmatrix}\end{displaymath} (10.92)

extracts only the nonhomogeneous components of the vector. As seen previously, the points $\left( \hat{\mathbf{m}}_1, \hat{\mathbf{m}}_2 \right)$ are the estimated noise-free points, whereas $\left( \mathbf{m}_1, \mathbf{m}_2 \right)$ are the observed points.

This constrained minimization problem can be solved using Lagrange multipliers:

\begin{displaymath}
\mathcal{L}(\delta \mathbf{m}_1, \delta \mathbf{m}_2, \lamb...
...athbf{E} (\mathbf{m}_1 - \mathbf{S}^\top \delta \mathbf{m}_1 )
\end{displaymath} (10.93)

The gradient of the Lagrangian vanishes at
\begin{displaymath}
\begin{array}{l}
\hat{\mathbf{m}}_2^{\top} \mathbf{E} \hat{\...
...{E} \hat{ \mathbf{m} }_1 = \lambda \mathbf{n}_2 \\
\end{array}\end{displaymath} (10.94)

yielding five constraints in five unknowns (the differential coordinates and $\lambda$). These constraints can be parameterized in terms of an auxiliary variable, leading to the well-known sixth-degree equation. This approach is identical whether image points and the Fundamental Matrix or camera points and the Essential Matrix are used.

The same source (Lin10) also proposes suboptimal iterative techniques with low computational cost, in which the epipolar constraint is still satisfied at every iteration.

Once the noise-free image points have been obtained, the 3D point can be recovered using any triangulation technique (the skew-lines method from section 1.6.6 or the DLT from section 10.3.1). An alternative formulation (KK95) gives the 3D point formed by the intersection of the optical rays for two corresponding points expressed in camera coordinates $\hat{\mathbf{m}}'$ and $\hat{\mathbf{m}}$:

\begin{displaymath}
\mathbf{x} = \frac{ \left( \mathbf{t} \times \mathbf{R} \hat...
...bf{m}}' \right) \cdot \mathbf{z} }{ \Vert \mathbf{z} \Vert^2 }
\end{displaymath} (10.95)

where $\mathbf{z} = \hat{\mathbf{m}} \times \mathbf{R} \hat{\mathbf{m}}'$.

Paolo medici
2026-10-19