Abstract

In order to solve the problem that the global and local generated countermeasure network cannot inpaint the random irregular large holes, and to improve the standard convolution generator, which demonstrates the defects of color difference and blur, a network architecture of inpainting irregular large holes in an image based on double discrimination generation countermeasure network is proposed. Firstly, the image generator is a U-net architecture defined by partial convolution. The normalized partial convolution only completes the end-to-end mask update for the effective pixels. The skip link in U-net propagates the context information of the image to the higher resolution, and optimizes the training results of the model with the weighted loss function of reconstruction loss, perception loss and wind grid loss. Subsequently, the adversary loss function, the dual discrimination network including the synthetic discriminator and the global discriminator are trained separately to judge the consistency between the generated image and the real image. Finally, the weighted loss functions are trained together with generating network and double discrimination network to further enhance the detail and overall consistency of the inpainted area and make the inpainted results more natural. The simulation experiment is carried out on the Place 365 standard database. The subjective and objective experimental results show that the results of the proposed method has reasonable overall and detail semantic consistency than those of the existing methods when they are used to repair random, irregular and large-area holes. The proposed method effectively overcomes the defects of blurry details, color distortion and artifacts.

Highlights

  • 式中: Ipred 是生成网络的输出图像;Igt 是真实图像, M 是初始的二进制掩码(孔洞区为 0),(3) 式和(4)

  • Journal of Computer Application, 2018, 38(12) : 3557⁃3562, 3595 [ 12] LIU Guilin, FITSUM A REDA, KEVIN Shih, et al Image Inpainting for irregular holes using partial convolutions[ C] ∥The Eu⁃ ropean Conference on Computer Vision, 2018

  • Image restoration for irregular holes based on dual discrimination generation countermeasure network

Read more

Summary

Introduction

式中: Ipred 是生成网络的输出图像;Igt 是真实图像, M 是初始的二进制掩码(孔洞区为 0),(3) 式和(4) 式中: Ipred 是生成网络的输出图像;Igt 是真实图像; Φpooln 是 VGG⁃16 中第 n 层池化层的特征图。 1.3.3 对抗性损失 失。 Shift- net 的修复结果没产生伪影,但框内的修 复结果较模糊。 Pconv 在框内的修复结果未能体现 图像颜色信息,对色彩还原效果不足。 本文算法的 结果兼顾了纹理细节、结构和颜色信息,在视觉上获 得了更好的修复结果。 And Locally Consistent Image Completion[ J] .

Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call