Image Inpainting Transformer with Mask-Aware Encoding and Dilated Convolutional Attention
Existing image inpainting methods usually use convolution-based downsampling to reduce the spatial dimension of the image, but this method may cause information loss when dealing with large missing areas. Due to the limitation of computational cost, the self-attention mechanism in Transformer cannot fully utilize the long-term modeling capabilities of these models. To solve the above problems, this paper proposes an innovative image inpainting model: Image Inpainting Transformer with Mask-aware Encoding and Dilated Convolutional Attention (IMD). The model uses Mask-aware Depthwise Separable Downsampling Module (MDD) to preserve the visible features of the damaged image. At the same time, the Dilated Convolutional Attention Layer (DCAL) is introduced to enhance the model's ability to capture image spatial and channel features by combining the self-attention mechanism and Dilated Convolutional, achieving multi-scale image inpainting effects. Experimental results on the Paris Street View standard dataset show that the IMD algorithm is significantly better than the existing technology. We conducted experiments on the Dunhuang mural dataset, and the experimental results also verified the feasibility of this method in cultural relics inpainting.
Authors
- Yuqing Shi (ORCID: https://orcid.org/0009-0009-9655-0931)
- Kaiwu Zhang (ORCID: https://orcid.org/0009-0007-3666-852X)
- Shiqiang Du (ORCID: https://orcid.org/0000-0003-0865-401X)
- Shuicheng Yan (ORCID: https://orcid.org/0000-0001-8906-3777)
- Liang Zhang (ORCID: https://orcid.org/0000-0001-9041-1150)
Institutions
- Ministry of Education of the People's Republic of China (CN)
- Minzu University of China (CN)
Publication Details
- Published
- 2025-04-25
- DOI
- https://doi.org/10.1109/iccea65460.2025.11103018
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00