A Revisit to the Normalized Eight-Point Algorithm and A Self-Supervised Deep Solution

Bin Fan, Yuchao Dai, Yongduek Seo, Mingyi He

TL;DR

This paper challenges the decades-old standard of Hartley’s normalization in two-view geometry by proving that better, data-driven normalization schemes exist. The authors introduce a self-supervised deep learning module that predicts custom normalization parameters for each set of point correspondences, significantly improving the accuracy and numerical stability of fundamental matrix estimation.

What Problem Does This Paper Address?

In computer vision, the eight-point algorithm is a fundamental tool for estimating the geometric relationship between two images (the fundamental matrix). While simple to implement, the original version was notoriously sensitive to image noise. In 1997, Richard Hartley revolutionized the field by showing that a simple pre-processing step—translating and scaling image coordinates so they are centered at the origin with a specific average distance—dramatically improved results. This "Hartley’s normalization" became the gold standard for nearly 30 years.

However, Hartley’s approach is a "one-size-fits-all" heuristic. It doesn't account for the specific error distributions or the unique spatial layout of points in a given pair of images. The authors of this paper ask a bold question: Is Hartley’s normalization truly optimal, or can we find a better way to normalize data on a per-sample basis?

Methods

The authors tackle this problem from two angles: theoretical and practical.

  1. Theoretical Revisit: They prove that while an "ideal" condition number of 1 (perfect numerical stability) is mathematically impossible for the transformed coefficient matrix, there is significant room to improve upon Hartley's fixed scaling.
  2. Deep Learning Solution: They propose a deep convolutional neural network (CNN) designed to predict normalization matrices ($T$ and $T'$) directly from eight pairs of point correspondences.

Unlike standard deep learning models that require massive labeled datasets, this model uses a self-supervised learning strategy. It minimizes a geometric loss function—the symmetric epipolar distance—which measures how well the estimated fundamental matrix fits the input points.

The architecture (shown in Figure 5) is specifically designed to be permutation-invariant. This means that the order in which you input the eight points doesn't change the resulting normalization, a crucial property for geometric consistency.

Overview of the network architecture. It uses shared ResNet blocks and instance normalization to ensure the output is independent of the order of input points.

As illustrated in Figure 4, this learning-based module can be seamlessly swapped into traditional pipelines like RANSAC, replacing the standard Hartley normalization step.

Comparison between the traditional Hartley pipeline (a) and the proposed learning-based pipeline (b).

Datasets

The model was evaluated on three diverse datasets to test its accuracy and ability to generalize:

  • KITTI Odometry: Real-world outdoor driving sequences with dominant forward motion.
  • TUM RGB-D: Indoor sequences featuring complex handheld camera motions and varied scene geometry.
  • Cambridge (St. Mary’s Church): A large-scale outdoor urban localization dataset used to test how well the model performs on entirely unseen environments.

Key Insights and Ideas

  • Beyond Isotropic Scaling: While Hartley used simple uniform scaling, the proposed model learns to apply anisotropic scaling and rotation (parameters $\alpha_1, \alpha_2, \theta$). This allows the normalization to adapt to the specific "spread" of points in an image, as seen in Figure 1.
  • Numerical Stability is Key: The paper reinforces that the goal of normalization is to improve the condition number of the linear system. A lower condition number makes the algorithm far less susceptible to small errors in point measurements.
  • Self-Supervision Works: By using a geometric loss instead of ground-truth labels, the model learns the underlying physics of two-view geometry directly from raw image correspondences.
  • The "Better Rate": The authors introduce the concept of a "better rate"—the percentage of time their learned normalization outperforms the standard Hartley approach. They found this rate to be consistently high (over 85-90%) across different datasets.

Key Results

The learning-based approach consistently outperformed Hartley’s normalization in both synthetic and real-world tests:

  • Lower Error: As shown in Figure 1, the learned normalization results in a much lower symmetric epipolar distance (0.79 vs 2.09 in the example shown).
  • Improved Condition Numbers: Figure 8 demonstrates that the proposed method achieves significantly lower (better) average condition numbers compared to both unnormalized and Hartley-normalized versions across KITTI and TUM datasets.
  • Robustness: When integrated into a RANSAC framework, the method achieved a higher percentage of inliers and better F1 scores, especially in challenging scenarios with high noise.
Visual comparison of point distributions after normalization. The learned approach (bottom right) achieves a much lower error than Hartley's (top right).
Comparison of average condition numbers. Lower is better for numerical stability. The learning-based approach (green) consistently beats Hartley (yellow).

Limitations and Future Work

  • Computational Overhead: The authors acknowledge that their current forward propagation time is roughly 5 times slower than Hartley’s simple heuristic due to the 12-layer ResNet architecture.
  • Future Efficiency: A key direction for future work is designing a more lightweight network to bridge this speed gap without sacrificing accuracy.
  • Expansion: The authors plan to extend this self-supervised normalization logic to other multi-view geometry problems, such as triangulation and trifocal tensor estimation.

Summary updated

BibTeX
@article{fan2024revisit,
  author = {Bin Fan and Yuchao Dai and Yongduek Seo and Mingyi He},
  title = {{A Revisit to the Normalized Eight-Point Algorithm and A Self-Supervised Deep Solution}},
  journal = {Vis. Intell.},
  year = {2024},
  doi = {10.1007/s44267-024-00035-0},
}
Figure