Aggregated Contextual Transformations for High-Resolution Image Inpainting

By Yanhong Zeng, Jianlong Fu, Hongyang Chao, Baining Guo. 2021

324 citations recorded by the source corpus.

Image inpainting that completes large free-form missing regions in images is a promising yet challenging task. State-of-the-art approaches have achieved significant progress by taking advantage of generative adversarial networks (GAN). However, these approaches can suffer from generating distorted structures and blurry textures in high-resolution images (e.g., <inline-formula><tex-math notation="LaTeX">$512\times 512$</tex-math><alternatives><mml:math><mml:mrow><mml:mn>512</mml:mn><mml:mo>×</mml:mo><mml:mn>512</mml:mn></mml:mrow></mml:math><inline-graphic xlink:href="fu-ieq1-3156949.gif"/></alternatives></inline-formula>). The challenges mainly drive from (1) image content reasoning from distant contexts, and (2) fine-grained texture synthesis for a large missing region. To overcome these two challenges, we propose an enhanced GAN-based model, named <bold>A</bold>ggregated C<bold>O</bold>ntextual-<bold>T</bold>ransformation GAN (<bold>AOT-GAN</bold>), for high-resolution image inpainting. Specifically, to enhance context reasoning, we construct the generator of AOT-GAN by stacking multiple layers of a proposed AOT block. The AOT blocks aggregate contextual transformations from various receptive fields, allowing to capture both informative distant image contexts and rich patterns of interest for context reasoning. For improving texture synthesis, we enhance the discriminator of AOT-GAN by training it with a tailored mask-prediction task. Such a training objective forces the discriminator to distinguish the detailed appearances of real and synthesized patches, and in turn facilitates the generator to synthesize clear textures. Extensive comparisons on Places2, the most challenging benchmark with 1.8 million high-resolution images of 365 complex scenes, show that our model outperforms the state-of-the-art. A user study including more than <bold>30 subjects</bold> further validates the superiority of AOT-GAN. We further evaluate the proposed AOT-GAN in practical applications, e.g., logo removal, face editing, and object removal. Results show that our model achieves promising completions in the real world. We release codes and models in <uri>https://github.com/researchmm/AOT-GAN-for-Inpainting</uri>.

Subfields: Computer Vision and Pattern Recognition, Generative Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Radu Timofte
  3. Ming-Hsuan Yang
  4. Chen Change Loy
  5. Lei Zhang
  6. Dacheng Tao
  7. Martin Danelljan
  8. Trevor Darrell

In Generative Models

  1. Radu Timofte
  2. Luc Van Gool
  3. Byeongsu Sim
  4. Andreas Lugmayr
  5. Andrés Romero
  6. Fisher Yu
  7. Hyungjin Chung
  8. Dohoon Ryu

Citations in the corpus