Introduction
Estimating depth from images is a fundamental task in computer vision, critical for applications ranging from augmented reality (AR) to autonomous driving. While single-image depth estimation has seen significant progress, applying these models to video often results in temporal inconsistency. This manifests as distracting flickering or "swimming" artifacts, where depth values for the same spatial location jitter between frames due to camera noise or model aliasing.
Existing approaches typically fall into two categories:
- Offline Methods: These process the entire video sequence globally to ensure smoothness, making them unsuitable for real-time applications.
- Recurrent/Warping Methods: These propagate information between consecutive frames but often struggle to correct accumulated errors or handle dynamic objects moving independently of the camera.
This paper introduces a novel "online" depth estimation framework that achieves state-of-the-art temporal consistency by fusing current estimates with a dynamically updated global 3D point cloud.
Methodology
The proposed system utilizes a three-stage pipeline designed to maintain a persistent geometric "memory" of the scene.
1. Temporal Fusion
The system projects the existing 3D point cloud into the current 2D camera view to create a "prior" depth map. A lightweight CNN compares this prior with the raw depth estimate of the current frame. It generates a mask to distinguish between static scene elements and dynamic objects, blending the stable memory for static regions with the new estimate for moving parts.
2. Spatial Fusion
A second CNN estimates "aleatoric uncertainty" (confidence scores) for both the fused depth and the raw input. It performs a pixel-wise weighted blend to recover fine spatial details that might have been smoothed during the temporal fusion step.
3. Global Point Cloud Update
The refined depth map is used to update the global 3D point cloud. New points are added for previously unobserved areas, while existing points are refined using a weighted average of their position and color. This point-based representation is more memory-efficient and scalable than traditional voxel grids.
Key Insights
- Point-Based Scene Memory: Using a discrete point cloud allows for efficient, on-the-fly updates of large, complex scenes without the overhead of dense grids.
- Learned Confidence: Rather than relying on hard-coded heuristics, the system learns to weight its "trust" between the stable global memory and new, potentially noisy observations.
- Balancing Consistency and Accuracy: By using a global reference rather than simple frame-to-frame warping, the method prevents temporal drift while allowing for the correction of initial estimation errors.
Evaluation and Results
The fusion networks were trained on the FlyingThings3D dataset and a custom Blender Dataset designed to simulate indoor AR scenarios with moving characters. Evaluation on MPI Sintel and ScanNet demonstrated significant improvements.
- Temporal Stability: On the MPI Sintel dataset, the method reduced the Optical Flow-based Warping Error (OPW)—a primary metric for flickering—by 50% compared to the DPT backbone.
- Accuracy: The approach maintained or improved spatial accuracy metrics (RAE and RMS error) across both monocular and stereo configurations.
- Real-Time Performance: The fusion modules are highly efficient, adding only ~12ms of overhead on a modern GPU with a total parameter count of approximately 4.5M.
Limitations and Future Work
The current implementation assumes known camera poses, requiring integration with a SLAM system for real-world deployment. Additionally, while the method handles stereo video, it does not yet explicitly enforce cross-view consistency between stereo pairs. Future work may also involve integrating point cloud alignment techniques to mitigate scale drift in monocular sequences.
Summary updated