Image shadow removal is an essential image preprocessing task. In practical production environments, effective image shadow removal methods can significantly enhance the performance of subsequent image-based tasks. However, current methods for image shadow removal still encounter issues such as artifacts, color deviations, and blurriness due to factors including the capturing environment and algorithmic efficiency. This paper proposes an image shadow removal method using spatial attention, integrating physical and deep learning models. By incorporating multi-scale feature learning and preserving spatial details, the approach integrates shadow spatial attention modules, perceptual loss, and edge loss to improve the shadow removal effect. Experimental results demonstrate that the proposed method achieves a PSNR value of 36.14dB and an SSIM exceeding 98% in the ISTD dataset, with the RMSE reduced to 6.54. These outcomes affirm the efficiency and superiority of the proposed method in addressing the challenges of image shadow removal tasks.
|