Learning Depth from Single Monocular Images Using Deep Convolutional Neural Fields.

Fayao Liu, Chunhua Shen, Guosheng Lin, Ian D. ReidIEEE TPAMI 2015 · DOI

Abstract

In this article, we tackle the problem of depth estimation from single monocular images. Compared with depth estimation using multiple images such as stereo depth perception, depth from monocular images is much more challenging. Prior work typically focuses on exploiting geometric priors or additional sources of information, most using hand-crafted features. Recently, there is mounting evidence that features from deep convolutional neural networks (CNN) set new records for various vision applications. On the other hand, considering the continuous characteristic of the depth values, depth estimations can be naturally formulated as a continuous conditional random field (CRF) learning problem. Therefore, here we present a deep convolutional neural field model for estimating depths from single monocular images, aiming to jointly explore the capacity of deep CNN and continuous CRF. In particular, we propose a deep structured learning scheme which learns the unary and pairwise potentials of continuous CRF in a unified deep CNN framework. We then further propose an equally effective model based on fully convolutional networks and a novel superpixel pooling method, which is ~10 times faster, to speedup the patch-wise convolutions in the deep model. With this more efficient model, we are able to design deeper networks to pursue better performance. Experiments on both indoor and outdoor scene datasets demonstrate that the proposed method outperforms state-of-the-art depth estimation approaches.

Introduction

Estimating 3D depth from a single 2D image (monocular depth estimation) is a classic "ill-posed" problem in computer vision. Because a single 2D projection can correspond to infinitely many 3D scenarios, computer systems struggle to replicate the effortless depth perception of humans. Prior approaches often relied on hand-crafted features or rigid geometric assumptions—like "box models" for indoor rooms—which fail to generalize to complex, arbitrary scenes. While deep learning has revolutionized image classification, applying it to structured output problems like depth (where neighboring pixels are highly correlated) requires more than just simple regression. This work bridges this gap by combining the representational power of CNNs with the structural modeling of continuous Conditional Random Fields (CRFs).

Methods: Deep Convolutional Neural Fields

The proposed framework, Deep Convolutional Neural Fields (DCNF), formulates depth estimation as a continuous CRF. This approach allows for the joint learning of unary and pairwise potentials within a unified deep CNN framework.

Unary and Pairwise Potentials

The model consists of two primary components:

  1. Unary Potentials: A CNN takes image patches centered on superpixels to regress a depth value ($z_p$).
  2. Pairwise Potentials: A separate network learns the similarity between neighboring superpixels to enforce smoothness, ensuring that similar-looking adjacent regions have similar depths.

Unlike previous hybrid models that train components separately, DCNF allows for joint training of both potentials via backpropagation.

The DCNF model architecture, showing how unary and pairwise potentials are combined in a CRF loss layer.

Efficiency via Superpixel Pooling

To overcome the computational redundancy of processing thousands of overlapping patches, the authors introduced DCNF-FCSP (Fully Convolutional + Superpixel Pooling). This variant uses a Fully Convolutional Network (FCN) to generate feature maps for the entire image in one pass. A novel Superpixel Pooling layer then maps these dense features back to irregularly shaped superpixels, preserving object boundaries while achieving a 10x speedup.

Experiments and Results

The model was rigorously evaluated on three major benchmarks: NYU v2 (indoor), Make3D (outdoor), and KITTI (driving).

Performance and Visual Quality

DCNF outperformed existing methods across all datasets. On NYU v2, it achieved a significant lead in accuracy metrics compared to previous multi-scale CNN approaches. Qualitatively, the model produces depth maps with much sharper transitions at object edges, avoiding the "blurry" look common in earlier deep learning depth estimators.

Qualitative results on NYU v2 and Make3D datasets, showing input images, ground truth, and the model's predictions.

Key Insights

  • Continuous Advantage: Because depth is continuous, the CRF partition function can be solved analytically in closed form, allowing for exact log-likelihood maximization during training.
  • Structured Learning: Explicitly modeling relationships between neighboring regions results in depth maps that respect object boundaries far better than standard CNN regression.

Conclusion

The Deep Convolutional Neural Field approach successfully integrates deep CNNs with continuous CRFs for monocular depth estimation. By leveraging fully convolutional architectures and superpixel pooling, the model achieves state-of-the-art performance with high efficiency. Future work may involve integrating explicit geometric priors, such as vanishing points or ground plane assumptions, to further enhance performance in specific environments.

Summary updated

BibTeX
@article{liu2015learning,
  author = {Fayao Liu and Chunhua Shen and Guosheng Lin and Ian D. Reid},
  title = {{Learning Depth from Single Monocular Images Using Deep Convolutional Neural Fields.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2015},
  doi = {10.1109/tpami.2015.2505283},
}
Figure