Deep Reflectance Maps

Konstantinos Rematas, Tobias Ritschel, Mario Fritz, Efstratios Gavves, Tinne Tuytelaars

Abstract

Estimating the appearance of shiny objects under natural lighting is a challenging inverse rendering problem. This paper introduces a deep learning framework to recover "reflectance maps"—spherical representations of how a material looks under specific illumination—from a single 2D image. By bypassing the need for explicit 3D models or light probes, this approach enables sophisticated image editing tasks like material transfer and virtual object insertion.

Introduction: The Challenge of Specular Surfaces

Decomposing an image into its fundamental components—shape, material, and illumination—is an "ill-posed" problem. For a shiny car, the pixel values are a complex product of its metallic paint, its 3D geometry, and the reflections of the surrounding environment. While prior work often focused on matte (Lambertian) surfaces, this research tackles specular materials under high-frequency, natural lighting.

Instead of attempting to separate light from material, the authors target the reflectance map. Also known as a "lit sphere" or "MatCap," this map stores the material's appearance for every possible surface orientation. This representation is sufficient for many graphics applications without requiring a full decomposition of the scene.

Methods: Direct and Indirect Estimation

The authors propose two neural architectures to solve this problem:

  1. The Direct Approach: An end-to-end CNN that maps a segmented object image directly to a dense reflectance map using an encoder-decoder structure.
  2. The Indirect Approach: A structured three-step pipeline involving surface normal prediction, mapping pixels to a sphere, and finally using SparseNet for learning-based interpolation to fill in missing data.
Sparse vs. dense reflectance maps generated by SparseNet.

The indirect method is particularly effective because surface orientation acts as a geometric "anchor," allowing the model to leverage physical constraints during training.

The SMASHINg Dataset

To train and evaluate these models, the authors created the SMASHINg (Specular MAterials on SHapes with complex IllumiNation) dataset. It includes 60,000 synthetic images using ShapeNet models and MERL materials, 120 high-quality photographs of toy cars with real automotive lacquer, and a set of "in the wild" car photos to test real-world generalization.

Key Insights

  • Baking-in the Light: Targeting the reflectance map sidesteps the ambiguity between material darkness and light intensity.
  • Specular Cues as Features: Highlights and reflections, often seen as noise in computer vision, are treated here as vital signals revealing environment details.
  • Hallucinating Appearance: SparseNet demonstrates that CNNs can accurately predict how a material would look at unobserved angles by learning from a vast library of similar materials.

Key Results and Applications

The Indirect (SparseNet) approach achieved the best quantitative performance on synthetic data (MSE of 0.0018) and generalized better to real-world images than the Direct approach.

Material transfer using estimated reflectance maps.

The primary application is Appearance Transfer. By extracting a reflectance map from one photo, users can apply that specific material and lighting combination to a different 3D shape or another photo. Because the indirect method also produces normal maps, it allows for interactive shape manipulation where the material is re-rendered in real-time.

Limitations

The current system assumes a single uniform material per object and requires a pre-segmented mask. It also assumes distant lighting and viewing, meaning it does not account for local inter-reflections or cast shadows. Furthermore, because light and material are "baked" together, they cannot be manipulated independently.

Summary updated

BibTeX
@inproceedings{rematas2016deep,
  author = {Konstantinos Rematas and Tobias Ritschel and Mario Fritz and Efstratios Gavves and Tinne Tuytelaars},
  title = {{Deep Reflectance Maps}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.488},
}
Figure