TL;DR
This paper tackles the challenge of monocular depth estimation by leveraging readily available relative depth information from stereo videos. They introduce a new dataset, RDIS, and a novel approach that pretrains a network on relative depths before finetuning with metric depths, formulating depth estimation as a classification task with an information gain loss, achieving state-of-the-art results.
What Problem Does This Paper Address?
Estimating depth from a single image (monocular depth estimation) is a crucial task in computer vision, enabling applications like 3D reconstruction and scene understanding. However, most existing methods rely heavily on large datasets with precise, metric ground-truth depth information. Acquiring such data is expensive and time-consuming, and existing datasets are often limited in diversity, especially for outdoor scenes. While unsupervised methods using stereo videos exist, their performance is often suboptimal due to the lack of direct depth supervision. This paper aims to bridge this gap by showing that relative depth cues, easily obtainable from stereo videos, can significantly improve metric depth estimation performance, even without metric ground-truth during the initial training phase.
Methods
The authors propose a three-step approach:
- Relative Depth Generation: They utilize existing stereo matching algorithms (specifically, semi-global matching with absolute difference cost and bilateral filtering) to extract dense relative depth maps from stereo movie videos. Since these videos lack camera parameters, only relative depths can be obtained.
- Pretraining with Relative Depths: A ResNet architecture is pretrained on their newly created "Relative Depth in Stereo" (RDIS) dataset. This pretraining step leverages the rich relative depth information to learn general scene structures and relationships.
- Finetuning with Metric Depths (Classification Task): The pretrained network is then finetuned on standard RGB-D datasets with metric ground-truth depths. Crucially, depth estimation is reframed as a classification problem. Continuous depth values are discretized into bins, and the network predicts a probability distribution over these bins. This allows for the calculation of prediction confidence.
- Information Gain Loss: To effectively utilize the predicted confidences, an "information gain loss" is introduced. This loss function prioritizes learning from predictions that are close to the ground truth, effectively making better use of the classification output.
Datasets
- Relative Depth in Stereo (RDIS) Dataset: A novel dataset introduced by the authors, containing approximately 97,652 training images with dense relative depth labels. These labels are generated from 70 3D movies using stereo matching and manual post-processing for accuracy.
- NYUD2: A popular indoor RGB-D dataset used for finetuning and evaluation.
- KITTI: A widely used outdoor RGB-D dataset used for finetuning and evaluation.
- Depth in the Wild (DIW): A dataset used for evaluating relative depth estimation performance.
Key Insights and Ideas
- Relative Depth as a Powerful Prior: The paper strongly demonstrates that relative depth information, even without metric accuracy, is a highly valuable cue for learning robust monocular depth estimation models.
- Depth as a Classification Problem: Reframing depth estimation as a classification task, rather than a direct regression, allows for the estimation of prediction confidence (probability distribution). This is a key enabler for the information gain loss.
- Information Gain Loss for Better Learning: The proposed information gain loss effectively leverages the confidence estimates from the classification approach, leading to improved performance, especially for predictions close to the ground truth.
- RDIS Dataset's Value: The RDIS dataset, despite being smaller than some existing datasets, proves to be highly effective for pretraining, significantly boosting performance on downstream metric depth estimation tasks.
Key Results
- The proposed method achieves state-of-the-art performance on both the NYUD2 and KITTI datasets across multiple evaluation metrics (accuracy with different thresholds, relative error, log10 error, and root mean squared log error).
- Pretraining on the RDIS dataset significantly improves depth estimation performance compared to training from scratch or pretraining on other datasets like DIW.
- The classification-based approach outperforms traditional regression-based methods on the NYUD2 and KITTI datasets.
- The information gain loss provides a tangible improvement in performance over standard finetuning without it.
- The authors also show competitive results on the DIW dataset for relative depth estimation.
Limitations and Future Work
- Test Set for RDIS: The paper notes that their RDIS dataset does not include a test set. This is attributed to the goal of improving metric depth estimation and the inherent noisiness of directly generated disparities.
- Post-processing Effort: While the stereo matching is automated, the manual post-processing of relative depth maps for the RDIS dataset is time-consuming (averaging 90 seconds per image).
- Future Work: The authors suggest that their RDIS dataset and learning scheme can be extended for 2D-to-3D video conversion, similar to Deep3D.
Summary updated