Region-wise Generative Adversarial ImageInpainting for Large Missing Areas
Yuqing Ma, Xianglong Liu, Shihao Bai, Lei Wang, Aishan Liu, Dacheng Tao, Edwin Hancock
TL;DR
This work addresses the challenge of inpainting large, potentially contiguous missing regions by introducing a region-wise generative adversarial framework. It uses region-specific convolutions to treat existing and missing regions differently, a non-local correlation (correlation) loss to capture cross-patch relationships, and a region-wise discriminator to curb artifacts, achieving superior results on large holes across multiple datasets. The approach yields semantically coherent and visually realistic restorations, outperforming state-of-the-art methods in both contiguity scenarios and across diverse image domains. It also demonstrates practical utility in tasks like unwanted object removal, indicating broad applicability in image editing and restoration.
Abstract
Recently deep neutral networks have achieved promising performance for filling large missing regions in image inpainting tasks. They usually adopted the standard convolutional architecture over the corrupted image, leading to meaningless contents, such as color discrepancy, blur and artifacts. Moreover, most inpainting approaches cannot well handle the large continuous missing area cases. To address these problems, we propose a generic inpainting framework capable of handling with incomplete images on both continuous and discontinuous large missing areas, in an adversarial manner. From which, region-wise convolution is deployed in both generator and discriminator to separately handle with the different regions, namely existing regions and missing ones. Moreover, a correlation loss is introduced to capture the non-local correlations between different patches, and thus guides the generator to obtain more information during inference. With the help of our proposed framework, we can restore semantically reasonable and visually realistic images. Extensive experiments on three widely-used datasets for image inpainting tasks have been conducted, and both qualitative and quantitative experimental results demonstrate that the proposed model significantly outperforms the state-of-the-art approaches, both on the large continuous and discontinuous missing areas.
