Image Inpainting for Irregular Holes Using Partial Convolutions

Guilin Liu, Fitsum A. Reda, Kevin J. Shih, Ting-Chun Wang, Andrew Tao +1 more
4/20/2018
cs.CV

Official code: NVIDIA/partialconv (1,281 stars, last commit 2023-05-16).

Abstract

Existing deep learning based image inpainting methods use a standard convolutional network over the corrupted image, using convolutional filter responses conditioned on both valid pixels as well as the substitute values in the masked holes (typically the mean value). This often leads to artifacts such as color discrepancy and blurriness. Post-processing is usually used to reduce such artifacts, but are expensive and may fail. We propose the use of partial convolutions, where the convolution is masked and renormalized to be conditioned on only valid pixels. We further include a mechanism to automatically generate an updated mask for the next layer as part of the forward pass. Our model outperforms other methods for irregular masks. We show qualitative and quantitative comparisons with other methods to validate our approach.

View on arXivView PDF

Code Implementations(1)

NVIDIA/partialconvOfficial100%

A New Padding Scheme: Partial Convolution based Padding

1,281212PythonNov 5, 20183 years agoNOASSERTION

Similar Papers

Cite this paper

@article{liu2018image,
  title  = {Image Inpainting for Irregular Holes Using Partial Convolutions},
  author = {Guilin Liu and Fitsum A. Reda and Kevin J. Shih and Ting-Chun Wang and Andrew Tao and Bryan Catanzaro},
  year   = {2018},
  eprint = {1804.07723},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.07723}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.07723.svg)](https://codeofpaper.com/paper/1804.07723)

Discussion