Abstract
In this paper, we propose a method for estimating depth from a single image using a coarse-to-fine approach. We argue that modeling the fine depth details is easier after a coarse depth map has been computed. We express a global (coarse) depth map of an image as a linear combination of a depth basis learned from training examples. The depth basis captures spatial and statistical regularities and reduces the problem of global depth estimation to the task of predicting the input-specific coefficients in the linear combination. This is formulated as a regression problem from a holistic representation of the image. Crucially, the depth basis and the regression function are coupled and jointly optimized by our learning scheme. We demonstrate that this results in a significant improvement in accuracy compared to direct regression of depth pixel values or approaches learning the depth basis disjointly from the regression function. The global depth estimate is then used as a guidance by a local refinement method that introduces depth details that were not captured at the global level. Experiments on the NYUv2 and KITTI datasets show that our method outperforms the existing state-of-the-art at a considerably lower computational cost for both training and testing.
Introduction
Inferring 3D depth from a single 2D image is a classic "ill-posed" problem in computer vision—infinitely many 3D scenes could technically result in the same 2D photo. To solve it, algorithms must rely on statistical regularities, such as the fact that floors are typically at the bottom of an image or that objects appear smaller as they recede.
Existing methods typically fall into two camps: local methods that predict depth for small patches, which often lack global coherence, and global deep methods that regress depth for every pixel simultaneously. While powerful, these deep methods require enormous amounts of training data and heavy computational resources to avoid overfitting the high-dimensional output space. This paper proposes a middle ground: a method that captures the global "skeleton" of the scene first, then fills in the details, all while remaining computationally lean.
Methodology
The proposed framework utilizes a two-stage approach: Global Coupled Learning (GCL) followed by Refined Coupled Learning (RCL).
Global Coupled Learning (GCL)
Instead of trying to predict the value of every pixel directly, GCL approximates a depth map as a linear combination of a few "basis" depth maps (a dictionary). The key innovation is that the dictionary and the regression function are jointly optimized. This ensures the dictionary is specifically tuned to be predictable from image features. The model uses holistic features from a pre-trained "PLACES" network, as scene-level context is more relevant for depth than object-level features.
Local Refinement (RCL)
Because global estimates are often blurry, the RCL stage performs pixel-level regression. For each pixel, it extracts a "hypercolumn" feature—a stack of activations from various CNN layers—capturing both low-level edges and high-level semantics. Crucially, the global depth estimate from the first stage is fed into this local regressor as a guide, ensuring fine details remain consistent with the overall scene structure.
Experiments and Results
The model was evaluated on the NYUv2 (indoor) and KITTI (outdoor) benchmark datasets.
Accuracy and Efficiency
On the NYUv2 dataset, the method outperformed the then-current state-of-the-art, achieving a Root Mean Squared Error (RMSE) of 0.8025m. The efficiency gains were significant: while other deep models required days of GPU training, the GCL model could be trained in about 15 minutes on a standard CPU. Inference for the global estimate is produced in under a second, while the full refinement takes approximately 8 seconds per image.
Impact of Dictionary Size
By forcing the model to predict only a small set of dictionary weights (typically 48–96) instead of thousands of pixels, the authors effectively regularized the problem. This allows the model to achieve high accuracy even with 150x less training data than competing deep models. As shown in the following figure, increasing the dictionary size ($m$) leads to a consistent reduction in RMSE and improved qualitative reconstruction of scene details.
Conclusion
The coarse-to-fine framework demonstrates that joint optimization of a depth dictionary and a regression model provides a powerful, data-efficient alternative to direct pixel regression. While the refinement stage currently adds latency, future work could focus on integrating this refinement into an end-to-end deep learning approach to achieve real-time performance.
Summary updated