Generative Portrait Shadow Removal

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yoon, Jae Shin, Shu, Zhixin, Ren, Mengwei, Zhang, Xuaner, Hold-Geoffroy, Yannick, Singh, Krishna Kumar, Zhang, He
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910638870102016
author Yoon, Jae Shin
Shu, Zhixin
Ren, Mengwei
Zhang, Xuaner
Hold-Geoffroy, Yannick
Singh, Krishna Kumar
Zhang, He
author_facet Yoon, Jae Shin
Shu, Zhixin
Ren, Mengwei
Zhang, Xuaner
Hold-Geoffroy, Yannick
Singh, Krishna Kumar
Zhang, He
contents We introduce a high-fidelity portrait shadow removal model that can effectively enhance the image of a portrait by predicting its appearance under disturbing shadows and highlights. Portrait shadow removal is a highly ill-posed problem where multiple plausible solutions can be found based on a single image. While existing works have solved this problem by predicting the appearance residuals that can propagate local shadow distribution, such methods are often incomplete and lead to unnatural predictions, especially for portraits with hard shadows. We overcome the limitations of existing local propagation methods by formulating the removal problem as a generation task where a diffusion model learns to globally rebuild the human appearance from scratch as a condition of an input portrait image. For robust and natural shadow removal, we propose to train the diffusion model with a compositional repurposing framework: a pre-trained text-guided image generation model is first fine-tuned to harmonize the lighting and color of the foreground with a background scene by using a background harmonization dataset; and then the model is further fine-tuned to generate a shadow-free portrait image via a shadow-paired dataset. To overcome the limitation of losing fine details in the latent diffusion model, we propose a guided-upsampling network to restore the original high-frequency details (wrinkles and dots) from the input image. To enable our compositional training framework, we construct a high-fidelity and large-scale dataset using a lightstage capturing system and synthetic graphics simulation. Our generative framework effectively removes shadows caused by both self and external occlusions while maintaining original lighting distribution and high-frequency details. Our method also demonstrates robustness to diverse subjects captured in real environments.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05525
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generative Portrait Shadow Removal
Yoon, Jae Shin
Shu, Zhixin
Ren, Mengwei
Zhang, Xuaner
Hold-Geoffroy, Yannick
Singh, Krishna Kumar
Zhang, He
Computer Vision and Pattern Recognition
We introduce a high-fidelity portrait shadow removal model that can effectively enhance the image of a portrait by predicting its appearance under disturbing shadows and highlights. Portrait shadow removal is a highly ill-posed problem where multiple plausible solutions can be found based on a single image. While existing works have solved this problem by predicting the appearance residuals that can propagate local shadow distribution, such methods are often incomplete and lead to unnatural predictions, especially for portraits with hard shadows. We overcome the limitations of existing local propagation methods by formulating the removal problem as a generation task where a diffusion model learns to globally rebuild the human appearance from scratch as a condition of an input portrait image. For robust and natural shadow removal, we propose to train the diffusion model with a compositional repurposing framework: a pre-trained text-guided image generation model is first fine-tuned to harmonize the lighting and color of the foreground with a background scene by using a background harmonization dataset; and then the model is further fine-tuned to generate a shadow-free portrait image via a shadow-paired dataset. To overcome the limitation of losing fine details in the latent diffusion model, we propose a guided-upsampling network to restore the original high-frequency details (wrinkles and dots) from the input image. To enable our compositional training framework, we construct a high-fidelity and large-scale dataset using a lightstage capturing system and synthetic graphics simulation. Our generative framework effectively removes shadows caused by both self and external occlusions while maintaining original lighting distribution and high-frequency details. Our method also demonstrates robustness to diverse subjects captured in real environments.
title Generative Portrait Shadow Removal
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.05525