Direction matters: Depth estimation with a surface normal classifier

Christian Hane, Lubor Ladicky, Marc Pollefeys

Abstract

Traditional depth estimation techniques often struggle with texture-less, reflective, or overexposed surfaces where visual matching fails. This paper presents a novel framework that integrates a data-driven surface normal classifier into a global optimization process. By predicting the orientation of surfaces, the system effectively resolves depth ambiguities in challenging environments, leading to more structurally sound and accurate 3D reconstructions.

Introduction

Estimating depth from images is a fundamental task in computer vision, essential for applications ranging from robotics to augmented reality. Whether using stereo pairs or single images, standard algorithms typically rely on matching visual features between views or across patches. However, this approach breaks down in scenarios where features are absent or misleading, such as white walls, shiny floors, or blown-out highlights.

While global optimization can smooth depth maps, traditional "smoothness" priors are often isotropic and lack geometric context. This research argues that surface orientation is a critical missing piece. By predicting the "normal" (the direction a surface faces) for each pixel, the algorithm can apply more intelligent constraints, ensuring that a floor remains horizontal and a wall remains vertical even when visual data is sparse.

Methodology

The proposed framework combines traditional matching costs with a regularization term informed by surface normals.

Surface Normal Classification

A machine learning model, based on a boosting regression framework, is trained to predict surface orientations from a single image. Rather than a single prediction, the classifier outputs scores for 40 potential orientations. This allows the global optimizer to consider multiple hypotheses, letting the surrounding context determine the most likely orientation.

Surface normal classification provides a geometric prior for the optimization framework, identifying orientations even in texture-less regions.

Volumetric Optimization

The 2D depth estimation problem is "lifted" into a 3D volume. The goal is to find a surface (a "cut") through this volume that minimizes a total energy cost. This formulation makes the optimization convex, ensuring a globally optimal solution and avoiding the local minima common in other techniques.

Anisotropic Regularization

The core innovation lies in using "Wulff shapes" to define the cost of the surface. If the classifier indicates a high probability of an upward-facing surface (like a floor), the optimization makes it computationally "cheap" to form a horizontal surface and "expensive" to form a vertical one. Additionally, image gradients are integrated to allow for sharp depth discontinuities at object boundaries.

Experimental Results

The method was evaluated on the KITTI outdoor benchmark for stereo matching and the NYU Indoor Dataset for single-view depth estimation.

Quantitative Performance

  • Stereo (KITTI): The error rate (pixels with >3px error) was reduced from 7.90% to 6.57%. The most significant gains were seen in reflective regions, where errors dropped from 24.92% to 20.31%.
  • Single-View (NYU): The absolute difference in depth labels (M1 measure) improved from 1.2548 to 1.1724.

Qualitative Analysis

The inclusion of surface normals significantly improved the structural integrity of the resulting 3D models. Sharp details, such as table corners and furniture edges, are preserved far better than in baseline methods, which often produce blurred or "bleeding" depth maps. The resulting 3D point clouds appear much more structurally sound and less noisy than those produced by standard methods.

The complete pipeline from input image to 3D reconstruction, demonstrating the impact of surface normal priors on depth fidelity and structural consistency.

Conclusion

By incorporating surface orientation as a geometric prior, this work demonstrates a robust method for overcoming the inherent limitations of feature-based depth estimation. While the volumetric optimization is computationally demanding, the resulting improvements in both accuracy and visual fidelity are substantial. Future work may involve integrating semantic labels to further refine surface normal predictions and improve reconstruction quality for specific object classes.

Summary updated

BibTeX
@inproceedings{hane2015direction,
  author = {Christian Hane and Lubor Ladicky and Marc Pollefeys},
  title = {{Direction matters: Depth estimation with a surface normal classifier}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298635},
}
Figure