Uncertainty-Driven Dense Two-View Structure From Motion

Weirong Chen, Suryansh Kumar, Fisher Yu

TL;DR

DTV-SfM is a new dense two-view Structure from Motion (SfM) pipeline that uses per-pixel optical flow uncertainty to achieve state-of-the-art camera pose and depth accuracy. By treating flow, pose, and depth as an interdependent system, the authors introduce an iterative refinement loop that uses geometric "induced flow" to filter out noise and produce remarkably precise 3D reconstructions.

What Problem Does This Paper Address?

Structure from Motion (SfM) is the process of estimating 3D structures and camera motion from a series of 2D images. While sparse SfM (using a few hundred "keypoints") is a mature technology used in everything from AR to drone navigation, dense SfM—estimating the 3D position of every pixel—remains a significant challenge.

The primary hurdle is that per-pixel optical flow (matching every pixel between two frames) is inherently noisy. Factors like motion blur, textureless surfaces (like a white wall), and occlusions make perfect matching impossible. Most deep learning approaches try to regress pose and depth directly, often ignoring the strict geometric constraints of a rigid scene or failing to account for the reliability of their own pixel matches.

Methods

The authors propose DTV-SfM, a pipeline built on four key pillars:

  1. Uncertainty-Aware Optical Flow: Instead of just predicting where a pixel moved, the system uses a backbone (PDC-Net) to predict a probability distribution. This provides a "confidence score" for every single pixel match.
  2. Weighted Bundle Adjustment (WBA): The system solves for camera pose by minimizing reprojection error, but it weights the importance of each pixel based on its confidence score and whether it passed a RANSAC outlier check.
  3. Induced Flow: This is the "secret sauce." Once an initial pose and depth are estimated, the system projects the 3D points back into the second image to see where the pixels should be according to the geometry. This is called "induced flow."
  4. Iterative Refinement: The system compares the predicted optical flow with the geometrically "induced" flow. If they disagree, the confidence for those pixels is lowered, and the pose/depth are re-calculated. This loop continues until the geometry and the pixel matches are perfectly consistent.

Datasets

The model was evaluated on several standard benchmarks to prove its versatility across different environments:

  • YFCC100M: Large-scale internet photos of outdoor tourist sites.
  • ScanNet: Indoor RGB-D video sequences.
  • DeMoN: A specialized benchmark for two-view SfM containing diverse indoor and synthetic scenes.
  • KITTI VO: Real-world driving sequences used to test visual odometry.

Key Insights and Ideas

  • Uncertainty as a Filter: By explicitly modeling uncertainty, the algorithm knows which parts of an image to trust (high-texture areas) and which to ignore (sky, blank walls), preventing noisy data from ruining the camera pose estimate.
  • The Geometry Loop: In a rigid scene, flow, pose, and depth are mathematically linked. The authors realized that you can use the current "best guess" of the 3D structure to correct the 2D pixel matches, creating a virtuous cycle of improvement.
  • Hybrid Robustness: The paper demonstrates that combining "classical" techniques like RANSAC with "modern" deep learning uncertainty produces better results than using either in isolation.

Key Results

  • Superior Pose Accuracy: DTV-SfM outperformed the current "gold standard" for sparse matching (SuperPoint + SuperGlue) on the YFCC100M and ScanNet datasets.
  • State-of-the-Art on DeMoN: The method achieved the best results to date for both camera rotation and depth estimation on the DeMoN benchmark.
  • The Power of Iteration: On the Scenes11 dataset, the iterative refinement process reduced rotation error by 38% and translation error by 40% after just four iterations.
  • Efficiency: Despite the complexity, the entire pipeline runs in approximately 0.65 seconds per image pair on a standard NVIDIA 1080 Ti GPU, making it practical for near-real-time applications.

Limitations and Future Work

The current system assumes known camera intrinsics (focal length, etc.), meaning it isn't yet a "plug-and-play" solution for uncalibrated images found randomly on the web. Additionally, like most SfM systems, it assumes the scene is rigid; moving objects (like cars or pedestrians) can still introduce errors.

The authors suggest that future work will focus on extending this uncertainty-driven approach to fully uncalibrated SfM and scaling the pipeline from two-view to multi-view scenarios for even larger 3D reconstructions.

Summary updated

BibTeX
@article{chen2023uncertainty,
  author = {Weirong Chen and Suryansh Kumar and Fisher Yu},
  title = {{Uncertainty-Driven Dense Two-View Structure From Motion}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2023},
  url = {https://openreview.net/forum?id=7_HoacMf4uw},
}
Figure