Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CRFormer: A Cross-Region Transformer for Shadow Removal

About

Aiming to restore the original intensity of shadow regions in an image and make them compatible with the remaining non-shadow regions without a trace, shadow removal is a very challenging problem that benefits many downstream image/video-related tasks. Recently, transformers have shown their strong capability in various applications by capturing global pixel interactions and this capability is highly desirable in shadow removal. However, applying transformers to promote shadow removal is non-trivial for the following two reasons: 1) The patchify operation is not suitable for shadow removal due to irregular shadow shapes; 2) shadow removal only needs one-way interaction from the non-shadow region to the shadow region instead of the common two-way interactions among all pixels in the image. In this paper, we propose a novel cross-region transformer, namely CRFormer, for shadow removal which differs from existing transformers by only considering the pixel interactions from the non-shadow region to the shadow region without splitting images into patches. This is achieved by a carefully designed region-aware cross-attention operation that can aggregate the recovered shadow region features conditioned on the non-shadow region features. Extensive experiments on ISTD, AISTD, SRD, and Video Shadow Removal datasets demonstrate the superiority of our method compared to other state-of-the-art methods.

Jin Wan, Hui Yin, Zhenyao Wu, Xinyi Wu, Zhihao Liu, Song Wang• 2022

Related benchmarks

TaskDatasetResultRank
Shadow RemovalISTD (test)--
65
Shadow RemovalSRD NS (Non-Shadow Region)
MAE3.15
13
Shadow RemovalSRD Shadow Region S
MAE7.14
13
Shadow RemovalSRD All Image
MAE4.25
13
Showing 4 of 4 rows

Other info

Follow for update