ShaDocFormer: A Shadow-attentive Threshold Detector with Cascaded Fusion Refiner for document shadow removal

09/13/2023
by   Weiwen Chen, et al.
0

Document shadow is a common issue that arise when capturing documents using mobile devices, which significantly impacts the readability. Current methods encounter various challenges including inaccurate detection of shadow masks and estimation of illumination. In this paper, we propose ShaDocFormer, a Transformer-based architecture that integrates traditional methodologies and deep learning techniques to tackle the problem of document shadow removal. The ShaDocFormer architecture comprises two components: the Shadow-attentive Threshold Detector (STD) and the Cascaded Fusion Refiner (CFR). The STD module employs a traditional thresholding technique and leverages the attention mechanism of the Transformer to gather global information, thereby enabling precise detection of shadow masks. The cascaded and aggregative structure of the CFR module facilitates a coarse-to-fine restoration process for the entire image. As a result, ShaDocFormer excels in accurately detecting and capturing variations in both shadow and illumination, thereby enabling effective removal of shadows. Extensive experiments demonstrate that ShaDocFormer outperforms current state-of-the-art methods in both qualitative and quantitative measurements.

READ FULL TEXT

page 1

page 4

research
07/28/2023

DocDeshadower: Frequency-aware Transformer for Document Shadow Removal

The presence of shadows significantly impacts the visual quality of scan...
research
11/30/2022

ShaDocNet: Learning Spatial-Aware Tokens in Transformer for Document Shadow Removal

Shadow removal improves the visual quality and legibility of digital cop...
research
11/20/2019

RIS-GAN: Explore Residual and Illumination with Generative Adversarial Networks for Shadow Removal

Residual images and illumination estimation have been proved very helpfu...
research
07/23/2022

Marior: Margin Removal and Iterative Content Rectification for Document Dewarping in the Wild

Camera-captured document images usually suffer from perspective and geom...
research
09/20/2021

R2D: Learning Shadow Removal to Enhance Fine-Context Shadow Detection

Current shadow detection methods perform poorly when detecting shadow re...
research
04/22/2019

Water-Filling: An Efficient Algorithm for Digitized Document Shadow Removal

In this paper, we propose a novel algorithm to rectify illumination of t...
research
03/23/2022

A Context-Aware Feature Fusion Framework for Punctuation Restoration

To accomplish the punctuation restoration task, most existing approaches...

Please sign up or login with your details

Forgot password? Click here to reset