CLA-GAN: A Context and Lightness Aware Generative Adversarial Network for Shadow Removal
Abstract
In this paper, we propose a novel context and lightness aware Generative Adversarial Network (CLA-GAN) framework for shadow removal, which refines a coarse result to a final shadow removal result in a coarse-to-fine fashion. At the refinement stage, we first obtain a lightness map using an encoder-decoder structure. With the lightness map and the coarse result as the inputs, the following encoder-decoder tries to refine the final result. Specifically, different from current methods restricted pixel-based features from shadow images, we embed a context-aware module into the refinement stage, which exploits patch-based features. The embedded module transfers features from non-shadow regions to shadow regions to ensure the consistency in appearance in the recovered shadow-free images. Since we consider pathces, the module can additionally enhance the spatial association and continuity around neighboring pixels. To make the model pay more attention to shadow regions during training, we use dynamic weights in the loss function. Moreover, we augment the inputs of the discriminator by rotating images in different degrees and use rotation adversarial loss during training, which can make the discriminator more stable and robust. Extensive experiments demonstrate the validity of the components in our CLA-GAN framework. Quantitative evaluation on different shadow datasets clearly shows the advantages of our CLA-GAN over the state-of-the-art methods.
BibTeX
@article {10.1111:cgf.14161,
journal = {Computer Graphics Forum},
title = {{CLA-GAN: A Context and Lightness Aware Generative Adversarial Network for Shadow Removal}},
author = {Zhang, Ling and Long, Chengjiang and Yan, Qingan and Zhang, Xiaolong and Xiao, Chunxia},
year = {2020},
publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
ISSN = {1467-8659},
DOI = {10.1111/cgf.14161}
}
journal = {Computer Graphics Forum},
title = {{CLA-GAN: A Context and Lightness Aware Generative Adversarial Network for Shadow Removal}},
author = {Zhang, Ling and Long, Chengjiang and Yan, Qingan and Zhang, Xiaolong and Xiao, Chunxia},
year = {2020},
publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
ISSN = {1467-8659},
DOI = {10.1111/cgf.14161}
}