Abstract
Estimating high-fidelity, 360-degree high-dynamic-range (HDR) illumination from a single limited-field-of-view (LFOV) image is a critical task for realistic 3D object relighting in Augmented Reality. We present EMLight, a novel framework that treats light sources as a discrete spherical distribution. By introducing a specialized "Spherical Mover’s Loss" (SML), the system accurately localizes light sources and synthesizes realistic lighting maps that outperform existing generative and parametric methods.
Introduction
When integrating virtual 3D objects into real-world photographs, accurate lighting is essential for visual coherence. This requires a full 360-degree HDR environment map. However, standard photographs provide only a limited view of the environment, making lighting estimation an under-constrained problem. Previous approaches typically rely on direct image generation, which often lacks structural accuracy, or parametric regression (e.g., Spherical Harmonics), which tends to produce blurry results lacking high-frequency details. EMLight bridges this gap by combining the structural stability of parametric methods with the visual fidelity of generative models.
Methodology
EMLight decomposes the lighting estimation task into three primary components: Light Distribution (location), Light Intensity (brightness), and an Ambient Term (base lighting level).
Spherical Distribution Regression
Rather than predicting a flat environment map directly, the model regresses values for $N$ anchor points distributed uniformly across a unit sphere. This approach treats environmental lighting as a discrete probability distribution on a spherical surface, leveraging the natural geometry of the scene.
Spherical Mover’s Loss (SML)
A key innovation of EMLight is the Spherical Mover’s Loss. Unlike standard L2 losses that penalize pixel-wise differences independently, SML is inspired by the Earth Mover’s Distance (EMD). It calculates the minimum "work" required to move the predicted light distribution to match the ground truth along the sphere's surface. This geometric awareness ensures that predictions are penalized based on their actual spatial distance from the truth, leading to significantly more accurate light source localization.
Neural Projector and Architecture
The framework utilizes a regression network (DenseNet-121) to estimate the distribution parameters. These parameters, along with the input image, are processed by a "Neural Projector"—a GAN-based generator. This projector employs Spherical Convolutions to handle the distortions inherent in 360-degree panoramas, ensuring the final output has realistic sharpness and texture.
Experiments and Results
The model was trained on the Laval Indoor HDR Dataset, using nearly 20,000 training pairs generated from HDR panoramas. EMLight demonstrated superior performance across several key metrics:
- Quantitative Accuracy: The model achieved a state-of-the-art RMSE of 0.062 and a low Angular Error of 6.43°, indicating high precision in both intensity and directional estimation.
- Human Perception: In a user study, renders produced with EMLight were preferred for their realism approximately 40% of the time, outperforming all competing methods.
- Ablation Studies: Comparisons confirmed that SML is significantly more effective than standard Cross-Entropy or L2 losses for spherical light regression.
Conclusion
EMLight introduces a robust method for lighting estimation by modeling light as a spherical distribution and optimizing it via the Spherical Mover’s Loss. This hybrid approach provides the structural accuracy needed for sharp shadows and the visual fidelity required for seamless AR integration. Future work will explore extending this distribution-based approach to more complex outdoor environments and varying anchor point densities.
Summary updated