CVMar 2, 2022

Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding

arXiv:2203.00867v2197 citationsh-index: 56Has Code
Originality Incremental advance
AI Analysis

This work addresses a specific problem in computer vision for image inpainting, offering an incremental improvement by integrating a structure restorer with existing models.

The paper tackles the challenge of recovering corrupted images with both vivid textures and reasonable structures in image inpainting by proposing an incremental transformer structure enhanced with masking positional encoding, achieving improved performance validated through extensive experiments on various datasets.

Image inpainting has made significant advances in recent years. However, it is still challenging to recover corrupted images with both vivid textures and reasonable structures. Some specific methods only tackle regular textures while losing holistic structures due to the limited receptive fields of convolutional neural networks (CNNs). On the other hand, attention-based models can learn better long-range dependency for the structure recovery, but they are limited by the heavy computation for inference with large image sizes. To address these issues, we propose to leverage an additional structure restorer to facilitate the image inpainting incrementally. The proposed model restores holistic image structures with a powerful attention-based transformer model in a fixed low-resolution sketch space. Such a grayscale space is easy to be upsampled to larger scales to convey correct structural information. Our structure restorer can be integrated with other pretrained inpainting models efficiently with the zero-initialized residual addition. Furthermore, a masking positional encoding strategy is utilized to improve the performance with large irregular masks. Extensive experiments on various datasets validate the efficacy of our model compared with other competitors. Our codes are released in https://github.com/DQiaole/ZITS_inpainting.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes