Papers › HomoFormer: Homogenized Transformer for Image Shadow Removal

HomoFormer: Homogenized Transformer for Image Shadow Removal

1 Jan 2024CVPR 2024 1archive 2025-07-28

Jie Xiao, Xueyang Fu, Yurui Zhu, Dong Li, Jie Huang, Kai Zhu, Zheng-Jun Zha

The spatial non-uniformity and diverse patterns of shadow degradation conflict with the weight sharing manner of dominant models which may lead to an unsatisfactory compromise. To tackle with this issue we present a novel strategy from the view of shadow transformation in this paper: directly homogenizing the spatial distribution of shadow degradation. Our key design is the random shuffle operation and its corresponding inverse operation. Specifically random shuffle operation stochastically rearranges the pixels across spatial space and the inverse operation recovers the original order. After randomly shuffling the shadow diffuses in the whole image and the degradation appears in a homogenized way which can be effectively processed by the local self-attention layer. Moreover we further devise a new feed forward network with position modeling to exploit image structural information. Based on these elements we construct the final local window based transformer named HomoFormer for image shadow removal. Our HomoFormer can enjoy the linear complexity of local transformers while bypassing challenges of non-uniformity and diversity of shadow. Extensive experiments are conducted to verify the superiority of our HomoFormer across public datasets.

PaperPDFCode

Code

jiexiaou/homoformer officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

DiversityImage Shadow RemovalShadow Removal

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (512x512) LPIPS 0.196 #2 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (512x512) PSNR 28.53 #2 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (512x512) RMSE 2.88 #2 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (512x512) SSIM 0.857 #2 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (256x256) LPIPS 0.348 #14 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (256x256) PSNR 26.72 #14 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (256x256) RMSE 3.37 #14 of 26 Archive leaderboard report
Shadow Removal ISTD+ HomoFormer (CVPR 2024) (256x256) SSIM 0.732 #14 of 26 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (512x512) LPIPS 0.219 #2 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (512x512) PSNR 26.21 #2 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (512x512) RMSE 3.62 #2 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (512x512) SSIM 0.827 #2 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (256x256) LPIPS 0.325 #11 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (256x256) PSNR 24.64 #11 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (256x256) RMSE 4.17 #11 of 25 Archive leaderboard report
Shadow Removal SRD HomoFormer (CVPR 2024) (256x256) SSIM 0.723 #11 of 25 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections