Abstract
Estimating High Dynamic Range (HDR) lighting from a single Low Dynamic Range (LDR) spherical panorama is a fundamental challenge in computer vision, primarily due to the severe shortage of paired training data. We present a novel data-driven framework that overcomes this "data bottleneck" by training on uncoupled datasets. Our method utilizes a differentiable image-based relighting layer to combine high-quality HDR illumination maps with independent photorealistic scene geometry. By enforcing a novel spectral distribution prior and leveraging spherical harmonic representations, our model produces physically plausible lighting estimations that significantly outperform traditional optimization-based baselines.
Introduction
Realistic integration of 3D objects into photographs—a cornerstone of augmented reality and visual effects—requires accurate knowledge of the environment's lighting. Ideally, this is captured as an HDR environment map. However, recovering this information from a single LDR image is an ill-posed problem, as pixel values are a complex product of material properties, geometry, and illumination.
The primary obstacle for deep learning models in this domain is data scarcity. Capturing ground-truth pairs of LDR photos and their corresponding HDR environments is labor-intensive and prone to artifacts. Existing datasets are often too small or lack the diversity needed for robust generalization.
Methodology: Uncoupling Content and Illumination
To address the data shortage, we propose a strategy that decouples scene content from illumination. Our pipeline leverages two distinct types of data: the Laval Indoor HDR Dataset for high-quality illumination maps and Matterport3D for photorealistic panoramas and surface geometry.
Differentiable Relighting and Representation
We employ a differentiable rendering equation as a supervision signal. By "stripping" the original lighting from a scene and applying new HDR lighting, we can generate a vast array of training samples. Lighting is represented using 3rd-order Spherical Harmonics (SH), which efficiently compresses complex environmental light into 9 coefficients per color channel.
Spectral Distribution Prior
A key contribution is the introduction of a spectral distribution prior. In natural lighting, the ambient component (the "DC" term) is typically the most dominant, with higher-frequency details diminishing in strength. We enforce this structure mathematically, preventing the model from predicting physically impossible lighting distributions. This constraint alone resulted in a nearly 50% performance improvement during our experiments.
Experimental Results
Our model was evaluated against SIRFS, a prominent optimization-based baseline. On the Laval test set, our full model achieved a median scaled RMSE (m-RMSE) of 0.0101, compared to 0.0391 for SIRFS. Ablation studies confirmed that both the relighting loss and the spectral prior are critical to this performance.
Qualitatively, the model demonstrates strong generalization to "in-the-wild" panoramas. As shown below, 3D objects rendered using our estimated environment maps exhibit realistic shading and color bleeding that matches the surrounding scene.
Limitations and Future Work
While effective, the current approach has specific limitations:
- Low-Frequency Detail: The 3rd-order SH representation captures diffuse lighting but cannot model sharp shadows or high-frequency specular highlights.
- Global Illumination: The model estimates a single global environment map, failing to account for spatially varying light (e.g., the difference in light near a window versus a dark corner).
- Occlusion: The method assumes distant illumination and does not explicitly model local light blocking or visibility.
Future research will focus on location-conditioned outputs to handle spatially varying illumination and higher-order representations for sharper lighting effects.
Summary updated