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.
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.
- 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