Welcome to Journal of University of Chinese Academy of Sciences,Today is

Journal of University of Chinese Academy of Sciences

Previous Articles     Next Articles

Seamless image completion via GAN inversion

YU Yongsheng, LUO Tiejian   

  1. School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 101408, China
  • Received:2022-04-11 Revised:2022-06-29 Online:2022-06-30

Abstract: Image completion is widely used in unwanted object removal and media editing, which aims to find a semantically consistent way to recover corrupted images. This paper is based on generative adversarial network (GAN) inversion, which leverages a pre-trained GAN model as an effective prior to filling in the missing regions with photo-realistic textures. However, existing GAN inversion methods ignore that image completion is a generative task with the hard constraint, making final images have noticeable color and semantic discontinuity issues. This paper design novel bi-directional perceptual generator and pre-modulation network to seamlessly fill in the images. The bi-directional perceptual generator uses extended latent space to help the model perceive the non-missing regions of the input images in terms of data representations. The pre-modulated networks utilize multiscale structure further provides more discriminative semantics for the style vectors. In this paper, experiments are conducted on Places2 and CelebA-HQ datasets to verify that the proposed method builds a bridge between GAN inversion and image completion and outperforms current mainstream algorithms, especially in FID metrics up to 49.2% enhancement at most.

Key words: image completion, GAN inversion, generative adversarial network, deep learning, unwanted object removal

CLC Number: