Cargando…

Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators

Image inpainting networks can produce visually reasonable results in the damaged regions. However, existing inpainting networks may fail to reconstruct the proper structures or tend to generate the results with color discrepancy. To solve this issue, this paper proposes an image inpainting approach...

Descripción completa

Detalles Bibliográficos
Autores principales: Li, Chen, He, Kai, Liu, Kun, Ma, Xitao
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7663596/
https://www.ncbi.nlm.nih.gov/pubmed/33143187
http://dx.doi.org/10.3390/s20216193
_version_ 1783609663750668288
author Li, Chen
He, Kai
Liu, Kun
Ma, Xitao
author_facet Li, Chen
He, Kai
Liu, Kun
Ma, Xitao
author_sort Li, Chen
collection PubMed
description Image inpainting networks can produce visually reasonable results in the damaged regions. However, existing inpainting networks may fail to reconstruct the proper structures or tend to generate the results with color discrepancy. To solve this issue, this paper proposes an image inpainting approach using the proposed two-stage loss function. The loss function consists of different Gaussian kernels, which are utilized in different stages of network. The use of our two-stage loss function in coarse network helps to focus on the image structure, while the use of it in refinement network is helpful to restore the image details. Moreover, we proposed a global and local PatchGANs (GAN means generative adversarial network), named GL-PatchGANs, in which the global and local markovian discriminators were used to control the final results. This is beneficial to focus on the regions of interest (ROI) on different scales and tends to produce more realistic structural and textural details. We trained our network on three popular datasets on image inpainting separately, both Peak Signal to Noise ratio (PSNR) and Structural Similarity (SSIM) between our results, and ground truths on test images show that our network can achieve better performance compared with the recent works in most cases. Besides, the visual results on three datasets also show that our network can produce visual plausible results compared with the recent works.
format Online
Article
Text
id pubmed-7663596
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-76635962020-11-14 Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators Li, Chen He, Kai Liu, Kun Ma, Xitao Sensors (Basel) Article Image inpainting networks can produce visually reasonable results in the damaged regions. However, existing inpainting networks may fail to reconstruct the proper structures or tend to generate the results with color discrepancy. To solve this issue, this paper proposes an image inpainting approach using the proposed two-stage loss function. The loss function consists of different Gaussian kernels, which are utilized in different stages of network. The use of our two-stage loss function in coarse network helps to focus on the image structure, while the use of it in refinement network is helpful to restore the image details. Moreover, we proposed a global and local PatchGANs (GAN means generative adversarial network), named GL-PatchGANs, in which the global and local markovian discriminators were used to control the final results. This is beneficial to focus on the regions of interest (ROI) on different scales and tends to produce more realistic structural and textural details. We trained our network on three popular datasets on image inpainting separately, both Peak Signal to Noise ratio (PSNR) and Structural Similarity (SSIM) between our results, and ground truths on test images show that our network can achieve better performance compared with the recent works in most cases. Besides, the visual results on three datasets also show that our network can produce visual plausible results compared with the recent works. MDPI 2020-10-30 /pmc/articles/PMC7663596/ /pubmed/33143187 http://dx.doi.org/10.3390/s20216193 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Li, Chen
He, Kai
Liu, Kun
Ma, Xitao
Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title_full Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title_fullStr Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title_full_unstemmed Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title_short Image Inpainting Using Two-Stage Loss Function and Global and Local Markovian Discriminators
title_sort image inpainting using two-stage loss function and global and local markovian discriminators
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7663596/
https://www.ncbi.nlm.nih.gov/pubmed/33143187
http://dx.doi.org/10.3390/s20216193
work_keys_str_mv AT lichen imageinpaintingusingtwostagelossfunctionandglobalandlocalmarkoviandiscriminators
AT hekai imageinpaintingusingtwostagelossfunctionandglobalandlocalmarkoviandiscriminators
AT liukun imageinpaintingusingtwostagelossfunctionandglobalandlocalmarkoviandiscriminators
AT maxitao imageinpaintingusingtwostagelossfunctionandglobalandlocalmarkoviandiscriminators