STNet: Structure and Texture-Guided Network for Image Inpainting

Zhan Li,Yanan Zhang,Yingfei Du,Xiaofeng Wang,Chao Wen,Yongqin Zhang,Guohua Geng,Fan Jia
DOI: https://doi.org/10.1016/j.patcog.2024.110786
IF: 8
2024-01-01
Pattern Recognition
Abstract:Generative Adversarial Network (GAN) has made great progress in image inpainting due to its strong generation capability. However, the previous methods based on GAN cannot understand the structure and texture of damaged images simultaneously, which leads to inconsistent structure and blurred details of inpainting results. To address this issue, we propose a Structure and Texture-guided Network for image inpainting (STNet), which consists of three networks, i.e. structure reconstruction network, texture reconstruction network, and image refinement network. STNet can restore the coherent structure and fine textures of damaged images in the first two networks, and fuse them to complete image inpainting in the last network. Experiments on three standard datasets CelebA, Places2, and Pairs StreetView show STNet is effective and outperforms other related methods. In particular, we also conducted experiments on the damaged images from tomb murals of Tang Dynasty in China, whose results also verify that our method can be applied to the restoration of historical relics. Our code is available at https://github.com/nwuAI/STNet.
What problem does this paper attempt to address?