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/Spatial-Transformer-shadow-removal
翻译:在本文中,我们建议用一个端到端的 SpA- Former 来从一个阴影图像中恢复一个无阴影的图像。 传统方法要求用两步来探测影子,然后清除阴影。 不同于传统方法, SpA- Former 将这些步骤统一成一个步骤, 这是一种单级网络, 能够直接学习阴影与无阴影之间的映射功能, 不需要另外的阴影探测。 因此, SpA- ex 能够适应真实图像去掉阴影, 在不同的语义区域投射的阴影。 SpA- Former 由变压器层组成, 以及一系列Fourier变压残余区块和两轮联合空间关注组成。 本文中的网络能够在快速处理效率的同时处理任务。 我们的代码在 https://github.com/ zhangbaijin/ Spatial- Transed- shadow- movery