Dense-SfM: Structure from Motion with Dense Consistent Matching

JongMin Lee, Sungjoo Yoo

Introduction

Structure from Motion (SfM) is a cornerstone of computer vision, enabling the estimation of 3D structures and camera poses from collections of 2D images. Traditionally, SfM pipelines have relied on sparse keypoint matching techniques, such as SIFT. While effective for highly textured environments, these methods often fail in "texture-less" regions—smooth walls, monochromatic surfaces, or reflective objects—where distinct visual features are scarce.

Dense-SfM introduces a novel framework designed to overcome these limitations by moving beyond sparse keypoints. By integrating dense matching with a unique track extension method powered by Gaussian Splatting (GS), the framework achieves significantly higher reconstruction density and accuracy, particularly in challenging visual environments.

The Challenge: Fragmented Tracks in Dense Matching

Recent advancements in deep learning have produced "dense matchers" (e.g., RoMa, DKM) capable of finding correspondences across almost every pixel in an image pair. However, applying these to SfM presents a significant hurdle: fragmented tracks.

In SfM, a "track" is a sequence of matching points across multiple images that represent a single 3D point. Standard dense matchers typically operate on image pairs. While they can match Image A to B and Image B to C, they often fail to maintain consistency across the entire sequence (A-B-C). These short, fragmented tracks lead to unstable Bundle Adjustment (the global optimization step in SfM), resulting in incomplete or inaccurate 3D models. Dense-SfM addresses this by ensuring multi-view consistency.

The Dense-SfM Pipeline

The authors propose a three-stage architecture to transform pairwise dense matches into robust, multi-view consistent 3D reconstructions.

1. Initial SfM via Dense Matching

The process begins by employing state-of-the-art dense matchers to establish initial correspondences. To ensure the quality of these matches, the system uses a bidirectional verification step. This filters out unreliable correspondences before constructing a preliminary, though initially fragmented, SfM model.

2. Track Extension via Gaussian Splatting

The core innovation of Dense-SfM is the use of Gaussian Splatting as a "visibility engine." The initial 3D points are represented as a collection of 3D Gaussians. By optimizing this GS model, the system can render the scene from various camera angles to determine which 3D points should be visible in specific frames.

When a point is predicted to be visible in a frame where it wasn't previously matched, it is projected back into the 2D image. This effectively "stretches" short pairwise tracks into long, multi-view tracks, providing the redundancy and geometric constraints necessary for stable optimization.

3. Iterative Multi-view Kernelized Refinement

To achieve sub-pixel precision, the framework introduces a Multi-view Kernelized Matching module. This module combines three distinct components:

  • Transformers: These capture global feature context across multiple views to understand the "what" of the scene.
  • Gaussian Processes (GP): These model coordinate embeddings to provide smooth, precise refinement of the "where."
  • Confidence Regression: Unlike traditional heuristics, this module explicitly learns to predict a confidence score for each refined match, allowing the optimizer to weight reliable matches more heavily.

Experimental Results

Dense-SfM was evaluated against rigorous benchmarks, including ETH3D, Texture-Poor SfM, and the Image Matching Challenge (IMC) 2021.

Accuracy and Completeness

On the ETH3D benchmark, Dense-SfM established a new state-of-the-art for high-resolution SfM. It achieved an accuracy of 84.79% at a 1cm threshold, a significant jump from the previous leading method (LoFTR + DFSfM), which reached approximately 80.38%.

Furthermore, the Track Extension method proved vital for model completeness. At a 5cm threshold on ETH3D, completeness improved to 36.35%, compared to 29.54% for baseline methods. This indicates that Dense-SfM not only places points more accurately but also reconstructs a much larger portion of the scene.

Performance in Texture-Poor Scenarios

The framework excels where traditional methods fail. In tests involving texture-less objects—such as smooth plastic toys—Dense-SfM successfully generated dense point clouds, whereas sparse methods produced virtually no usable data. This capability opens new doors for reconstructing manufactured objects and indoor environments with minimal visual detail.

Conclusion and Future Directions

Dense-SfM demonstrates that the key to superior 3D reconstruction lies in the length and consistency of feature tracks. By repurposing Gaussian Splatting as a geometric tool rather than just a rendering technique, the authors have bridged the gap between dense pairwise matching and global multi-view consistency.

While the current framework is highly effective, it faces challenges in scenes with extreme lighting changes or dynamic occlusions (e.g., moving people). Future iterations may incorporate advanced GS variants designed for dynamic environments, further enhancing the robustness of Dense-SfM for "in-the-wild" applications.

Summary updated

BibTeX
@inproceedings{lee2025dense,
  author = {JongMin Lee and Sungjoo Yoo},
  title = {{Dense-SfM: Structure from Motion with Dense Consistent Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00600},
}
Figure