Multistage Semantic‐aware Image Inpainting with Stacked Generator Networks
Yongpeng Ren,Hongping Ren,Canghong Shi,Xian Zhang,Xi Wu,Xiaojie Li,Jiancheng Lv,Jiliu Zhou,Imran Mumtaz
DOI: https://doi.org/10.1002/int.22687
IF: 8.993
2021-01-01
International Journal of Intelligent Systems
Abstract:Deep learning has been widely applied into image inpainting. However, traditional image processing methods (i.e., patch‐based and diffusion‐based methods) generally fail to produce visually natural contents and semantically reasonable structures due to ineffectively processing the high‐level semantic information of images. To solve the problem, we propose a stacked generator networks assisted by patch discriminator for image inpainting by multistage. In the proposed method, our generator network mainly consists of three‐layer stacked encoder‐decoder architecture, which could fuse different level feature information and achieve image inpainting via a coarse‐to‐fine hierarchical representation. Meanwhile, we split the masked image into different patches in each layer, which could effectively enlarge the receptive field and extract more useful features of images. Moreover, the patch discriminator is introduced to judge the patches of inpainting image are real or fake. In this way, our network can effectively utilize the semantic information to complete a fine result. Furthermore, both perceptual loss and style loss are used to improve the inpainting results in verse. Experimental results on Places2 and Paris StreetView illustrate that our approach could generate high‐quality inpainting results, and our method is more effective than the existing image inpainting methods.