Bilateral Normal Integration

Xu Cao, Hiroaki Santo, Boxin Shi, Fumio Okura, Yasuyuki Matsushita

Abstract

Bilateral Normal Integration (BiNI) is a novel framework for reconstructing 3D surfaces from normal maps that accurately preserves sharp depth discontinuities. Traditional integration methods often assume global surface smoothness, leading to "melting" artifacts at occlusion boundaries. BiNI overcomes this by introducing a "semi-smooth" surface assumption and a bilateral weighting scheme. Furthermore, a log-depth transformation allows for a unified treatment of orthographic and perspective camera models. Experimental results on synthetic and real-world datasets demonstrate that BiNI significantly outperforms existing state-of-the-art methods in both accuracy and visual fidelity.

Introduction

In computer vision, estimating the surface normals of an object—through techniques like photometric stereo or shape-from-polarization—is a common task. However, converting these normal maps into a 3D depth map (normal integration) remains challenging. Most algorithms assume the surface is continuous everywhere. In reality, scenes are filled with depth discontinuities caused by occlusions. Standard integration methods attempt to "bridge" these gaps, resulting in distorted surfaces where foreground and background objects appear unnaturally fused.

Methodology

The core innovation of BiNI is the semi-smooth assumption. Instead of requiring a surface to be differentiable everywhere, it assumes that at any point, the surface is continuous and differentiable on at least one side (e.g., left or right).

The semi-smooth assumption handles various discontinuity cases by selecting reliable directional derivatives.

To implement this, the authors use bilateral weighting. Similar to bilateral filtering in image processing, the algorithm calculates weights for derivatives on both sides of a pixel. If a large depth jump is detected on one side, the algorithm reduces its weight, "trusting" the more continuous side. This is implemented using a sigmoid function to determine which side is likely a discontinuity.

Another significant contribution is the unified PDE formulation. By transforming depth $z$ into log-depth $\tilde{z} = \ln(z)$, the complex partial differential equations (PDEs) associated with perspective cameras become linear and mathematically identical to the orthographic case. This allows a single solver to handle both camera models efficiently. The optimization is performed using Iteratively Re-weighted Least Squares (IRLS), which iteratively refines the surface to "snap" onto sharp edges.

Evaluation and Results

The authors evaluated BiNI using synthetic models (e.g., Stanford Bunny, Mitsuba-rendered scenes) and real-world benchmarks like DiLiGenT and DiLiGenT-MV.

Comparison of normal integration methods on the "Thinker" model. Standard methods (c) suffer from "melting" at discontinuities, while BiNI preserves sharp edges.

BiNI achieved state-of-the-art accuracy, reducing Mean Absolute Depth Error (MADE) significantly. For instance, on the "Cow" model in the DiLiGenT benchmark, BiNI achieved an error of 0.07mm, compared to 0.89mm for standard smooth integration. Qualitatively, BiNI is the first method to effectively preserve sharp depth gaps in perspective camera views, where previous methods typically produced blurred or "under-segmented" results.

Conclusion

BiNI offers a robust, easy-to-tune solution for 3D reconstruction from normals. Its primary strength lies in its ability to handle occlusions without complex hyperparameter tuning. While it currently relies on a smooth initial estimate and can be sensitive to extreme noise, it represents a major step forward in creating high-fidelity 3D models from 2D normal maps.

Summary updated

BibTeX
@inproceedings{cao2022bilateral,
  author = {Xu Cao and Hiroaki Santo and Boxin Shi and Fumio Okura and Yasuyuki Matsushita},
  title = {{Bilateral Normal Integration}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19769-7\_32},
}
Figure