SOTAVerified

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

2022-07-21ICCV 2021Code Available2· sign in to hype

Yeying Jin, Aashish Sharma, Robby T. Tan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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. A recent unsupervised method, Mask-ShadowGAN~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: https://github.com/jinyeying/DC-ShadowNet-Hard-and-Soft-Shadow-Removal.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ISTDDC-ShadowNetMAE5.88Unverified
ISTDDC-ShadowNet (ICCV 2021) (512x512)RMSE3.64Unverified
ISTDDC-ShadowNet (ICCV 2021) (256x256)RMSE3.89Unverified
SRDDC-ShadowNet (ICCV 2021) (512x512)RMSE3.68Unverified
SRDDC-ShadowNet (ICCV 2021) (256x256)RMSE4.27Unverified

Reproductions