Model produces fast per-light edits for relighting single photos

Per-Light Reshading Learned from Single Images

Computer Vision and Pattern Recognition

Summary

Changing the lighting in a photo usually requires complex tools or multiple images taken under different lights. This paper presents a way to look at a single photo and figure out each light source in the scene, like lamps or windows. It then creates layers for each light, so you can quickly change things like the color or brightness of a lamp in the picture. This process is very fast and doesn’t need special training data with multiple lighting conditions or detailed labels. The authors tested it on real photos and found it works better than other methods that also use only one image.

What this means in practice

  • For photo editors: Modify lighting conditions on a single photo by adjusting individual light sources without requiring multiple images or slow processing.$Commercial implications: Enables photo editing software companies to add fast, realistic lighting edits to single images, appealing to professional and hobbyist photographers.
  • For augmented reality developers: Improve scene lighting realism in apps by estimating and editing per-light effects from single-view images in real time.

Authors

Kuan Sheng Chen, Svetlana Lazebnik, David Forsyth

Abstract

To relight a room, you act on lights: switch on a ceiling light, dim a lamp and so on. Relighting a photograph should be the same. Given a single still image, we propose a model that produces a per-light decomposition: it recovers the parameters of each luminaire (light-emitting object, windows included) visible in the scene. Each luminaire has an associated shading layer, computed using physical considerations from the parameters. Editing the parameters -- changing the colour of a light, say -- yields a corresponding edit to the shading layer and so the image, in about 0.1 ms, roughly 20,000 times faster than the fastest method that reports a time. The model is learned from single images of real scenes. Our training uses no rendered scenes, multi-illumination captures or per-light labels, so our model applies to a situation where an agent just observes the world in which it moves. We built a small multi-illumination benchmark of real pictures of real scenes. Extensive experimental comparison using both current image metrics and human preferences reveals that our method outperforms alternatives trained on single-illumination data.