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.
翻译:暂无翻译