Casual Indoor HDR Radiance Capture from Omnidirectional Images

Pulkit Gera, Mohammad Reza Karimi Dastjerdi, Charles Renaud, P. J. Narayanan, Jean-François Lalonde

Abstract

PanoHDR-NeRF is a novel pipeline designed to capture spatially varying high-dynamic-range (HDR) lighting in indoor environments using a standard consumer-grade 360° camera. By combining a deep-learning-based "inverse tonemapping" network with a modified Neural Radiance Field (NeRF) architecture, the system enables the synthesis of realistic HDR panoramas from arbitrary viewpoints. This approach facilitates high-quality image-based lighting (IBL) for augmented reality (AR) and visual effects without the need for traditional, labor-intensive light probe captures.

Introduction

In Augmented Reality (AR) and visual effects, Image-Based Lighting (IBL) is essential for integrating virtual objects seamlessly into real-world scenes. Traditionally, this requires capturing a high-dynamic-range (HDR) light probe—often using a chrome ball or a tripod-mounted 360° camera with multiple exposures—at a specific location. However, indoor lighting is inherently spatially varying; the illumination near a window differs significantly from that in a shadowed corner. Capturing a full "radiance field" traditionally involves repeating this tedious process at numerous locations.

Overview of the PanoHDR-NeRF system: (a) casual capture with a 360 camera, (b) novel view synthesis, and (c) HDR radiance estimation for relighting.

PanoHDR-NeRF addresses this challenge by allowing users to capture the full HDR radiance of a room casually, using just a single low-dynamic-range (LDR) 360° video.

Methods

The PanoHDR-NeRF pipeline consists of two primary stages: LDR-to-HDR uplifting and radiance field optimization.

The PanoHDR-NeRF pipeline: LDR panoramas are uplifted to HDR via a deep network, then used to train a NeRF model for novel view synthesis.

LDR to HDR Uplifting

Standard 360° video frames are typically 8-bit LDR, lacking the intensity range of real-world light sources. The system utilizes a deep network (based on LANet) to "hallucinate" missing HDR information. A critical innovation is the use of a rendering loss: the network is trained not only to produce visually plausible HDR images but also to ensure that these images, when used as light sources, correctly illuminate virtual objects.

PanoHDR-NeRF Architecture

The uplifted HDR frames are used to train a modified NeRF++ model. To accommodate the geometry of 360° images, the authors introduced two key modifications:

  1. Spherical Sampling: To avoid over-sampling the poles of the panorama, rays are sampled uniformly across a sphere.
  2. Log-space Loss: HDR values span several orders of magnitude. Training the NeRF in log-space prevents high-intensity light sources from dominating the optimization process, leading to more stable convergence and better detail in darker regions.

Datasets and Evaluation

The LDR2HDR network was pre-trained on the Laval Indoor HDR Dataset (2,400 panoramas) and fine-tuned on a custom set of 78 HDR panoramas captured with a Ricoh Theta Z1 to bridge the domain gap between professional and consumer hardware. Evaluation was conducted on six real-world scenes, including cafeterias and classrooms, using ground-truth HDR panoramas captured at unseen locations to verify the model's interpolation capabilities.

Key Results

The system demonstrates significant improvements in both quantitative and qualitative metrics. Fine-tuning the LDR2HDR network for specific sensors improved the PU-PSNR (a specialized HDR metric) from 30.9 to 33.6. Qualitatively, PanoHDR-NeRF produces realistic shadows and highlights on virtual objects, successfully capturing the spatial transitions of light throughout a room. Compared to standard NeRF++ or naive "NeRF-then-HDR" approaches, PanoHDR-NeRF avoids temporal flickering and provides physically plausible relighting.

Conclusion and Future Work

PanoHDR-NeRF provides a practical solution for casual HDR radiance capture. While the current implementation assumes a static scene and requires significant offline processing time (approximately 36 hours on a high-end GPU), it represents a major step toward democratizing professional-grade lighting for AR. Future work may involve integrating Mip-NeRF 360 techniques to reduce blurriness and developing methods to handle dynamic scenes or photographer occlusion.

Summary updated

BibTeX
@inproceedings{gera2022casual,
  author = {Pulkit Gera and Mohammad Reza Karimi Dastjerdi and Charles Renaud and P. J. Narayanan and Jean-François Lalonde},
  title = {{Casual Indoor HDR Radiance Capture from Omnidirectional Images}},
  booktitle = {BMVC},
  year = {2022},
  url = {https://openreview.net/forum?id=trD0XEWVnbd},
}

Loading related content...

Figure