Natural Illumination from Multiple Materials Using Deep Learning

Stamatios Georgoulis, Konstantinos Rematas, Tobias Ritschel, Mario Fritz, Tinne Tuytelaars, Luc Van Gool

This paper, presented at ICCV 2017, explores the fascinating intersection of computer vision and inverse rendering. It asks a question that sounds like science fiction: Can we see what’s behind a photographer just by looking at the objects in front of them?

TL;DR

The authors present a deep learning framework that reconstructs a full 360-degree HDR environment map from a single LDR image of an object. By leveraging reflections in complex, multi-material objects and the visible background, the system effectively turns everyday items into "imperfect mirrors" to reveal the world surrounding the camera.

What Problem Does This Paper Address?

In computer vision, "inverse rendering" is the challenge of decomposing an image into its constituent parts: shape, material, and illumination. Most existing methods struggle when faced with a single, standard Low-Dynamic-Range (LDR) image.

The core challenge is that a foreground object’s appearance is a "convolution" of its geometry, its material properties (BRDF), and the surrounding light. If an object isn't a perfect chrome sphere, the reflection is warped, blurred, or obscured by the object's own color. Previous attempts to estimate lighting often required multiple exposures (HDR), assumed the object was made of a single known material, or relied on perfectly diffuse surfaces. This paper tackles the more realistic—and difficult—scenario of multi-material objects captured in a single LDR shot.

Methods

The researchers treat the environment reconstruction as a learning problem, mapping partial reflectance maps to a consensual HDR environment map.

  1. Reflectance Maps: They first extract partial reflectance maps for each material on an object. These maps link surface orientations (normals) to observed colors. Because an object doesn't face every direction, these maps are "sparse" or "partial."
  2. The Architecture: They designed a three-part Convolutional Neural Network (CNN):
  3. Background Network: Encodes the visible part of the environment (the pixels not covered by the object).
  4. De-reflection Networks: A set of "Siamese" sub-networks (sharing weights) that process the partial reflectance maps of different materials.
  5. Fusion Network: This is the "brain" that merges features from the background and all material sub-networks across multiple scales to predict a final 64x64 HDR environment map.
  6. Loss Function: The network is trained using an L1 loss in the CIE Lab color space and log-space to handle the high dynamic range of light sources effectively.

Datasets

  • Synthetic Data: The authors generated a massive dataset of 60,000 images using car models from ShapeNet. They applied 100 different real-world material properties (from the MERL database) and 105 different HDR environment maps to create realistic training samples.
  • Real-World Data: To validate the model, they captured a test set of 112 images of real objects (toy cars, spheres, and complex shapes) under various natural lighting conditions. They used a chrome sphere and multiple exposures to capture the "ground truth" environment for comparison.

Key Insights and Ideas

  • Multi-Material Synergy: Perhaps the most surprising finding is that having more materials on an object actually makes the task easier. Different materials (e.g., plastic, metal, paint) provide complementary information. Where one material might be too matte to show a reflection, another might be specular enough to reveal a light source.
  • The Background Matters: The visible background provides the "negative half-sphere" of the environment. By combining this with the reflections (which often capture the "positive half-sphere" behind the camera), the network gets a much more complete picture of the scene.
  • Learning the "Priors": Because the network is trained on real-world environment maps, it learns "priors"—for example, it knows that the sky is usually blue and at the top, which helps it "hallucinate" missing parts of the reflection map convincingly.

Key Results

  • Quantitative Superiority: Using the DSSIM (Structural Dissimilarity) metric, their "Triplets + BG" model consistently outperformed baselines, including "Nearest Neighbor" searches and models that only used a single material.
  • Spatial Accuracy: The model is remarkably good at pinpointing light sources. In 97.5% of test cases, the predicted dominant light source was within 1 pixel of the ground truth.
  • Qualitative Success: The authors demonstrated that they could take a single photo of a toy car and use the reconstructed environment map to realistically "relight" the car with entirely different materials or even change its shape, all while maintaining a plausible connection to the original scene.

Limitations and Future Work

  • Resolution: The output environment map is 64x64 pixels. While sufficient for realistic relighting and capturing the "feel" of a room, it lacks the high-frequency detail needed for sharp, mirror-like reflections.
  • Geometry Dependency: The method currently assumes that a rough 3D geometry (surface normals) of the object is known. While they show it's robust to approximate normals, a fully "in-the-wild" system would need to estimate shape and lighting simultaneously.
  • Dynamic Range: While the model predicts HDR values, it still struggles to perfectly replicate the extreme intensity of the sun compared to more muted indoor light sources.

The authors suggest that future work could involve training on even larger "in-the-wild" datasets to remove the need for known geometry entirely, potentially turning every photo on the internet into a 360-degree window.

Summary updated

BibTeX
@inproceedings{georgoulis2016natural,
  author = {Stamatios Georgoulis and Konstantinos Rematas and Tobias Ritschel and Mario Fritz and Tinne Tuytelaars and Luc Van Gool},
  title = {{Natural Illumination from Multiple Materials Using Deep Learning}},
  booktitle = {Max},
  year = {2016},
}
Figure