journal article·2025Open access

Multi-Scale Dilated Attention-Based Transformer Network for Image Inpainting

Jinrong Li, Chunhua Wei, Lei Liang, Zhisheng Gao

Computers, Materials & Continua· Volume 84· Issue 2

Abstract

The Pressure Sensitive Paint Technique (PSP) has gained attention in recent years because of its significant benefits in measuring surface pressure on wind tunnel models. However, in the post-processing process of PSP images, issues such as pressure taps, paint peeling, and contamination can lead to the loss of pressure data on the image, which seriously affects the subsequent calculation and analysis of pressure distribution. Therefore, image inpainting is particularly important in the post-processing process of PSP images. Deep learning offers new methods for PSP image inpainting, but some basic characteristics of convolutional neural networks (CNNs) may limit their ability to handle restoration tasks. By contrast, the self-attention mechanism in the transformer can efficiently model non-local relationships among input features by generating adaptive attention scores. As a result, we propose an efficient transformer network model for the PSP image inpainting task, named multi-scale dilated attention transformer (D-former). The model utilizes the redundancy of global dependencies modeling in Vision Transformers (ViTs) to introduce multi-scale dilated attention (MDA), this mechanism effectively models the interaction between localized and sparse patches within the shifted window, achieving a better balance between computational complexity and receptive field. As a result, D-former allows efficient modeling of long-range features while using fewer parameters and lower computational costs. The experiments on two public datasets and the PSP dataset indicate that the method in this article performs better compared to several advanced methods. Through the verification of real wind tunnel tests, this method can accurately restore the luminescent intensity data of holes in PSP images, thereby improving the accuracy of full field pressure data, and has a promising future in practical applications.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Generative Adversarial Networks and Image Synthesis · Image Processing Techniques and Applications · Advanced Image Processing Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (39)

Show source-provided references
1. A review of pressure-sensitive paint for high-speed and unsteady aerodynamics10.1243/09544100JAERO243 ↗
2. Strong-continuation, contrast-invariant inpainting with a third-order optimal PDE10.1109/TIP.2006.877067 ↗
3. Exemplar-based inpainting: technical review and new heuristics for better geometric reconstructions
4. Image inpainting of wind tunnel test based on Otsu method and FMM
5. Learning contextual transformer network for image inpainting
6. Swin transformer: hierarchical vision transformer using shifted windows
7. Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai XH, Unterthiner T, et al. An image is worth 16 × 16 words: transformers for image recognition at scale. arXiv:2010.11929. 2020.
8. U-Net: convolutional networks for biomedical image segmentation
9. Context encoders: feature learning by inpainting
10. Goodfellow IJ, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, et al. Generative adversarial nets. arXiv:1406.2661v1. 2014.
11. EdgeConnect: structure guided image inpainting using edge prediction
12. Image inpainting via conditional texture and structure dual generation
13. Liao L, Xiao J, Wang Z, Lin CW, Satoh S. Image inpainting guided by coherence priors of semantics and textures. arXiv:2012.08054v1. 2020.10.1109/CVPR46437.2021.00647 ↗
14. Recurrent feature reasoning for image inpainting
15. Suvorov R, Logacheva E, Mashikhin A, Remizova A, Ashukha A, Silvestrov A, et al. Resolution-robust large mask inpainting with Fourier convolutions. arXiv:2109.07161v2. 2021.10.1109/WACV51458.2022.00323 ↗
16. Liu G, Reda FA, Shih KJ, Wang TC, Tao A, Catanzaro B. Image inpainting for irregular holes using partial convolutions. arXiv:1804.07723v2. 2018.10.1007/978-3-030-01252-6_6 ↗
17. Yu J, Lin Z, Yang J, Shen X, Lu X, Huang T. Free-form image inpainting with gated convolution. arXiv:1806.03589v2. 2018.10.1109/ICCV.2019.00457 ↗
18. Attention is all you need
19. Modality fusion vision transformer for hyperspectral and LiDAR data collaborative classification10.1109/JSTARS.2024.3415729 ↗
20. Image inpainting technique incorporating edge prior and attention mechanism
21. HINT: high-quality INpainting transformer with mask-aware encoding and enhanced attention10.1109/TMM.2024.3369897 ↗
22. End-to-end object detection with transformers
23. Learning texture transformer network for image super-resolution
24. SGT-net: a transformer-based stratified graph convolutional network for 3D point cloud semantic segmentation
25. Pyramid vision transformer: a versatile backbone for dense prediction without convolutions
26. Restormer: efficient transformer for high-resolution image restoration
27. T-former: an efficient transformer for image inpainting
28. Lingle LD. Transformer-VQ: linear-time transformers via vector quantization. arXiv:2309.16354. 2023.
29. Sparse self-attention transformer for image inpainting10.1016/j.patcog.2023.109897 ↗
30. Group equivariant convolutional networks
31. Spatiotemporal dilated convolution with uncertain matching for video-based crowd estimation10.1109/TMM.2021.3050059 ↗
32. Dynamic convolution: attention over convolution kernels
33. Hassani A, Shi H. Dilated neighborhood attention transformer. arXiv:2209.15001. 2022.10.1109/CVPR52729.2023.00599 ↗
34. Unpaired image-to-image translation using cycle-consistent adversarial networks
35. What makes Paris look like Paris?10.1145/2830541 ↗
36. Karras T, Aila T, Laine S, Lehtinen J. Progressive growing of GANs for improved quality, stability, and variation. arXiv:1710.10196. 2017.
37. Image inpainting with local and global refinement10.1109/TIP.2022.3152624 ↗
38. Grad-CAM: visual explanations from deep networks via gradient-based localization
39. Optuna: a next-generation hyperparameter optimization framework