Lan Fu, Changqing Zhou, Qing Guo, Felix Juefei-Xu, Hongkai Yu, Wei Feng, Yang Liu, Song Wang
Shadow removal is still a challenging task due to its inherent background-dependent and spatial-variant properties, leading to unknown and diverse shadow patterns. Even powerful state-of-the-art deep neural networks could hardly recover traceless shadow-removed background. This paper proposes a new solution for this task by formulating it as an exposure fusion problem to address the challenges. Intuitively, we can first estimate multiple over-exposure images w.r.t. the input image to let the shadow regions in these images have the same color with shadow-free areas in the input image. Then, we fuse the original input with the over-exposure images to generate the final shadow-free counterpart. Nevertheless, the spatial-variant property of the shadow requires the fusion to be sufficiently `smart', that is, it should automatically select proper over-exposure pixels from different images to make the final output natural. To address this challenge, we propose the shadow-aware FusionNet that takes the shadow image as input to generate fusion weight maps across all the over-exposure images. Moreover, we propose the boundary-aware RefineNet to eliminate the remaining shadow trace further. We conduct extensive experiments on the ISTD, ISTD+, and SRD datasets to validate our method's effectiveness and show better performance in shadow regions and comparable performance in non-shadow regions over the state-of-the-art methods. We release the model and code in https://github.com/tsingqguo/exposure-fusion-shadow-removal.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Image Editing | SRD | LPIPS | 0.247 | Auto (CVPR 2021) (512x512) |
| Image Editing | SRD | PSNR | 24.32 | Auto (CVPR 2021) (512x512) |
| Image Editing | SRD | RMSE | 4.71 | Auto (CVPR 2021) (512x512) |
| Image Editing | SRD | SSIM | 0.8 | Auto (CVPR 2021) (512x512) |
| Image Editing | SRD | LPIPS | 0.37 | Auto (CVPR 2021) (256x256) |
| Image Editing | SRD | PSNR | 23.2 | Auto (CVPR 2021) (256x256) |
| Image Editing | SRD | RMSE | 5.37 | Auto (CVPR 2021) (256x256) |
| Image Editing | SRD | SSIM | 0.694 | Auto (CVPR 2021) (256x256) |
| Image Editing | ISTD+ | LPIPS | 0.189 | Auto (CVPR 2021) (512x512) |
| Image Editing | ISTD+ | PSNR | 28.07 | Auto (CVPR 2021) (512x512) |
| Image Editing | ISTD+ | RMSE | 2.99 | Auto (CVPR 2021) (512x512) |
| Image Editing | ISTD+ | SSIM | 0.853 | Auto (CVPR 2021) (512x512) |
| Image Editing | ISTD+ | LPIPS | 0.365 | Auto (CVPR 2021) (256x256) |
| Image Editing | ISTD+ | PSNR | 26.1 | Auto (CVPR 2021) (256x256) |
| Image Editing | ISTD+ | RMSE | 3.53 | Auto (CVPR 2021) (256x256) |
| Image Editing | ISTD+ | SSIM | 0.718 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | SRD | LPIPS | 0.247 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | SRD | PSNR | 24.32 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | SRD | RMSE | 4.71 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | SRD | SSIM | 0.8 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | SRD | LPIPS | 0.37 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | SRD | PSNR | 23.2 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | SRD | RMSE | 5.37 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | SRD | SSIM | 0.694 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | ISTD+ | LPIPS | 0.189 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | ISTD+ | PSNR | 28.07 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | ISTD+ | RMSE | 2.99 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | ISTD+ | SSIM | 0.853 | Auto (CVPR 2021) (512x512) |
| Shadow Removal | ISTD+ | LPIPS | 0.365 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | ISTD+ | PSNR | 26.1 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | ISTD+ | RMSE | 3.53 | Auto (CVPR 2021) (256x256) |
| Shadow Removal | ISTD+ | SSIM | 0.718 | Auto (CVPR 2021) (256x256) |
| 16k | SRD | LPIPS | 0.247 | Auto (CVPR 2021) (512x512) |
| 16k | SRD | PSNR | 24.32 | Auto (CVPR 2021) (512x512) |
| 16k | SRD | RMSE | 4.71 | Auto (CVPR 2021) (512x512) |
| 16k | SRD | SSIM | 0.8 | Auto (CVPR 2021) (512x512) |
| 16k | SRD | LPIPS | 0.37 | Auto (CVPR 2021) (256x256) |
| 16k | SRD | PSNR | 23.2 | Auto (CVPR 2021) (256x256) |
| 16k | SRD | RMSE | 5.37 | Auto (CVPR 2021) (256x256) |
| 16k | SRD | SSIM | 0.694 | Auto (CVPR 2021) (256x256) |
| 16k | ISTD+ | LPIPS | 0.189 | Auto (CVPR 2021) (512x512) |
| 16k | ISTD+ | PSNR | 28.07 | Auto (CVPR 2021) (512x512) |
| 16k | ISTD+ | RMSE | 2.99 | Auto (CVPR 2021) (512x512) |
| 16k | ISTD+ | SSIM | 0.853 | Auto (CVPR 2021) (512x512) |
| 16k | ISTD+ | LPIPS | 0.365 | Auto (CVPR 2021) (256x256) |
| 16k | ISTD+ | PSNR | 26.1 | Auto (CVPR 2021) (256x256) |
| 16k | ISTD+ | RMSE | 3.53 | Auto (CVPR 2021) (256x256) |
| 16k | ISTD+ | SSIM | 0.718 | Auto (CVPR 2021) (256x256) |