arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.07892cs.CVcs.GR
收藏

基于上下文注意的生成式图像修补

Generative Image Inpainting with Contextual Attention

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Adobe Research(奥多比研究院)

Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, Thomas S. Huang

摘要:

最近的基于深度学习的方法已经显示出对于修复图像中的大缺失区域的挑战性任务的有希望的结果。这些方法可以生成视觉上合理的图像结构和纹理,但通常会创建与周围区域不一致的扭曲结构或模糊纹理。这主要是由于卷积神经网络在明确地从遥远的空间位置借用或复制信息方面的无效性。另一方面,传统的纹理和面片合成方法特别适合于需要从周围区域借用纹理的情况。受这些观察结果的启发,我们提出了一种新的基于深度生成模型的方法,该方法不仅可以合成新的图像结构,还可以在网络训练过程中显式地利用周围的图像特征作为参考,以进行更好的预测。该模型是一个前馈的,完全卷积神经网络,可以处理图像与多个孔在任意位置和可变大小的测试时间。在包括人脸(CelebA,CelebA-HQ),纹理(DTD)和自然图像(ImageNet,Places 2)在内的多个数据集上的实验表明,我们提出的方法比现有方法生成更高质量的修复结果。代码,演示和模型可在:https://github.com/JiahuiYu/generative_inpainting。

英文摘要:

Recent deep learning based approaches have shown promising results for the challenging task of inpainting large missing regions in an image. These methods can generate visually plausible image structures and textures, but often create distorted structures or blurry textures inconsistent with surrounding areas. This is mainly due to ineffectiveness of convolutional neural networks in explicitly borrowing or copying information from distant spatial locations. On the other hand, traditional texture and patch synthesis approaches are particularly suitable when it needs to borrow textures from the surrounding regions. Motivated by these observations, we propose a new deep generative model-based approach which can not only synthesize novel image structures but also explicitly utilize surrounding image features as references during network training to make better predictions. The model is a feed-forward, fully convolutional neural network which can process images with multiple holes at arbitrary locations and with variable sizes during the test time. Experiments on multiple datasets including faces (CelebA, CelebA-HQ), textures (DTD) and natural images (ImageNet, Places2) demonstrate that our proposed approach generates higher-quality inpainting results than existing ones. Code, demo and models are available at: https://github.com/JiahuiYu/generative_inpainting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑