DATAP-SfM: Dynamic-Aware Tracking Any Point for Robust Structure from Motion in the Wild

Weicai Ye, Xinyu Chen, Ruohao Zhan, Di Huang, Xiaoshui Huang, Haoyi Zhu, Hujun Bao, Wanli Ouyang, Tong He, Guofeng ZhangarXiv 2024 · DOI

Abstract

Traditional Structure from Motion (SfM) algorithms often fail in dynamic environments due to the assumption of a static world. DATAP-SfM addresses this by introducing a transformer-based framework that jointly predicts point trajectories, visibility, and dynamic labels. By integrating consistent video depth priors, the method overcomes scale ambiguity and cumulative drift, enabling high-fidelity 3D reconstruction from casual, "in-the-wild" videos.

Introduction

Structure from Motion (SfM) is a cornerstone of 3D computer vision, yet its reliance on a static scene assumption limits its utility in real-world scenarios featuring moving objects like cars or pedestrians. Conventional tools like COLMAP struggle to differentiate between camera motion and object motion. Recent attempts to mitigate this, such as ParticleSfM, rely on chaining optical flow, which suffers from cumulative drift and scale ambiguity in monocular depth estimation.

Methodology: Dynamic-Aware Tracking

DATAP-SfM proposes a unified pipeline for tracking and motion segmentation. Unlike frame-to-frame chaining, it utilizes a Transformer-based Tracking module that operates on a sliding window of frames. This approach allows the model to exploit temporal correlations across the entire trajectory, significantly reducing drift.

DATAP-SfM tracks dynamic objects like this soapbox racer by predicting trajectories and dynamic labels simultaneously.

The system performs Joint Prediction for every point, estimating its 2D location, visibility, and a "dynamic label" (static vs. moving). To resolve scale ambiguity, the authors incorporate a Consistent Depth Prior. By using depth maps with stable scaling across video frames, the system can back-project 2D tracks into 3D space, accurately identifying moving points. Finally, a global Bundle Adjustment (BA) is performed exclusively on static, visible points to recover the camera trajectory and scene structure.

Experimental Results

The framework was evaluated on synthetic (MPI Sintel) and real-world (TUM RGBD, DAVIS) datasets. DATAP-SfM sets a new state-of-the-art for dynamic SfM through several key performance metrics:

  • Accuracy: On the MPI Sintel dataset, DATAP-SfM achieved an Absolute Trajectory Error (ATE) of 0.104m, outperforming ParticleSfM (0.129m) and DROID-SLAM (0.175m).
  • Real-World Robustness: In the DAVIS dataset, where traditional SfM often fails to register frames, DATAP-SfM produced smooth trajectories and dense reconstructions.
The system demonstrates robust performance in complex urban environments, accurately reconstructing scenes with moving vehicles.
  • Indoor Performance: On dynamic TUM RGBD sequences, the method showed a 26.6% improvement in ATE over existing state-of-the-art methods.

Discussion and Conclusion

DATAP-SfM demonstrates that motion is a geometric feature that can be learned without explicit semantic segmentation. By leveraging sliding window transformers and consistent depth, it provides a robust solution for "in-the-wild" SfM. While currently an offline process dependent on depth quality, future work involves scaling training to larger datasets and optimizing for real-time applications.

Summary updated

BibTeX
@misc{ye2024datap,
  author = {Weicai Ye and Xinyu Chen and Ruohao Zhan and Di Huang and Xiaoshui Huang and Haoyi Zhu and Hujun Bao and Wanli Ouyang and Tong He and Guofeng Zhang},
  title = {{DATAP-SfM: Dynamic-Aware Tracking Any Point for Robust Structure from Motion in the Wild}},
  year = {2024},
  eprint = {2411.13291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13291},
}
Figure