Lune

CVPR2024Top-tier venue

HomoFormer: Homogenized Transformer for Image Shadow Removal

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

Abstract

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. Code is available at https://github.com/jiexiaou/HomoFormer .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Uformer: A General U-Shaped Transformer for Image Restoration cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Uformer: A General U-Shaped Transformer for Image Restoration cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • DenseSR: Image Shadow Removal as Dense Prediction cites Uformer: A General U-Shaped Transformer for Image Restoration
  • DenseSR: Image Shadow Removal as Dense Prediction cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Restormer: Efficient Transformer for High-Resolution Image Restoration cites Uformer: A General U-Shaped Transformer for Image Restoration
  • Restormer: Efficient Transformer for High-Resolution Image Restoration cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Restormer: Efficient Transformer for High-Resolution Image Restoration cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Motion-adaptive Transformer for Event-based Image Deblurring cites Uformer: A General U-Shaped Transformer for Image Restoration
  • Motion-adaptive Transformer for Event-based Image Deblurring cites Restormer: Efficient Transformer for High-Resolution Image Restoration
  • Motion-adaptive Transformer for Event-based Image Deblurring cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Motion-adaptive Transformer for Event-based Image Deblurring cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites On the Relationship between Self-Attention and Convolutional Layers
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Motion-adaptive Transformer for Event-based Image DeblurringSenyan Xu, Zhijing Sun, Mingchen Zhong, Chengzhi Cao et al.AAAI 2025 · 17 citations
  2. PhaSR: Generalized Image Shadow Removal with Physically Aligned PriorsChia-Ming Lee, Yu-Fan Lin, Yu-Jou Hsiao, Jin-Hui Jiang et al.CVPR 2026 · 5 citations
  3. DenseSR: Image Shadow Removal as Dense PredictionYu-Fan Lin, Chia-Ming Lee, Chih-Chung HsuACM MM 2025 · 4 citations
  4. When Shadow Removal Meets Intrinsic Image Decomposition: A Joint Learning Framework Using Unpaired DataRongjia Zheng, Qing Zhang, Yongwei Nie, Wei-Shi ZhengAAAI 2025 · 2 citations
  5. Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow DetectionXiaotian Qiao, Ke Xu, Xianglong Yang, Ruijie Dong et al.NeurIPS 2025 · 1 citation

Builds on26

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Restormer: Efficient Transformer for High-Resolution Image RestorationSyed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat et al.CVPR 2022 · 3,348 citations
  4. Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou et al.CVPR 2022 · 1,970 citations
  5. On the Relationship between Self-Attention and Convolutional LayersJean-Baptiste Cordonnier, Andreas Loukas, Martin JaggiICLR 2020 · 629 citations

Related papers

  1. ShadowFormer: Global Context Helps Shadow RemovalLanqing Guo, Siyu Huang, Ding Liu, Hao Cheng et al.AAAI 2023 · 60 citations
  2. Random Shuffle Transformer for Image RestorationJie Xiao, Xueyang Fu, Man Zhou, Hongjian Liu et al.ICML 2023 · 38 citations
  3. Stochastic Window Transformer for Image RestorationJie Xiao, Xueyang Fu, Feng Wu, Zheng-Jun ZhaNeurIPS 2022 · 37 citations
  4. Diff-Shadow: Global-guided Diffusion Model for Shadow RemovalJinting Luo, Ru Li, Chengzhi Jiang, Xiaoming Zhang et al.AAAI 2025 · 15 citations
  5. Multiview Detection with Shadow Transformer (and View-Coherent Data Augmentation)Yunzhong Hou, Liang ZhengACM MM 2021 · 65 citations
Dusk over the sea between two cliffs drawn in fine vertical lines