ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow Removal

Lanqing Guo, Chong Wang, Wenhan Yang, Siyu Huang, Yufei Wang +2 more
12/9/2022
cs.CV
diffusion-flow

Official code: GuoLanqing/ShadowDiffusion (171 stars, Python, last commit 2024-08-04).

Abstract

Recent deep learning methods have achieved promising results in image shadow removal. However, their restored images still suffer from unsatisfactory boundary artifacts, due to the lack of degradation prior embedding and the deficiency in modeling capacity.

Show full abstract

Our work addresses these issues by proposing a unified diffusion framework that integrates both the image and degradation priors for highly effective shadow removal. In detail, we first propose a shadow degradation model, which inspires us to build a novel unrolling diffusion model, dubbed ShandowDiffusion. It remarkably improves the model's capacity in shadow removal via progressively refining the desired output with both degradation prior and diffusive generative prior, which by nature can serve as a new strong baseline for image restoration. Furthermore, ShadowDiffusion progressively refines the estimated shadow mask as an auxiliary task of the diffusion generator, which leads to more accurate and robust shadow-free image generation. We conduct extensive experiments on three popular public datasets, including ISTD, ISTD+, and SRD, to validate our method's effectiveness. Compared to the state-of-the-art methods, our model achieves a significant improvement in terms of PSNR, increasing from 31.69dB to 34.73dB over SRD dataset.

View on arXivView PDF

Code Implementations(1)

ShadowDiffusion (CVPR2023), Pytorch implementation

17110PythonMar 3, 20232 years ago

Similar Papers

Cite this paper

@article{guo2022shadowdiffusion,
  title  = {ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow Removal},
  author = {Lanqing Guo and Chong Wang and Wenhan Yang and Siyu Huang and Yufei Wang and Hanspeter Pfister and Bihan Wen},
  year   = {2022},
  eprint = {2212.04711},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.04711}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.04711.svg)](https://codeofpaper.com/paper/2212.04711)

Discussion