TL;DR
This paper introduces a lightweight, real-time post-processing network designed to eliminate "flicker" in video depth maps. By treating temporal inconsistency as a form of depth noise and using a scale-and-shift decomposition, the authors achieve smoother, more stable depth sequences that significantly improve downstream applications like video bokeh and augmented reality.
What Problem Does This Paper Address?
Monocular depth estimation—predicting 3D distance from a single 2D image—has come a long way. However, when you apply these models to video frame-by-frame, the results often "flicker." Because the model sees each frame in isolation, slight changes in lighting or perspective cause the predicted depth values to jump around inconsistently over time.
While there are existing "video-based" depth methods that fix this, they usually rely on complex geometric cues and precise camera pose estimation (similar to SLAM). These methods are computationally heavy and often too slow for real-world, real-time applications on consumer devices. The authors set out to find a "middle ground": a method that provides temporal stability without the massive computational overhead.
Methods
The authors propose a Depth Noise Smoothing Network. Instead of trying to re-calculate the depth from scratch, they treat the flickering as "noise" that needs to be smoothed out.
Key technical features include:
- Recurrent Scale-Shift Structure: The network takes two consecutive depth frames ($D_{t-1}$ and $D_t$) as input. Instead of outputting a new depth map directly, it predicts two components: a scale map and a shift map. The final denoised depth is calculated as: $D'_t = Scale * D_t + Shift$. This approach preserves the structural detail of the original depth map while correcting the global and local inconsistencies.
- Temporal Loss ($L_{TC}$): To train the model, they use a loss function that penalizes differences between the current frame and the previous frame after it has been "warped" using optical flow. This forces the network to ensure that a point in space has a consistent depth value across frames.
- Lightweight Architecture: The network is intentionally small, consisting of just two convolutional layers, five residual blocks, and a transposed convolutional layer. This allows it to run in real-time.
Datasets
- Training: The model was trained on a dataset of disparity maps and RGB images derived from 3D movie processing. This provides a variety of natural scenes with ground-truth-like depth information.
- Evaluation: The authors used the Sintel dataset, a standard benchmark for optical flow and depth, to quantitatively measure how well their method reduces error and flickering.
Key Insights and Ideas
- Flicker as Noise: The most important conceptual shift here is treating temporal inconsistency as a denoising problem rather than a 3D reconstruction problem. This allows the use of much faster image-processing architectures.
- Decomposition is Key: By splitting the correction into "scale" and "shift," the model can handle the two most common types of depth errors: global depth drift (the whole scene getting closer/further) and local flickering (specific objects jumping in depth).
- Model Agnostic: Because this is a post-processing step, it can be "plugged in" behind any existing single-frame depth estimation model (like MiDaS or DPT) to instantly make it video-ready.
Key Results
The authors tested their method against several state-of-the-art models (LeReS, DPT, and MiDaS).
- Temporal Stability: The most dramatic improvement was in $T_{warp}$ (warping error), which measures flicker. For the MiDaS model, the warping error dropped from 0.135 to 0.052—a massive reduction in visual jitter.
- Accuracy Boost: Interestingly, the denoising process also slightly improved standard depth accuracy metrics (like AbsRel and RMSE), suggesting that temporal consistency actually helps the model find more "correct" depth values by averaging out random single-frame errors.
- Real-Time Performance: The method is efficient enough for "screen-based applications," making it viable for mobile video effects.
Limitations and Future Work
As a focused contribution, some limitations and areas for future exploration include:
- Dependency on Optical Flow: During training, the method relies on FlowNet2 to compute optical flow. The quality of the denoising is somewhat tied to how well the motion between frames can be tracked.
- Extreme Motion: The paper doesn't explicitly detail how the model handles very fast motion or large occlusions where optical flow typically struggles.
- Future Directions: The authors suggest this work is particularly motivated by "screen editing" (like video bokeh) rather than high-precision scene reconstruction, implying future work might focus on further optimizing for mobile hardware.
Summary updated