利用输入图像中自注意力区域替换原始掩码的图像修复增强方法 Image inpainting enhancement by replacing the original mask with a self-attended region from the input image 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2024-11-08
👁️ 预览文献
💡 AI 中文简介
图像修复是恢复图像缺失区域的技术。本文提出一种基于Vision Transformer(ViT)的预处理方法,用ViT根据注意力矩阵中多样化的视觉图像块生成的像素值替换被掩码的像素,从而捕捉有判别力的空间特征。这是首个为图像修复任务设计的此类预处理模型,且可直接使用预训练ViT。在四个公开数据集上与四种标准模型对比,验证了该方法能有效提升修复性能。
领域计算机视觉/图像修复
适合谁读需要一定专业背景
核心贡献首次提出将Vision Transformer作为图像修复的预处理模型,用自注意力区域替换原始掩码像素;证明可直接利用预训练ViT和预定义图像块尺寸有效应用该方法。
关键数据在4个公开数据集上与4种标准模型对比,验证了预处理技术对修复性能的提升效果。
推荐理由如果你关注图像修复或Transformer应用,这篇论文提供了一个简单有效的预处理新思路,值得一读。
关键词["图像修复", "Vision Transformer", "自注意力机制", "预处理方法", "深度学习"]

原文摘要

查看英文原文摘要

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.