Object-Based Illumination Estimation with Rendering-Aware Neural Networks

Xin Wei, Guojun Chen, Yue Dong, Stephen Lin, Xin Tong

Abstract

We present a scheme for fast environment light estimation from the RGBD appearance of individual objects and their local image areas. Conventional inverse rendering is too computationally demanding for real-time applications, and the performance of purely learning-based techniques may be limited by the meager input data available from individual objects. To address these issues, we propose an approach that takes advantage of physical principles from inverse rendering to constrain the solution, while also utilizing neural networks to expedite the more computationally expensive portions of its processing, to increase robustness to noisy input data as well as to improve temporal and spatial stability. This results in a rendering-aware system that estimates the local illumination distribution at an object with high accuracy and in real time. With the estimated lighting, virtual objects can be rendered in AR scenarios with shading that is consistent to the real scene, leading to improved realism.

Introduction

For Augmented Reality (AR) to achieve high levels of immersion, virtual objects must be shaded consistently with their real-world surroundings. This requires an accurate estimation of the environment map—a 360-degree representation of the light incident at a specific point in space.

Current solutions typically fall into two categories: inverse rendering and end-to-end deep learning. Inverse rendering methods reverse-engineer lighting from object appearance through optimization; while physically grounded, they are often too slow for real-time use. Conversely, end-to-end deep learning models often struggle when the camera focuses on a single object, as the lack of background context leads to unstable or blurry results. This paper bridges these approaches by introducing a "rendering-aware" system that treats individual objects as light probes, leveraging physical principles to constrain the learning process.

Methodology

The core innovation is a multi-stage pipeline that decomposes the complex task of illumination estimation into physically meaningful sub-tasks, as shown in the architecture diagram below.

The proposed rendering-aware neural network architecture, consisting of reflectance decomposition, shading translation, and angular fusion stages.

Reflectance Decomposition

The pipeline begins with a network that takes an RGB image and a rough depth-derived normal map as input. This stage decomposes the image into three fundamental components: albedo (base color), diffuse shading, and specular highlights.

Spatial-Angular Translation

This stage represents the "rendering-aware" heart of the system, handling diffuse and specular components differently:

  • Diffuse Shading: A network maps the diffuse shading component and auxiliary irradiance maps (calculated from geometry) into light intensities.
  • Specular Shading: Instead of a "black box" approach, the system utilizes pure geometry. It maps highlights to lighting directions based on mirror reflection laws, ensuring physical consistency.

Angular Fusion and Temporal Coherence

A U-Net architecture merges these diffuse and specular features into a final, high-resolution environment map. To ensure temporal stability and prevent "flickering" in AR applications, the authors integrated recurrent convolution layers, allowing the model to leverage information from previous video frames to stabilize the current estimate.

Datasets and Training

The models were primarily trained on a massive synthetic dataset to ensure access to perfect ground truth data. This dataset included 1,000 HDR environment maps and over 600 artist-modeled 3D objects with realistic textures. The system was validated on a test set of 180 real-world images with ground truth environment maps and the Redwood RGBD dataset for qualitative AR testing.

Key Results and Insights

The proposed method demonstrates significant improvements in both speed and accuracy over existing methods:

  • Real-Time Performance: The entire pipeline runs in 26ms per frame on a desktop GPU (RTX 2080 Ti), achieving approximately 38 FPS, which is well within the requirements for real-time AR.
  • High Accuracy: Quantitatively, the method achieves significantly lower Root Mean Square Error (RMSE) compared to state-of-the-art scene-based methods and traditional inverse rendering.
  • Visual Quality: By recovering "all-frequency" lighting, the system can produce sharp shadows and crisp specular highlights on virtual objects, surpassing the capabilities of low-order methods like Spherical Harmonics.

Limitations and Future Work

Despite its strengths, the system assumes distant light sources, which can lead to inaccuracies for near-field effects (e.g., a lamp very close to an object). Additionally, the quality of the lighting estimate is dependent on the accuracy of the input depth map. Future work includes optimizing the architecture for mobile GPUs to enable widespread AR adoption.

Conclusion

By hybridizing physical principles with deep learning, this research provides a robust and efficient solution for object-based illumination estimation. This "rendering-aware" approach allows for the insertion of virtual objects into real scenes with unprecedented realism and stability, treating every object in a scene as a potential light probe.

Summary updated

BibTeX
@inproceedings{wei2020object,
  author = {Xin Wei and Guojun Chen and Yue Dong and Stephen Lin and Xin Tong},
  title = {{Object-Based Illumination Estimation with Rendering-Aware Neural Networks}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=aAMR3g_VFk},
}
Figure