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

用于高质量图像修补的学习金字塔上下文编码器网络

Learning Pyramid-Context Encoder Network for High-Quality Image Inpainting

Sun Yat-sen University(中山大学);Microsoft Research(微软研究院)

Yanhong Zeng, Jianlong Fu, Hongyang Chao, Baining Guo

摘要:

高质量的图像修补需要用可信的内容填充受损图像中的缺失区域。现有的工作要么通过复制图像块填充区域,要么从区域上下文生成语义连贯的块,而忽略了视觉和语义连贯性都是高要求的事实。在本文中,我们提出了一个金字塔上下文编码器网络(PEN-Net)的图像修补的深度生成模型。PEN-Net建立在U-Net结构上,它可以通过从全分辨率输入编码上下文语义来恢复图像,并将学习到的语义特征解码回图像。具体来说,我们提出了一个上下文编码器,它逐步学习区域的亲和力,从一个高层次的语义特征图的注意力,并将学习到的注意力转移到以前的低层次的特征图。由于可以通过以金字塔方式从深到浅的注意转移来填充缺失的内容,因此可以确保用于图像修补的视觉和语义一致性。我们进一步提出了一个多尺度解码器,具有深度监督金字塔损失和对抗性损失。这样的设计不仅在训练中快速收敛,而且在测试中得到更真实的结果。在各种数据集上的实验表明了该网络的优越性能

英文摘要:

High-quality image inpainting requires filling missing regions in a damaged image with plausible content. Existing works either fill the regions by copying image patches or generating semantically-coherent patches from region context, while neglect the fact that both visual and semantic plausibility are highly-demanded. In this paper, we propose a Pyramid-context ENcoder Network (PEN-Net) for image inpainting by deep generative models. The PEN-Net is built upon a U-Net structure, which can restore an image by encoding contextual semantics from full resolution input, and decoding the learned semantic features back into images. Specifically, we propose a pyramid-context encoder, which progressively learns region affinity by attention from a high-level semantic feature map and transfers the learned attention to the previous low-level feature map. As the missing content can be filled by attention transfer from deep to shallow in a pyramid fashion, both visual and semantic coherence for image inpainting can be ensured. We further propose a multi-scale decoder with deeply-supervised pyramid losses and an adversarial loss. Such a design not only results in fast convergence in training, but more realistic results in testing. Extensive experiments on various datasets show the superior performance of the proposed network

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

↑