[Paper Review] DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Network
This paper proposes DC-ShadowNet, an unsupervised deep learning method for single-image shadow removal that jointly leverages a domain classifier, physics-based chromaticity, shadow-robust features, and boundary smoothness losses to effectively handle both hard and soft shadows. The method outperforms state-of-the-art approaches in quantitative and qualitative evaluations and enables test-time training for further performance gains.
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~\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}.
Motivation & Objective
- To address the limitation of existing supervised shadow removal methods that require large paired datasets of shadow and non-shadow images.
- To develop an unsupervised method capable of handling both hard and soft shadows without relying on binary shadow masks.
- To improve shadow removal robustness on achromatic surfaces and complex shadow boundaries.
- To enable test-time training for performance refinement using unlabeled test images.
- To integrate domain classification into the GAN framework to guide the generator and discriminator to focus on shadow regions.
Proposed method
- Integrates a shadow/shadow-free domain classifier into both the generator and discriminator to focus learning on shadow regions.
- Employs a physics-based shadow-free chromaticity loss derived from entropy minimization in log-chromaticity space to enforce chromatic consistency.
- Uses shadow-robust perceptual features from a pre-trained VGG-16 network to preserve structural details under shadowing.
- Applies a boundary smoothness loss to ensure natural transitions at shadow boundaries in the output.
- Leverages unsupervised losses (chromaticity, feature, smoothness) for training without ground truth supervision.
- Supports test-time training using the same unsupervised losses to further refine results on unseen images.
Experimental results
Research questions
- RQ1Can an unsupervised GAN-based method effectively remove both hard and soft shadows without requiring paired training data?
- RQ2How does integrating a domain classifier improve shadow region focus and removal quality in the absence of ground truth?
- RQ3To what extent do physics-based chromaticity and shadow-robust features enhance performance on challenging surfaces like gray or white?
- RQ4Can test-time training further improve results in an unsupervised setting?
- RQ5How do the individual components (losses and domain classifier) contribute to overall performance?
Key findings
- DC-ShadowNet achieves the lowest RMSE (4.66) and highest PSNR (31.31) on the SRD dataset, outperforming state-of-the-art methods.
- On the LRSS dataset, the method achieves an RMSE of 3.48 and PSNR of 31.01, improving to RMSE 3.36 and PSNR 31.31 with test-time training.
- Ablation studies confirm that removing any of the proposed losses or components leads to significant performance drops, validating their necessity.
- The method successfully removes soft shadows where Mask-ShadowGAN fails due to its reliance on binary masks.
- Qualitative results show fewer artifacts and better surface restoration, especially in shadow boundaries and achromatic regions.
- Test-time training improves performance by 0.13 in PSNR and 0.12 in RMSE, demonstrating the effectiveness of self-refinement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.