Portrait shadow manipulation
Xuaner Cecilia Zhang, Jonathan T. Barron, Yun-Ta Tsai, Rohit Pandey, Xiuming Zhang, Ren Ng, David E. Jacobs
Abstract
Casually-taken portrait photographs often suffer from unflattering lighting and shadowing because of suboptimal conditions in the environment. Aesthetic qualities such as the position and softness of shadows and the lighting ratio between the bright and dark parts of the face are frequently determined by the constraints of the environment rather than by the photographer. Professionals address this issue by adding light shaping tools such as scrims, bounce cards, and flashes. In this paper, we present a computational approach that gives casual photographers some of this control, thereby allowing poorly-lit portraits to be relit post-capture in a realistic and easily-controllable way. Our approach relies on a pair of neural networks---one to remove foreign shadows cast by external objects, and another to soften facial shadows cast by the features of the subject and to add a synthetic fill light to improve the lighting ratio. To train our first network we construct a dataset of real-world portraits wherein synthetic foreign shadows are rendered onto the face, and we show that our network learns to remove those unwanted shadows. To train our second network we use a dataset of Light Stage scans of human subjects to construct input/output pairs of input images harshly lit by a small light source, and variably softened and fill-lit output images of each face. We propose a way to explicitly encode facial symmetry and show that our dataset and training procedure enable the model to generalize to images taken in the wild. Together, these networks enable the realistic and aesthetically pleasing enhancement of shadows and lights in real-world portrait images. 1
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 260089c1-22e2-4e75-b3f9-366c32bbb735Cited by top-tier papers26
- CANet: A Context-Aware Network for Shadow RemovalZipei Chen, Chengjiang Long, Ling Zhang, Chunxia XiaoICCV 2021 · 118 citations
- Deep Symmetric Network for Underexposed Image Enhancement with Recurrent Attentional LearningLin Zhao, Shao-Ping Lu, Tao Chen, Zhenglu Yang et al.ICCV 2021 · 76 citations
- Towards High Fidelity Monocular Face Reconstruction with Rich Reflectance using Self-supervised Learning and Ray TracingAbdallah Dib, Cédric Thébault, Junghyun Ahn, Philippe-Henri Gosselin et al.ICCV 2021 · 63 citations
- Perceptual Artifacts Localization for Image Synthesis TasksLingzhi Zhang, Zhengjie Xu, Connelly Barnes, Yuqian Zhou et al.ICCV 2023 · 43 citations
- Face Relighting with Geometrically Consistent ShadowsAndrew Z. Hou, Michel Sarkis, Ning Bi, Yiying Tong et al.CVPR 2022 · 39 citations
Builds on1
Related papers
- Learning Physics-Guided Face Relighting Under Directional LightThomas Nestmeyer, Jean-François Lalonde, Iain A. Matthews, Andreas M. LehrmannCVPR 2020
- LightPainter: Interactive Portrait Relighting with Freehand ScribbleYiqun Mei, He Zhang, Xuaner Zhang, Jianming Zhang et al.CVPR 2023
- 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
- Parametric Shadow Control for Portrait Generation in Text-to-Image Diffusion ModelsHaoming Cai, Tsung-Wei Huang, Shiv Gehlot, Brandon Y. Feng et al.ICCV 2025 · 2 citations
- Total relighting: learning to relight portraits for background replacementRohit Pandey, Sergio Orts-Escolano, Chloe LeGendre, Christian Häne et al.SIGGRAPH 2021 · 138 citations
