Deep Surface Normal Estimation on the 2-Sphere with Confidence Guided Semantic Attention

Quewei Li, Jie Guo, Yang Fei, Qinyu Tang, Wenxiu Sun, Jin Zeng, Yanwen Guo

Abstract

This paper presents a novel deep learning framework for high-quality surface normal estimation from a single RGB image and its corresponding noisy depth map. By formulating normal estimation as a regression problem on the 2-sphere ($S^2$) and introducing a Confidence Guided Semantic Attention (CGSA) module to mitigate depth noise, the proposed method achieves state-of-the-art performance on major indoor scene benchmarks. The architecture not only improves normal accuracy but also produces high-quality denoised depth maps as a secondary output.

Introduction

Surface normal estimation—determining the orientation of surfaces in a scene—is a fundamental task for 3D reconstruction and object recognition. While RGB-D sensors provide depth data that should simplify this task, raw depth maps are frequently incomplete and noisy, particularly around object boundaries and reflective surfaces.

Most existing deep learning models treat surface normals as standard 3D vectors in Euclidean space ($\mathbb{R}^3$). This approach suffers from two primary drawbacks: unconstrained outputs that require destabilizing normalization steps, and the loss of geometric detail when noisy depth regions are simply masked out. This research addresses these issues by leveraging the geometric constraints of the 2-sphere and a semantic attention mechanism to "repair" low-quality data.

Methodology

The proposed architecture utilizes a dual-branch autoencoder design to process color and depth information simultaneously.

The proposed dual-branch network architecture featuring CGSA and MFF modules for joint surface normal estimation and depth recovery.

Estimation on the 2-Sphere ($S^2$)

Instead of predicting $x, y, z$ coordinates, the network predicts two independent angles: azimuth ($\theta$) and elevation ($\phi$). This mathematical constraint ensures the output is naturally a unit vector, stabilizing training gradients. To account for the circular nature of these angles (where $-\pi$ and $\pi$ are identical), the authors implemented a specialized "circle loss" function.

Confidence Guided Semantic Attention (CGSA)

Rather than discarding noisy depth pixels, the CGSA module calculates a confidence map for the input depth. It then employs a semantic attention mechanism to identify similar, high-confidence patches within the RGB image to "inpaint" or refine features in low-confidence depth regions. This allows the model to preserve sharp geometric details, such as corners and edges, that are often lost in standard denoising.

Mutual Feature Fusion (MFF)

The MFF module facilitates deep interaction between the color and depth branches. Instead of simple concatenation, it learns a pixel-wise mapping function where one branch guides the other. This exploits the inherent correlations between light (color) and geometry (depth) to refine feature maps across the network.

Experiments and Results

The model was rigorously evaluated on three gold-standard indoor datasets: NYUD-v2, ScanNet, and Matterport3D.

Quantitative Performance

The proposed method consistently outperformed previous state-of-the-art models (e.g., HFM-Net and GeoNet) across all metrics. On the NYUD-v2 dataset, the model achieved a Mean Angle Error of 12.17°, a significant reduction from the previous best of 14.19°. Furthermore, the percentage of pixels with an angle error of less than $11.25^\circ$ reached 69.4%.

Qualitative Analysis

Visual comparisons indicate that the model produces much sharper edges on furniture and fewer artifacts in challenging areas like glass windows or monitors. The ground truth examples in the datasets illustrate the high-frequency geometric details that the model is now better equipped to capture.

Ground truth surface normal maps from the NYUD-v2 and ScanNet datasets, illustrating the target geometric detail.

Conclusion

By moving from Euclidean space to the 2-sphere and treating depth noise as an opportunity for semantic refinement rather than a reason for exclusion, this framework sets a new benchmark for surface normal estimation. Future work will explore the integration of Generative Adversarial Networks (GANs) to further enhance the sharpness of recovered textures and the use of even higher-resolution datasets as they become available.

Summary updated

BibTeX
@inproceedings{li2020deep,
  author = {Quewei Li and Jie Guo and Yang Fei and Qinyu Tang and Wenxiu Sun and Jin Zeng and Yanwen Guo},
  title = {{Deep Surface Normal Estimation on the 2-Sphere with Confidence Guided Semantic Attention}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58586-0\_43},
}
Figure