HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

From Shadow Generation to Shadow Removal

Zhihao Liu Hui Yin Xinyi Wu Zhenyao Wu Yang Mi Song Wang

From Shadow Generation to Shadow Removal

Abstract

Shadow removal is a computer-vision task that aims to restore the image content in shadow regions. While almost all recent shadow-removal methods require shadow-free images for training, in ECCV 2020 Le and Samaras introduces an innovative approach without this requirement by cropping patches with and without shadows from shadow images as training samples. However, it is still laborious and time-consuming to construct a large amount of such unpaired patches. In this paper, we propose a new G2R-ShadowNet which leverages shadow generation for weakly-supervised shadow removal by only using a set of shadow images and their corresponding shadow masks for training. The proposed G2R-ShadowNet consists of three sub-networks for shadow generation, shadow removal and refinement, respectively and they are jointly trained in an end-to-end fashion. In particular, the shadow generation sub-net stylises non-shadow regions to be shadow ones, leading to paired data for training the shadow-removal sub-net. Extensive experiments on the ISTD dataset and the Video Shadow Removal dataset show that the proposed G2R-ShadowNet achieves competitive performances against the current state of the arts and outperforms Le and Samaras' patch-based shadow-removal method.

Code Repositories

hhqweasd/G2R-ShadowNet
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
shadow-removal-on-istd-1G2R-ShadowNet (CVPR 2021) (512x512)
LPIPS: 0.221
PSNR: 27.13
RMSE: 3.31
SSIM: 0.841
shadow-removal-on-istd-1G2R-ShadowNet (CVPR 2021) (256x256)
LPIPS: 0.396
PSNR: 24.23
RMSE: 4.37
SSIM: 0.696
shadow-removal-on-srdG2R-ShadowNet (CVPR 2021) (512x512)
LPIPS: 0.302
PSNR: 22.44
RMSE: 5.72
SSIM: 0.765
shadow-removal-on-srdG2R-ShadowNet (CVPR 2021) (256x256)
LPIPS: 0.46
PSNR: 21.72
RMSE: 6.08
SSIM: 0.619

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
From Shadow Generation to Shadow Removal | Papers | HyperAI