Image inpainting enhancement by replacing the original mask with a self-attended region from the input image
Kourosh Kiani, Razieh Rastgoo, Alireza Chaji, Sergio Escalera

TL;DR
This paper proposes a novel pre-processing method for image inpainting that uses a Vision Transformer to replace masked regions with self-attended patches, improving reconstruction quality.
Contribution
Introducing the first pre-processing approach for image inpainting that leverages ViT's attention mechanism to enhance pixel restoration.
Findings
Improved inpainting results over four standard models
Effective use of pre-trained ViT with fixed patch size
Demonstrated generalization across four datasets
Abstract
Image inpainting, the process of restoring missing or corrupted regions of an image by reconstructing pixel information, has recently seen considerable advancements through deep learning-based approaches. In this paper, we introduce a novel deep learning-based pre-processing methodology for image inpainting utilizing the Vision Transformer (ViT). Our approach involves replacing masked pixel values with those generated by the ViT, leveraging diverse visual patches within the attention matrix to capture discriminative spatial features. To the best of our knowledge, this is the first instance of such a pre-processing model being proposed for image inpainting tasks. Furthermore, we show that our methodology can be effectively applied using the pre-trained ViT model with pre-defined patch size. To evaluate the generalization capability of the proposed methodology, we provide experimental…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputer Graphics and Visualization Techniques · Industrial Vision Systems and Defect Detection · Image Enhancement Techniques
MethodsAttention Is All You Need · Softmax · Byte Pair Encoding · Dropout · Absolute Position Encodings · Dense Connections · Label Smoothing · Layer Normalization · Position-Wise Feed-Forward Layer · Adam
