[Paper Review] Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
This paper proposes a dual hierarchical aggregation network (DHAN) and a shadow matting GAN (SMGAN) to achieve ghost-free shadow removal. DHAN uses growth dilated convolutions and hierarchical feature and attention aggregation to preserve shadow boundaries, while SMGAN synthesizes realistic shadow images from shadow-free images and masks to augment training data, significantly improving color consistency and performance over state-of-the-art methods.
Shadow removal is an essential task for scene understanding. Many studies consider only matching the image contents, which often causes two types of ghosts: color in-consistencies in shadow regions or artifacts on shadow boundaries. In this paper, we tackle these issues in two ways. First, to carefully learn the border artifacts-free image, we propose a novel network structure named the dual hierarchically aggregation network~(DHAN). It contains a series of growth dilated convolutions as the backbone without any down-samplings, and we hierarchically aggregate multi-context features for attention and prediction, respectively. Second, we argue that training on a limited dataset restricts the textural understanding of the network, which leads to the shadow region color in-consistencies. Currently, the largest dataset contains 2k+ shadow/shadow-free image pairs. However, it has only 0.1k+ unique scenes since many samples share exactly the same background with different shadow positions. Thus, we design a shadow matting generative adversarial network~(SMGAN) to synthesize realistic shadow mattings from a given shadow mask and shadow-free image. With the help of novel masks or scenes, we enhance the current datasets using synthesized shadow images. Experiments show that our DHAN can erase the shadows and produce high-quality ghost-free images. After training on the synthesized and real datasets, our network outperforms other state-of-the-art methods by a large margin. The code is available: http://github.com/vinthony/ghost-free-shadow-removal/
Motivation & Objective
- To address ghost artifacts in shadow removal, particularly color inconsistencies and boundary artifacts.
- To overcome limited scene diversity in existing shadow removal datasets, which harms color consistency.
- To develop a robust, generalizable shadow removal model using data augmentation via synthetic shadow generation.
- To integrate joint learning of shadow detection and removal through a unified network architecture with hierarchical feature and attention aggregation.
Proposed method
- Proposes a Dual Hierarchical Aggregation Network (DHAN) that uses growth dilated convolutions as a backbone without downsampling to preserve low-level details.
- Introduces hierarchical feature aggregation and hierarchical attention mechanisms to enhance multi-context feature reuse and improve boundary fidelity.
- Designs a Shadow Matting GAN (SMGAN) that learns to generate realistic shadow mattings from shadow-free images and masks, enabling data augmentation.
- Trains SMGAN on real paired datasets to synthesize novel shadow images with diverse scenes and masks, expanding training data distribution.
- Combines real and synthesized data for end-to-end training of DHAN, improving generalization and reducing artifacts.
- Uses attention loss from ground-truth shadow masks to supervise the attention mechanism, ensuring accurate shadow region focus.
Experimental results
Research questions
- RQ1Can a deep network architecture with hierarchical feature and attention aggregation effectively reduce ghosting artifacts in shadow removal?
- RQ2How does the integration of synthetic shadow data from a GAN-based matting network improve generalization and color consistency?
- RQ3To what extent can a shadow matting GAN generate realistic shadow mattings that preserve natural scene distributions?
- RQ4Does joint learning of shadow detection and removal via a unified architecture outperform separate or single-task approaches?
- RQ5Can training on augmented data (real + synthesized) improve performance on unseen datasets like SRD and SBU?
Key findings
- The proposed DHAN with dual hierarchical aggregation (DLA) reduces RMSE to 5.67 on the SRD dataset, outperforming the baseline CAN (6.14) and LA variant (5.98).
- The ablation study confirms that hierarchical attention and feature aggregation significantly reduce ghosting, especially on shadow boundaries.
- The SMGAN generates high-quality shadow images with LPIPS of 5.38, SSIM of 91.67, and PSNR of 26.31, surpassing Mask-ShadowGAN and Pix2Pix.
- Training on the augmented ISTD+S dataset reduces RMSE from 11.9 (ISTD-only) to 9.82 on the SRD dataset, demonstrating improved generalization.
- On the SBU dataset, the model trained with synthesized data (ISTD+S) successfully removes shadows without ghosting, even on novel scenes.
- Visual comparisons show that the proposed method effectively removes shadows while preserving color consistency and avoiding artifacts, especially in large shadow regions.
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.