Retinex-guided Histogram Transformer for Mask-free Shadow Removal

Wei Dong, Han Zhou, Seyed Amirreza Mousavi, Jun Chen
4/18/2025
cs.CV

Official code: dongw22/oath (3 stars, last commit 2025-07-18).

Abstract

While deep learning methods have achieved notable progress in shadow removal, many existing approaches rely on shadow masks that are difficult to obtain, limiting their generalization to real-world scenes. In this work, we propose ReHiT, an efficient mask-free shadow removal framework based on a hybrid CNN-Transformer architecture guided by Retinex theory. We first introduce a dual-branch pipeline to separately model reflectance and illumination components, and each is restored by our developed Illumination-Guided Hybrid CNN-Transformer (IG-HCT) module. Second, besides the CNN-based blocks that are capable of learning residual dense features and performing multi-scale semantic fusion, multi-scale semantic fusion, we develop the Illumination-Guided Histogram Transformer Block (IGHB) to effectively handle non-uniform illumination and spatially complex shadows. Extensive experiments on several benchmark datasets validate the effectiveness of our approach over existing mask-free methods. Trained solely on the NTIRE 2025 Shadow Removal Challenge dataset, our solution delivers competitive results with one of the smallest parameter sizes and fastest inference speeds among top-ranked entries, highlighting its applicability for real-world applications with limited computational resources. The code is available at https://github.com/dongw22/oath.

View on arXivView PDF

Code Implementations(1)

dongw22/oathOfficial100%

Implementation of Team Oath in NTIRE 25 Image Shadow Removal Challenge

30PythonMar 22, 20251 years ago

Similar Papers

Cite this paper

@article{dong2025retinexguided,
  title  = {Retinex-guided Histogram Transformer for Mask-free Shadow Removal},
  author = {Wei Dong and Han Zhou and Seyed Amirreza Mousavi and Jun Chen},
  year   = {2025},
  eprint = {2504.14092},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14092v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.14092.svg)](https://codeofpaper.com/paper/2504.14092)

Discussion