Skip to content

gmh5225/LightLab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightLab: Controlling Light Sources in Images with Diffusion Models

Nadav Magar, Amir Hertz, Eric Tabellion, Yael Pritch, Alex Rav-Acha, Ariel Shamir, Yedid Hoshen*

Controlling light sources in an image is a fundamental aspect of photography that affects the subject, depth separation, colors, and mood of the image. Existing relighting methods either rely on multiple input views to perform inverse rendering at inference time, or fail to provide explicit control.

We present a diffusion-based method for fine-grained, parametric control over light sources from a single image. Our method can change the intensity and color of visible light sources, the intensity of ambient lighting, and can insert virtual light source into the scene. We propose using the diffusion model's photorealistic prior to implicitly simulate complex light effects such as indirect illumination, shadows, and reflections, directly in image space, using paired examples depicting controlled illumination changes.

We generate such examples using a combination of a small set of raw photograph pairs supplemented by a large set of synthetically rendered images. By leveraging the linearity of light, we disentangle a target light from the scenes ambient lighting, and then generate a parametric sequence of images with varying light intensities and colors.

Our method generates physically plausible lighting edits across diverse settings, and outperforms existing methods quantitatively and based on user preference.

🔥 NEWS

2025/05/06: LightLab was accepted to SIGGRAPH 25!

2025/05/06: Paper is out!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 65.1%
  • HTML 28.0%
  • CSS 5.1%
  • Python 1.8%