Self-supervised Outdoor Scene Relighting

Ye Yu, Abhimitra Meka, Mohamed Elgharib, Hans-Peter Seidel, Christian Theobalt, William A. P. Smith

Introduction

Relighting outdoor scenes from a single image is a fundamental challenge in computer vision. To achieve photorealistic results, a system must successfully disentangle three complex, intertwined components: surface albedo (intrinsic color), scene geometry (normals), and illumination (light sources and shadows). Traditional approaches often struggle with this "ill-posed" problem, either relying on synthetic data that fails to generalize to real-world photos or using oversimplified physical models that produce "flat" or unrealistic results.

This paper introduces a novel, fully self-supervised neural rendering framework designed to overcome these hurdles. By combining physics-based inverse rendering with generative adversarial networks (GANs), the proposed system learns to manipulate lighting and shadows using only unlabelled internet photo collections.

Methodology

The core of the system is a hybrid pipeline that integrates physical constraints with the flexibility of deep learning. As shown in the architecture diagram below, the process involves several specialized modules working in concert.

The proposed framework decomposes an input image into physical components before using a neural renderer to synthesize the final relit image.

1. Improved Inverse Rendering

The system utilizes an "InverseRenderNet" (IRN) to decompose the input image into albedo, normals, and lighting. A critical innovation is the inclusion of an explicit shadow channel. By isolating shadows during the decomposition phase, the network prevents them from being incorrectly "baked" into the albedo or normal maps—a common source of artifacts in previous methods.

2. Neural Rendering with Residuals

Rather than relying on a fixed mathematical formula for rendering, the authors employ a Neural Renderer (GAN). This module takes the decomposed physical components along with a "residual map"—which captures fine-scale details lost during initial decomposition—to synthesize the final image. This allows the model to preserve high-frequency textures and realistic "grit."

3. Shadow and Sky Synthesis

To ensure environmental consistency, the pipeline includes a ShadowNet to predict cast shadows for new lighting directions and a SkyGAN to generate a sky that matches the target illumination's color and intensity.

Key Insights: The Role of Shadows

A major breakthrough in this work is the explicit disentanglement of shadows. Standard inverse rendering often confuses shadows with dark surface pigments or geometry. By modeling a dedicated shadow channel, the framework achieves much cleaner relighting. Furthermore, the use of a residual map acts as a "correction layer," allowing the GAN to add complex global illumination effects—like soft shadows and color-casts—that simple physics equations cannot easily capture.

Experimental Results

The model was evaluated on several datasets, including MegaDepth for training and BigTime (time-lapse sequences) for testing lighting transitions. The authors also introduced a new benchmark dataset featuring high-quality HDR images of monuments under diverse lighting conditions.

Qualitative results showing the model's ability to relight input scenes according to various target illumination spheres (Illum. 1-4).

Quantitative and Qualitative Performance

On the BigTime dataset, the method achieved a lower $L_1$ error (0.103) and Mean Square Error (0.021) compared to state-of-the-art baselines like SIRFS. Qualitatively, as seen in the figure above, the model generates plausible "golden hour" effects and realistic shadows that respect the scene's geometry. Notably, it also replaces the sky to create a cohesive, photorealistic final rendering.

Limitations and Future Work

While the framework shows significant progress, it faces challenges in extreme low-light conditions where sensor noise interferes with decomposition. Additionally, the ShadowNet does not perform full 3D ray-tracing, which can lead to inaccuracies in scenes with very complex occlusions. Future work may involve incorporating non-Lambertian reflectance models to better handle specularities on surfaces like glass or wet pavement.

Summary updated

BibTeX
@inproceedings{yu2020self,
  author = {Ye Yu and Abhimitra Meka and Mohamed Elgharib and Hans-Peter Seidel and Christian Theobalt and William A. P. Smith},
  title = {{Self-supervised Outdoor Scene Relighting}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58542-6\_6},
}
Figure