HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Jin Yeying ; Sharma Aashish ; Tan Robby T.

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

Abstract

Shadow removal from a single image is generally still an open problem. Mostexisting learning-based methods use supervised learning and require a largenumber of paired images (shadow and corresponding non-shadow images) fortraining. A recent unsupervised method, Mask-ShadowGAN~\cite{Hu19}, addressesthis limitation. However, it requires a binary mask to represent shadowregions, making it inapplicable to soft shadows. To address the problem, inthis paper, we propose an unsupervised domain-classifier guided shadow removalnetwork, DC-ShadowNet. Specifically, we propose to integrate ashadow/shadow-free domain classifier into a generator and its discriminator,enabling them to focus on shadow regions. To train our network, we introducenovel losses based on physics-based shadow-free chromaticity, shadow-robustperceptual features, and boundary smoothness. Moreover, we show that ourunsupervised network can be used for test-time training that further improvesthe results. Our experiments show that all these novel components allow ourmethod to handle soft shadows, and also to perform better on hard shadows bothquantitatively and qualitatively than the existing state-of-the-art shadowremoval methods. Our code is available at:\url{https://github.com/jinyeying/DC-ShadowNet-Hard-and-Soft-Shadow-Removal}.

Code Repositories

jinyeying/DC-ShadowNet-Hard-and-Soft-Shadow-Removal
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
shadow-removal-on-istdDC-ShadowNet
MAE: 5.88
shadow-removal-on-istd-1DC-ShadowNet (ICCV 2021) (256x256)
LPIPS: 0.406
PSNR: 25.18
RMSE: 3.89
SSIM: 0.693
shadow-removal-on-istd-1DC-ShadowNet (ICCV 2021) (512x512)
LPIPS: 0.234
PSNR: 26.06
RMSE: 3.64
SSIM: 0.835
shadow-removal-on-srdDC-ShadowNet (ICCV 2021) (256x256)
LPIPS: 0.383
PSNR: 24.72
RMSE: 4.27
SSIM: 0.67
shadow-removal-on-srdDC-ShadowNet (ICCV 2021) (512x512)
LPIPS: 0.255
PSNR: 26.47
RMSE: 3.68
SSIM: 0.808

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp