Recasting Regional Lighting for Shadow Removal

City University of Hong Kong

Figure 1. Method Overview. Given a shadow image I_s and a shadow mask I_m as input, the proposed method first decomposes the shadow image into a reflectance layer R_s and an illumination layer L_s via the shadow-aware decomposition network. R_s, L_s, and image features through skip-connections are then fed into the bilateral correction network for lighting correction via the Local Lighting Correction (LLC) module to generate the shadow-free lighting \hat{L}_s, and texture restoration via the Illumination-Guided Texture Restoration (IGTR) module, and output the prediction \hat{I}.


Abstract

Removing shadows requires an understanding of both lighting conditions and object textures in a scene. Existing methods typically learn pixel-level color mappings between shadow and non-shadow images, in which the joint modeling of lighting and object textures is implicit and inadequate. We observe that in a shadow region, the degradation degree of object textures depends on the local illumination, while simply enhancing the local illumination cannot fully recover the attenuated textures. Based on this observation, we propose to condition the restoration of attenuated textures on the corrected local lighting in the shadow region. Specifically, We first design a shadow-aware decomposition network to estimate the illumination and reflectance layers of shadow regions explicitly. We then propose a novel bilateral correction network to recast the lighting of shadow regions in the illumination layer via a novel local lighting correction module, and to restore the textures conditioned on the corrected illumination layer via a novel illumination-guided texture restoration module. We further annotate pixel-wise shadow masks for the SRD dataset, which originally contains only image pairs. Experiments on three benchmarks show that our method outperforms existing SOTA shadow removal methods.

Visual Results

Dataset: SRD mask

BibTeX

Please consider to cite RRL-Net if it helps your research.
@article{liu2024recasting,
    title={Recasting Regional Lighting for Shadow Removal},
    author={Liu, Yuhao and Ke, Zhanghan and Xu, Ke and Liu, Fang and Wang, Zhenwei and Lau, Rynson WH},
    journal={arXiv preprint arXiv:2402.00341},
    year={2024}
}