Indoor Lighting Estimation Using an Event Camera

Zehao Chen, Qian Zheng, Peisong Niu, Huajin Tang, Gang Pan

Introduction

Estimating the distance and intensity of indoor light sources is a fundamental challenge in computer vision, essential for applications such as augmented reality and 3D reconstruction. Standard image-based methods suffer from a fundamental intensity-distance ambiguity: according to the inverse square law, a dim light source nearby can appear identical to a bright light source far away in a static photograph. While context-based heuristics exist, they often fail in complex indoor environments where the "distant light" assumption is invalid.

Breaking Ambiguity with Event Cameras

This paper introduces a novel approach to resolve this ambiguity by leveraging the high temporal resolution of event cameras. Unlike traditional cameras that capture full frames at fixed intervals, event cameras (such as the Dynamic Vision Sensor) report per-pixel brightness changes with microsecond precision.

The core idea is to capture the transient "power-on" phase of a light source. By observing how the light intensity rises over time, the system can distinguish between different distances and source powers—a task impossible with static imagery.

Overview of the event-based lighting estimation setup, showing the light source, diffuse sphere, and event camera capturing the transient event stream.

Methodology

The proposed setup involves placing a purely diffuse sphere in a dark room and recording the moment a light is switched on. The authors employ three distinct methodologies to process the resulting event stream:

  1. Analytic Modeling: A mathematical derivation for radiant intensity based on the event stream. The light's power-on phase is modeled using an empirical logarithmic function: $\Phi(t) = a \lg(t + c) + b$. The authors prove that the rate of change in intensity is unique to the light's distance, making the problem well-posed.
  2. Optimization-based Method: An approach that minimizes the discrepancy between the captured event stream and a theoretical model to estimate the light's direction and distance.
  3. Learning-based Method: A deep learning pipeline using a ResNet-50 backbone to process discretized "event frames." This model regresses the light's distance ($d$) and the physical parameters of the source ($a, b, c$), providing robustness against noise and local minima.

Key Insights: The Temporal Signature

The "aha moment" of this research is the realization that the physical process of a light bulb warming up or an LED driver stabilizing creates a unique temporal signature. By capturing this "rise time," the event camera provides the missing information required to decouple intensity from distance.

Temporal signatures (logarithm of intensity over time) for various light sources, demonstrating unique curves that allow for distance estimation and lamp classification.

As shown in the figure above, different lamp types (LEDs of varying wattages and incandescent bulbs) exhibit distinct temporal profiles. This sensitivity even allows the system to classify the type of light bulb with high accuracy.

Experimental Results

The researchers validated their methods using a controlled dataset of 400 real-world samples and a "wild" dataset of 363 samples across 19 complex indoor scenes.

  • Accuracy: In controlled settings, the learning-based method achieved a distance Root Mean Square Error (RMSE) of 27.05 cm, significantly outperforming the image-based state-of-the-art (GH19), which had an RMSE of 75.63 cm.
  • Direction: Directional error was reduced from approximately 38° to 13.4°.
  • Qualitative Impact: Virtual objects inserted into real scenes using this method displayed more realistic shadows, consistent with the actual physical lighting environment.

Limitations and Future Work

Currently, the method requires a dark environment and the specific action of turning a light on; it cannot estimate lighting from steady-state sources. It also assumes a static scene and a monochrome event stream. Future research aims to move beyond the requirement of a diffuse sphere, potentially using the natural geometry of a room to capture these transient lighting events.

Summary updated

BibTeX
@inproceedings{chen2021indoor,
  author = {Zehao Chen and Qian Zheng and Peisong Niu and Huajin Tang and Gang Pan},
  title = {{Indoor Lighting Estimation Using an Event Camera}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01452},
}
Figure