arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.15643cs.CV
收藏

基于对比注意力网络的自由形式图像修补

Free-Form Image Inpainting via Contrastive Attention Network

University of Chinese Academy of Sciences(中国科学院大学);Meituandianping Group(美团点评集团);CASIA(中国科学院自动化研究所);University of Science and Technology of China(中国科学技术大学)

Xin Ma, Xiaoqiang Zhou, Huaibo Huang, Zhenhua Chai, Xiaolin Wei, Ran He

摘要:

大多数基于深度学习的图像修补方法采用自动编码器或其变体来填充图像中的缺失区域。编码器通常用于学习强大的表征空间,这对于处理复杂的学习任务非常重要。具体地,在图像修补任务中,具有任何形状的掩模可以出现在图像中的任何地方(即,自由形式的掩模),其形成复杂的图案。编码器很难在这种复杂的情况下捕获如此强大的表示。为了解决这个问题,我们提出了一个自监督的连体推理网络,以提高鲁棒性和泛化能力。它可以从全分辨率图像编码上下文语义,并获得更多的歧视性表示。我们还提出了一种多尺度解码器,该解码器具有新颖的双注意力融合模块(DualAttention Fusion Module,DualAttention Fusion Module),其可以以平滑的方式组合恢复的区域和已知的区域。这种多尺度架构有利于将编码器学习到的区别性表示逐层解码为图像。这样,未知的区域就会由外而内自然填充。在多个数据集上进行定性和定量实验,包括面部和自然数据集(即,Celeb-HQ,Pairs Street View,Places 2和ImageNet),证明了我们提出的方法在生成高质量修复结果方面优于最先进的方法。

英文摘要:

Most deep learning based image inpainting approaches adopt autoencoder or its variants to fill missing regions in images. Encoders are usually utilized to learn powerful representational spaces, which are important for dealing with sophisticated learning tasks. Specifically, in image inpainting tasks, masks with any shapes can appear anywhere in images (i.e., free-form masks) which form complex patterns. It is difficult for encoders to capture such powerful representations under this complex situation. To tackle this problem, we propose a self-supervised Siamese inference network to improve the robustness and generalization. It can encode contextual semantics from full resolution images and obtain more discriminative representations. we further propose a multi-scale decoder with a novel dual attention fusion module (DAF), which can combine both the restored and known regions in a smooth way. This multi-scale architecture is beneficial for decoding discriminative representations learned by encoders into images layer by layer. In this way, unknown regions will be filled naturally from outside to inside. Qualitative and quantitative experiments on multiple datasets, including facial and natural datasets (i.e., Celeb-HQ, Pairs Street View, Places2 and ImageNet), demonstrate that our proposed method outperforms state-of-the-art methods in generating high-quality inpainting results.

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

↑