PD-GAN: Probabilistic Diverse GAN for Image Inpainting
Authors:
- 1 June 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 9367-9376
Abstract
We propose PD-GAN, a probabilistic diverse GAN for image inpainting. Given an input image with arbitrary hole regions, PD-GAN produces multiple inpainting results with diverse and visually realistic content. Our PD-GAN is built upon a vanilla GAN which generates images based on random noise. During image generation, we modulate deep features of input random noise from coarse-to-fine by injecting an initially restored image and the hole regions in multiple scales. We argue that during hole filling, the pixels near the hole boundary should be more deterministic (i.e., with higher probability trusting the context and initially restored image to create natural inpainting boundary), while those pixels lie in the center of the hole should enjoy more degrees of freedom (i.e., more likely to depend on the random noise for enhancing diversity). To this end, we propose spatially probabilistic diversity normalization (SPDNorm) inside the modulation to model the probability of generating a pixel conditioned on the context information. SPDNorm dynamically balances the realism and diversity inside the hole region, making the generated content more diverse towards the hole center and resemble neighboring image content more towards the hole boundary. Meanwhile, we propose a perceptual diversity loss to further empower PD-GAN for diverse content generation. Experiments on benchmark datasets including CelebA-HQ, Places2 and Paris Street View indicate that PD-GAN is effective for diverse and visually realistic image restoration.Keywords
All Related Versions
This publication has 36 references indexed in Scilit:
- Globally and locally consistent image completionACM Transactions on Graphics, 2017
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution2016
- An Uncertain Future: Forecasting from Static Images Using Variational Autoencoders2016
- Context Encoders: Feature Learning by Inpainting2016
- What makes Paris look like Paris?Communications of the ACM, 2015
- Image meldingACM Transactions on Graphics, 2012
- PatchMatch2009
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004
- Filling-in by joint interpolation of vector fields and gray levelsIEEE Transactions on Image Processing, 2001
- Image inpainting2000