Total relighting: learning to relight portraits for background replacement
Rohit Pandey, Sergio Orts-Escolano, Chloe LeGendre, Christian Häne, Sofien Bouaziz, Christoph Rhemann, Paul E. Debevec, Sean Ryan Fanello
Abstract
We propose a novel system for portrait relighting and background replacement, which maintains high-frequency boundary details and accurately synthesizes the subject's appearance as lit by novel illumination, thereby producing realistic composite images for any desired scene. Our technique includes foreground estimation via alpha matting, relighting, and compositing. We demonstrate that each of these stages can be tackled in a sequential pipeline without the use of priors (e.g. known background or known illumination) and with no specialized acquisition techniques, using only a single RGB portrait image and a novel, target HDR lighting environment as inputs. We train our model using relit portraits of subjects captured in a light stage computational illumination system, which records multiple lighting conditions, high quality geometry, and accurate alpha mattes. To perform realistic relighting for compositing, we introduce a novel per-pixel lighting representation in a deep learning framework, which explicitly models the diffuse and the specular components of appearance, producing relit portraits with convincingly rendered non-Lambertian effects like specular highlights. Multiple experiments and comparisons show the effectiveness of the proposed approach when applied to in-the-wild images.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f84f4671-699e-4fbd-a1f3-d8a308706cfaCited by top-tier papers90
- Neural Gaffer: Relighting Any Object via DiffusionHaian Jin, Yuan Li, Fujun Luan, Yuanbo Xiangli et al.NeurIPS 2024 · 112 citations
- Relightable Gaussian Codec AvatarsShunsuke Saito, Gabriel Schwartz, Tomas Simon, Junxuan Li et al.CVPR 2024 · 85 citations
- RGB↔X: Image decomposition and synthesis using material- and lighting-aware diffusion modelsZheng Zeng, Valentin Deschaintre, Iliyan Georgiev, Yannick Hold-Geoffroy et al.SIGGRAPH 2024 · 61 citations
- Relighting Neural Radiance Fields with Shadow and Highlight HintsChong Zeng, Guojun Chen, Yue Dong, Pieter Peers et al.SIGGRAPH 2023 · 44 citations
- UniRelight: Learning Joint Decomposition and Synthesis for Video RelightingKai He, Ruofan Liang, Jacob Munkberg, Jon Hasselgren et al.NeurIPS 2025 · 42 citations
Builds on9
- Natural Image Matting via Guided Contextual AttentionYaoyi Li, Hongtao LuAAAI 2020 · 189 citations
- Context-Aware Image Matting for Simultaneous Foreground and Alpha EstimationQiqi Hou, Feng LiuICCV 2019 · 171 citations
- Disentangled Image MattingShaofan Cai, Xiaoshuai Zhang, Haoqiang Fan, Haibin Huang et al.ICCV 2019 · 127 citations
- Real-Time High-Resolution Background MattingShanchuan Lin, Andrey Ryabtsev, Soumyadip Sengupta, Brian L. Curless et al.CVPR 2021
- AdaStereo: A Simple and Efficient Approach for Adaptive Stereo MatchingXiao Song, Guorun Yang, Xinge Zhu, Hui Zhou et al.CVPR 2021
Related papers
- Pixel Cube: Diffusion-based Portrait Video Relighting Through Realistic Lighting ReproductionYufan Zhang, Yu Ji, Ayo Ajiboye, Rundi Wu et al.SIGGRAPH 2026
- Relightful Harmonization: Lighting-Aware Portrait Background ReplacementMengwei Ren, Wei Xiong, Jae Shin Yoon, Zhixin Shu et al.CVPR 2024 · 17 citations
- SynthLight: Portrait Relighting with Diffusion Model by Learning to Re-render Synthetic FacesSumit Chaturvedi, Mengwei Ren, Yannick Hold-Geoffroy, Jingyuan Liu et al.CVPR 2025
- Composite Photograph Harmonization with Complete Background CuesYazhou Xing, Yu Li, Xintao Wang, Ye Zhu et al.ACM MM 2022 · 17 citations
- Learning Physics-Guided Face Relighting Under Directional LightThomas Nestmeyer, Jean-François Lalonde, Iain A. Matthews, Andreas M. LehrmannCVPR 2020
