SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removal

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Xinrui, Guo, Lanqing, Wang, Xiyu, Huang, Siyu, Wen, Bihan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915193324306432
author Wang, Xinrui
Guo, Lanqing
Wang, Xiyu
Huang, Siyu
Wen, Bihan
author_facet Wang, Xinrui
Guo, Lanqing
Wang, Xiyu
Huang, Siyu
Wen, Bihan
contents Recent advancements in deep learning have yielded promising results for the image shadow removal task. However, most existing methods rely on binary pre-generated shadow masks. The binary nature of such masks could potentially lead to artifacts near the boundary between shadow and non-shadow areas. In view of this, inspired by the physical model of shadow formation, we introduce novel soft shadow masks specifically designed for shadow removal. To achieve such soft masks, we propose a SoftShadow framework by leveraging the prior knowledge of pretrained SAM and integrating physical constraints. Specifically, we jointly tune the SAM and the subsequent shadow removal network using penumbra formation constraint loss, mask reconstruction loss, and shadow removal loss. This framework enables accurate predictions of penumbra (partially shaded) and umbra (fully shaded) areas while simultaneously facilitating end-to-end shadow removal. Through extensive experiments on popular datasets, we found that our SoftShadow framework, which generates soft masks, can better restore boundary artifacts, achieve state-of-the-art performance, and demonstrate superior generalizability.
format Preprint
id arxiv_https___arxiv_org_abs_2409_07041
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removal
Wang, Xinrui
Guo, Lanqing
Wang, Xiyu
Huang, Siyu
Wen, Bihan
Computer Vision and Pattern Recognition
Recent advancements in deep learning have yielded promising results for the image shadow removal task. However, most existing methods rely on binary pre-generated shadow masks. The binary nature of such masks could potentially lead to artifacts near the boundary between shadow and non-shadow areas. In view of this, inspired by the physical model of shadow formation, we introduce novel soft shadow masks specifically designed for shadow removal. To achieve such soft masks, we propose a SoftShadow framework by leveraging the prior knowledge of pretrained SAM and integrating physical constraints. Specifically, we jointly tune the SAM and the subsequent shadow removal network using penumbra formation constraint loss, mask reconstruction loss, and shadow removal loss. This framework enables accurate predictions of penumbra (partially shaded) and umbra (fully shaded) areas while simultaneously facilitating end-to-end shadow removal. Through extensive experiments on popular datasets, we found that our SoftShadow framework, which generates soft masks, can better restore boundary artifacts, achieve state-of-the-art performance, and demonstrate superior generalizability.
title SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removal
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.07041