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
11/8/2024
cs.CVeess.IV

No confident code implementation found for this paper.

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 results comparing our approach with four standard models across four public datasets, demonstrating the efficacy of our pre-processing technique in enhancing inpainting performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kiani2024image,
  title  = {Image inpainting enhancement by replacing the original mask with a self-attended region from the input image},
  author = {Kourosh Kiani and Razieh Rastgoo and Alireza Chaji and Sergio Escalera},
  year   = {2024},
  eprint = {2411.05705},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.05705v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.05705.svg)](https://codeofpaper.com/paper/2411.05705)

Discussion