Feature Refinement to Improve High Resolution Image Inpainting

Prakhar Kulshreshtha, Brian Pugh, Salma Jiddi
6/27/2022
cs.CVeess.IV

Official code: geomagical/lama-with-refiner (161 stars, Apache-2.0, last commit 2024-01-05).

Abstract

In this paper, we address the problem of degradation in inpainting quality of neural networks operating at high resolutions. Inpainting networks are often unable to generate globally coherent structures at resolutions higher than their training set. This is partially attributed to the receptive field remaining static, despite an increase in image resolution. Although downscaling the image prior to inpainting produces coherent structure, it inherently lacks detail present at higher resolutions. To get the best of both worlds, we optimize the intermediate featuremaps of a network by minimizing a multiscale consistency loss at inference. This runtime optimization improves the inpainting results and establishes a new state-of-the-art for high resolution inpainting. Code is available at: https://github.com/geomagical/lama-with-refiner/tree/refinement.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022

16111Shell, PythonApr 27, 20222 years agoApache-2.0

Similar Papers

Cite this paper

@article{kulshreshtha2022feature,
  title  = {Feature Refinement to Improve High Resolution Image Inpainting},
  author = {Prakhar Kulshreshtha and Brian Pugh and Salma Jiddi},
  year   = {2022},
  eprint = {2206.13644},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.13644}
}

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/2206.13644.svg)](https://codeofpaper.com/paper/2206.13644)

Discussion