DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network

Yeying Jin, Aashish Sharma, Robby T. Tan
7/21/2022
186 citations
cs.CV

Official code: jinyeying/DC-ShadowNet-Hard-and-Soft-Shadow-Removal (257 stars, Python, last commit 2024-08-24).

Abstract

Shadow removal from a single image is generally still an open problem. Most existing learning-based methods use supervised learning and require a large number of paired images (shadow and corresponding non-shadow images) for training.

Show full abstract

A recent unsupervised method, Mask-ShadowGAN~\cite{Hu19}, addresses this limitation. However, it requires a binary mask to represent shadow regions, making it inapplicable to soft shadows. To address the problem, in this paper, we propose an unsupervised domain-classifier guided shadow removal network, DC-ShadowNet. Specifically, we propose to integrate a shadow/shadow-free domain classifier into a generator and its discriminator, enabling them to focus on shadow regions. To train our network, we introduce novel losses based on physics-based shadow-free chromaticity, shadow-robust perceptual features, and boundary smoothness. Moreover, we show that our unsupervised network can be used for test-time training that further improves the results. Our experiments show that all these novel components allow our method to handle soft shadows, and also to perform better on hard shadows both quantitatively and qualitatively than the existing state-of-the-art shadow removal methods. Our code is available at: \url{https://github.com/jinyeying/DC-ShadowNet-Hard-and-Soft-Shadow-Removal}.

View on arXivView PDF

Code Implementations(1)

[ICCV2021]"DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network", https://arxiv.org/abs/2207.10434

25722Python, MATLABAug 1, 20212 years ago
deep-learningiccv-2021low-level-visionrestorationshadow+1 more

Similar Papers

Cite this paper

@article{jin2022dcshadownet,
  title  = {DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network},
  author = {Yeying Jin and Aashish Sharma and Robby T. Tan},
  year   = {2022},
  eprint = {2207.10434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10434v2}
}

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/2207.10434.svg)](https://codeofpaper.com/paper/2207.10434)

Discussion