ZITS++:通过改进基于结构先验的增量 Transformer 进行图像修复
ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priors
AI总结:
本文提出 ZITS++ 模型,通过改进基于结构先验的增量 Transformer,结合 TSR、SSU、FTR 和 ZeroRA 等模块,有效解决图像修复中纹理与结构恢复的挑战,并探讨了图像先验在高分辨率修复中的应用。
摘要:
图像修复涉及填充损坏图像的缺失区域。尽管最近取得了令人瞩目的成果,但恢复具有生动纹理和合理结构的图像仍然是一个重大挑战。由于卷积神经网络(CNN)的感受野有限,以前的方法主要处理规则纹理而忽略了整体结构。为此,我们研究学习一种基于零初始化残差加法的结构先验增量 Transformer(ZITS++),这是我们会议工作 ZITS 的改进模型。具体而言,给定一张损坏图像,我们提出 Transformer 结构恢复器(TSR)模块在低图像分辨率下恢复整体结构先验,这些先验进一步由简单结构上采样器(SSU)模块上采样到更高的图像分辨率。为了恢复图像纹理细节,我们使用傅里叶 CNN 纹理恢复(FTR)模块,该模块通过傅里叶和大核注意力卷积得到增强。此外,为了增强 FTR,来自 TSR 的上采样结构先验由结构特征编码器(SFE)进一步处理,并通过零初始化残差加法(ZeroRA)进行增量优化。此外,提出了一种新的掩码位置编码来编码大型不规则掩码。与 ZITS 相比,ZITS++ 通过几种技术提高了 FTR 的稳定性和修复能力。更重要的是,我们全面探讨了各种图像先验对修复的影响,并通过大量实验研究了如何利用它们来解决高分辨率图像修复问题。这项研究与大多数修复方法正交,因此可以显著造福社区。代码和模型将在 https://github.com/ewrfcas/ZITS-PlusPlus 发布。
英文摘要:
Image inpainting involves filling missing areas of a corrupted image. Despite impressive results have been achieved recently, restoring images with both vivid textures and reasonable structures remains a significant challenge. Previous methods have primarily addressed regular textures while disregarding holistic structures due to the limited receptive fields of Convolutional Neural Networks (CNNs). To this end, we study learning a Zero-initialized residual addition based Incremental Transformer on Structural priors (ZITS++), an improved model upon our conference work, ZITS. Specifically, given one corrupt image, we present the Transformer Structure Restorer (TSR) module to restore holistic structural priors at low image resolution, which are further upsampled by Simple Structure Upsampler (SSU) module to higher image resolution. To recover image texture details, we use the Fourier CNN Texture Restoration (FTR) module, which is strengthened by Fourier and large-kernel attention convolutions. Furthermore, to enhance the FTR, the upsampled structural priors from TSR are further processed by Structure Feature Encoder (SFE) and optimized with the Zero-initialized Residual Addition (ZeroRA) incrementally. Besides, a new masking positional encoding is proposed to encode the large irregular masks. Compared with ZITS, ZITS++ improves the FTR's stability and inpainting ability with several techniques. More importantly, we comprehensively explore the effects of various image priors for inpainting and investigate how to utilize them to address high-resolution image inpainting with extensive experiments. This investigation is orthogonal to most inpainting approaches and can thus significantly benefit the community. Codes and models will be released in https://github.com/ewrfcas/ZITS-PlusPlus.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。