TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/SpA-Former: Transformer image shadow detection and removal...

SpA-Former: Transformer image shadow detection and removal via spatial attention

Xiao Feng Zhang, Chao Chen Gu, Shan Ying Zhu

2022-06-22Shadow DetectionShadow Removal
PaperPDFCode(official)Code(official)

Abstract

In this paper, we propose an end-to-end SpA-Former to recover a shadow-free image from a single shaded image. Unlike traditional methods that require two steps for shadow detection and then shadow removal, the SpA-Former unifies these steps into one, which is a one-stage network capable of directly learning the mapping function between shadows and no shadows, it does not require a separate shadow detection. Thus, SpA-former is adaptable to real image de-shadowing for shadows projected on different semantic regions. SpA-Former consists of transformer layer and a series of joint Fourier transform residual blocks and two-wheel joint spatial attention. The network in this paper is able to handle the task while achieving a very fast processing efficiency. Our code is relased on https://github.com/zhangbaijin/SpA-Former-shadow-removal

Results

TaskDatasetMetricValueModel
Image EditingISTDMAE6.62Zhang et al.
Shadow RemovalISTDMAE6.62Zhang et al.
16kISTDMAE6.62Zhang et al.

Related Papers

Image Restoration via Multi-domain Learning2025-05-07Retinex-guided Histogram Transformer for Mask-free Shadow Removal2025-04-18S-EO: A Large-Scale Dataset for Geometry-Aware Shadow Detection in Remote Sensing Applications2025-04-09FASR-Net: Unsupervised Shadow Removal Leveraging Inherent Frequency Priors2025-04-08Leveraging Contrast Information for Efficient Document Shadow Removal2025-04-01FastInstShadow: A Simple Query-Based Model for Instance Shadow Detection2025-03-10QDCNN: Quantum Deep Learning for Enhancing Safety and Reliability in Autonomous Transportation Systems2025-03-01Prompt-Aware Controllable Shadow Removal2025-01-25