Fine-Scale Surface Normal Estimation Using a Single NIR Image

Youngjin Yoon, Gyeongmin Choe, Namil Kim, Joon-Young Lee, In So Kweon

Abstract

We present surface normal estimation using a single near infrared (NIR) image. We are focusing on reconstructing fine-scale surface geometry using an image captured with an uncalibrated light source. To tackle this ill-posed problem, we adopt a generative adversarial network, which is effective in recovering sharp outputs essential for fine-scale surface normal estimation. We incorporate the angular error and an integrability constraint into the objective function of the network to make the estimated normals incorporate physical characteristics. We train and validate our network on a recent NIR dataset, and also evaluate the generality of our trained model by using new external datasets that are captured with a different camera under different environments.

Introduction

Estimating the 3D geometry of an object from a single 2D image is a classic "ill-posed" problem in computer vision, known as Shape-from-Shading (SfS). A single 2D pattern of light and shadow can technically be produced by many different 3D shapes. Traditional SfS methods often rely on restrictive assumptions, such as perfectly uniform surface albedo, or require carefully calibrated lighting environments.

While deep learning models have significantly advanced depth estimation, they typically focus on "scene-level" geometry (e.g., identifying walls or floors) rather than capturing "fine-scale" details like the veins of a leaf or the texture of a fabric. This research aims to bridge this gap, recovering intricate surface textures from a single uncalibrated Near-Infrared (NIR) image.

Methodology

The proposed framework leverages a Generative Adversarial Network (GAN) specifically tailored for photometric geometry. A key innovation is the use of NIR images. Many materials exhibit "albedo simplicity" in the NIR spectrum; surfaces that appear patterned or multi-colored in visible light often show much more uniform reflectance in NIR. This simplifies the task of distinguishing between actual color changes and shading caused by 3D geometry.

GAN Architecture

The architecture consists of two main components: a fully convolutional Generator that processes a single NIR image to output a 3-channel surface normal map, and a Discriminator designed to distinguish between "real" normal maps and "fake" ones produced by the generator. This adversarial setup forces the generator to produce sharper, more realistic high-frequency details.

The proposed GAN architecture consisting of a generative network for normal estimation and a discriminative network for adversarial training.

Physics-Inspired Loss Functions

To avoid the blurry outputs common with standard pixel-wise error functions, the authors incorporate two critical physical constraints:

  • Angular Error: This minimizes the angle between the predicted normal vector and the ground truth, which is more physically relevant for 3D orientation than raw pixel values.
  • Integrability Constraint: This ensures the predicted normals represent a continuous, valid 3D surface by requiring the "curl" of the normal field to be zero, preventing the model from creating "impossible" geometries.

Data and Training

The model was trained and validated using a recent NIR benchmark dataset containing 101 real-world objects such as fabrics, leaves, and papers. Each object was captured from 9 viewing directions and 12 lighting directions. To focus the network on fine-scale textures, the data was augmented by breaking images into $64 \times 64$ patches. The model's generalization was further tested on external datasets captured under different environmental conditions and with different cameras to ensure the model was not simply memorizing the training set.

Experimental Results

The GAN-based approach demonstrates significant advantages in both speed and qualitative detail. It processes a normal map in approximately 2 seconds on a modern GPU, a massive improvement over the 10 minutes required by conventional optimization-based implementations. Quantitatively, the model achieved a mean angular error of approximately 15.56° across all views, dropping to 4.75° in the favorable "center view."

Qualitative comparison of estimated surface normals across different materials including fabric, paper, and a hand.

Qualitatively, the model successfully reconstructs complex details such as the bumpy surface of a glove, the stitches on a cap, and the intricate folds of crumpled paper. By operating in the NIR spectrum, the model avoids the confusion caused by visible patterns, and by learning the shading-shape relationship implicitly, it functions effectively with arbitrary, uncalibrated light sources.

Conclusion

While the model excels at capturing high-frequency textures, it can sometimes introduce distortions in the overall global (low-frequency) shape of an object. Future research could explore hybrid approaches that combine GAN-based fine-scale estimation with conventional rough geometry methods to achieve both accurate global shape and intricate surface detail.

Summary updated

BibTeX
@inproceedings{yoon2016fine,
  author = {Youngjin Yoon and Gyeongmin Choe and Namil Kim and Joon-Young Lee and In So Kweon},
  title = {{Fine-Scale Surface Normal Estimation Using a Single NIR Image}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  url = {https://openreview.net/forum?id=r148QqZdZH},
}
Figure