Abstract
Estimating consistent depth and camera poses from monocular video is a fundamental challenge in computer vision. Traditional methods often struggle with "casual" handheld footage characterized by motion blur, dynamic objects, and rolling shutter effects. This paper presents a robust approach that replaces rigid depth scaling with a flexible deformation-spline model and a geometry-aware filter, enabling stable 3D reconstruction from challenging real-world videos.
The Challenge of Casual Video
Estimating depth from video is essential for applications like Augmented Reality (AR) and 3D video stabilization. However, handheld cellphone videos are notoriously difficult for standard algorithms. These videos often contain motion blur, sensor noise, and dynamic elements like walking pedestrians.
Existing solutions typically fall into two categories:
- Traditional Geometric Methods (SFM/MVS): These rely on point matching across frames. While precise, they are brittle; shaky footage or lack of texture often causes the system to fail.
- Learning-based Methods: CNNs can predict depth from single images robustly, but they lack "geometric consistency." The depth predicted for an object often fluctuates between frames, leading to distracting flickering.
Hybrid approaches have attempted to bridge this gap but often require pre-computed, precise camera poses. If the initial Structure-from-Motion (SFM) step fails, the entire pipeline collapses.
Proposed Methodology
The authors propose a pipeline that jointly optimizes camera poses and depth alignment without requiring pre-computed poses.
- Initial Depth Prior: The system starts with a state-of-the-art single-image depth model (MiDaS) to generate a rough depth map for every frame.
- Flexible Deformation Splines: Instead of assuming the CNN's depth is perfectly accurate and only needs scaling, the authors introduce a bilinear spline. This allows the depth map to "flex" locally, aligning better with neighboring frames and preventing local errors from corrupting the camera pose optimization.
- Joint Optimization: Using the Ceres Solver, the system simultaneously solves for camera rotation, translation, focal length, and spline deformation parameters.
- Dynamic Object Masking: Mask R-CNN is used to identify and ignore moving objects (like people or cars) during pose optimization to maintain geometric accuracy.
- Geometry-aware Depth Filtering: A spatio-temporal filter follows optical flow trajectories and uses reprojected 3D geometry to sharpen fine details without the blurring common in standard filters.
Key Results and Insights
The core innovation is that flexibility equals robustness. By allowing the depth map to deform slightly, the optimization can absorb the noise inherent in CNN predictions, resulting in a much smoother camera trajectory.
- Superior Accuracy: On the MPI Sintel benchmark, the method significantly outperformed DeepV2D in both Absolute Trajectory Error (ATE) and Relative Pose Error (RPE).
- Unprecedented Robustness: Traditional SFM failed on nearly half of the Sintel sequences. This method successfully processed all of them, providing stable depth where previous hybrid methods could not.
- Qualitative Stability: The resulting depth maps eliminate the "flicker" of per-frame estimation and the "drift" typical of pure SLAM systems.
Limitations and Future Work
While a significant step forward, the authors noted a "residual wobble" in some sequences, suggesting that the current spline-based deformation might be too coarse. Future work may explore more granular, pixel-based deformation fields. Additionally, the process is currently optimization-heavy and not yet suitable for real-time mobile applications.
Summary updated