Closed-Form Optimal Two-View Triangulation Based on Angular Errors

Seong Hun Lee, Javier Civera · DOI · OpenReview

TL;DR

This paper introduces novel, exact closed-form solutions for two-view triangulation that minimize angular reprojection errors in L1 and L∞ norms. These methods are computationally efficient, guarantee global optimality, and are applicable to a wide range of central cameras, offering a significant improvement over existing techniques.

What Problem Does This Paper Address?

Triangulation, the process of determining the 3D position of a point from its 2D projections in multiple images, is a fundamental task in computer vision, crucial for applications like stereo vision, SLAM, and structure-from-motion. While ideal scenarios assume perfect measurements and camera parameters, real-world data is noisy. Traditional methods often rely on minimizing image reprojection errors (e.g., L2 norm), which can be sensitive to outliers and don't generalize well to non-perspective cameras (like fisheye or omnidirectional).

The paper addresses the limitations of existing triangulation methods by focusing on angular reprojection errors. This error metric is rotationally invariant and more suitable for various camera models. The challenge lies in finding optimal solutions that are both globally accurate and computationally efficient, as many existing methods are iterative, prone to local minima, or involve solving high-degree polynomials.

Methods

The core contribution of this paper is the derivation of exact closed-form solutions for two-view triangulation that minimize angular reprojection errors in the L1 and L∞ norms.

  • Angular Reprojection Error: Instead of minimizing the pixel distance between observed and reconstructed features, the paper minimizes the angle between the observed feature ray and the corrected ray that would lead to an intersection. This is defined as $\theta_i = \angle(\mathbf{f}_i, \hat{\mathbf{f}}_i)$, where $\mathbf{f}_i$ is the observed feature ray and $\hat{\mathbf{f}}_i$ is the corrected ray.
  • L1 and L∞ Optimization: The authors derive closed-form solutions for minimizing $\theta_0 + \theta_1$ (L1 norm) and $\max(\theta_0, \theta_1)$ (L∞ norm) subject to the epipolar constraint. A key insight for the L1 case is that the minimum is achieved by correcting only one of the two rays, not both.
  • L2 Optimization: The paper also presents a more compact and geometrically intuitive derivation for the L2 optimal solution based on angular errors.
  • Cheirality Constraint: The methods incorporate a check for the cheirality constraint (ensuring points are in front of the cameras), discarding results that violate it.

Datasets

The paper evaluates its methods on both synthetic and real-world datasets:

  • Synthetic Datasets: Generated with 2,500 points, varying radial distributions, and perturbed by Gaussian noise with different standard deviations. Camera configurations included "orbital," "lateral," and "forward" poses.
  • Real-World Datasets:
    • Oxford Dinosaur, Model House, and Corridor datasets.
  • Notre Dame dataset.
  • Fountain dataset.

These datasets collectively represent over 5.5 million triangulation problems across diverse geometric configurations.

Key Insights and Ideas

  • Angular Error is Universally Applicable: The angular reprojection error is rotationally invariant, making the derived solutions applicable to any central camera model (perspective, fisheye, omnidirectional, etc.) without modification.
  • L1 Minimization Simplicity: A surprising finding is that the optimal L1 solution for angular errors is achieved by correcting only one of the two feature rays, significantly simplifying the problem.
  • Closed-Form Guarantees Global Optimality: Unlike iterative methods, the closed-form solutions directly compute the globally optimal triangulation for the chosen error metric, avoiding local minima.
  • Computational Efficiency: The proposed methods are orders of magnitude faster than existing optimal triangulation techniques, making them suitable for real-time applications and large-scale SfM/SLAM.
  • Low Parallax Filtering Improves Accuracy: Discarding points with low parallax (small angular separation between rays) significantly helps in removing outliers and improving the overall 3D reconstruction accuracy.

Key Results

  • Accuracy: The proposed L1, L2, and L∞ angular methods consistently yield the lowest errors in their respective optimal criteria across all tested datasets, achieving 100% optimality in their defined metrics.
  • Speed: The proposed methods are significantly faster than existing optimal triangulation algorithms. For instance, the L1 and L∞ angular methods are 1-2 orders of magnitude faster than iterative methods like Lindstrom's [17]. The midpoint method is the fastest but does not optimize any error criterion.
  • Comparison: The angular L1 and L2 methods show very similar performance, with the L1 angular method sometimes outperforming Hartley-Sturm's L1 image error method due to its numerical stability.

Limitations and Future Work

  • Cheirality Constraint Handling: The paper acknowledges that if the optimal solution violates the cheirality constraint, the most reasonable approach is to discard the result. The paper outlines a procedure for this, but it implies that some matches might be lost.
  • Outlier Sensitivity: While the L1 norm is generally more robust to outliers than L2, the paper notes that the L∞ norm can be sensitive to outliers, though this sensitivity can be useful for outlier removal.
  • Future Work: The authors believe their methods will be particularly useful for large-scale SfM and real-time visual SLAM algorithms, suggesting their applicability in these domains. The paper's focus is on two-view triangulation, and extending these closed-form solutions to multi-view scenarios could be a natural next step.

Summary updated

BibTeX
@inproceedings{lee2019closed,
  author = {Seong Hun Lee and Javier Civera},
  title = {{Closed-Form Optimal Two-View Triangulation Based on Angular Errors}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00277},
}
Figure