Cargando…

A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints

At present, the image inpainting method based on deep learning has achieved a better inpainting effect than traditional methods, but the inpainting results still have problems such as local structure disorder and blurred texture when the images involving a large defect area are processed. This paper...

Descripción completa

Detalles Bibliográficos
Autores principales: Yao, Fan, Chu, Yanli
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Hindawi 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9581602/
https://www.ncbi.nlm.nih.gov/pubmed/36275947
http://dx.doi.org/10.1155/2022/5904043
_version_ 1784812660854882304
author Yao, Fan
Chu, Yanli
author_facet Yao, Fan
Chu, Yanli
author_sort Yao, Fan
collection PubMed
description At present, the image inpainting method based on deep learning has achieved a better inpainting effect than traditional methods, but the inpainting results still have problems such as local structure disorder and blurred texture when the images involving a large defect area are processed. This paper proposes a second-order generative image inpainting model based on edge and feature self-arrangement constraints. The model consists of two parts: edge repair network and image repair network. Based on the self-encoder, the edge repair network generates the edges in the defect area according to the known information of the image and improves the edge repair effect by minimizing the adversarial loss and feature matching loss. The image inpainting network fills the defect area with the edge repair result as a priori condition. On the basis of U-Net, the feature self-arrangement module (FSM) is proposed to reconstruct the coding features of a specific scale, and the reconstructed feature skips to connect the decoding layer of the same scale, and it is fused with the upper layer underlying features for decoding. Meanwhile, guide loss, adversarial loss, and reconstruction loss are introduced to narrow the difference between the repaired image and the original image. The experimental results show that the inpainting results of the proposed model have stronger structural connectivity and clearer textures and the performance of PSNR, SSIM, and mean L1 loss in the Celeba, Facade, and Places2 is better than other inpainting methods, indicating that the algorithm can produce an inpainting effect with highly connected structure, reasonable semantics, and fine details.
format Online
Article
Text
id pubmed-9581602
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Hindawi
record_format MEDLINE/PubMed
spelling pubmed-95816022022-10-20 A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints Yao, Fan Chu, Yanli Comput Intell Neurosci Research Article At present, the image inpainting method based on deep learning has achieved a better inpainting effect than traditional methods, but the inpainting results still have problems such as local structure disorder and blurred texture when the images involving a large defect area are processed. This paper proposes a second-order generative image inpainting model based on edge and feature self-arrangement constraints. The model consists of two parts: edge repair network and image repair network. Based on the self-encoder, the edge repair network generates the edges in the defect area according to the known information of the image and improves the edge repair effect by minimizing the adversarial loss and feature matching loss. The image inpainting network fills the defect area with the edge repair result as a priori condition. On the basis of U-Net, the feature self-arrangement module (FSM) is proposed to reconstruct the coding features of a specific scale, and the reconstructed feature skips to connect the decoding layer of the same scale, and it is fused with the upper layer underlying features for decoding. Meanwhile, guide loss, adversarial loss, and reconstruction loss are introduced to narrow the difference between the repaired image and the original image. The experimental results show that the inpainting results of the proposed model have stronger structural connectivity and clearer textures and the performance of PSNR, SSIM, and mean L1 loss in the Celeba, Facade, and Places2 is better than other inpainting methods, indicating that the algorithm can produce an inpainting effect with highly connected structure, reasonable semantics, and fine details. Hindawi 2022-10-12 /pmc/articles/PMC9581602/ /pubmed/36275947 http://dx.doi.org/10.1155/2022/5904043 Text en Copyright © 2022 Fan Yao and Yanli Chu. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Research Article
Yao, Fan
Chu, Yanli
A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title_full A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title_fullStr A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title_full_unstemmed A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title_short A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints
title_sort generative image inpainting model based on edge and feature self-arrangement constraints
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9581602/
https://www.ncbi.nlm.nih.gov/pubmed/36275947
http://dx.doi.org/10.1155/2022/5904043
work_keys_str_mv AT yaofan agenerativeimageinpaintingmodelbasedonedgeandfeatureselfarrangementconstraints
AT chuyanli agenerativeimageinpaintingmodelbasedonedgeandfeatureselfarrangementconstraints
AT yaofan generativeimageinpaintingmodelbasedonedgeandfeatureselfarrangementconstraints
AT chuyanli generativeimageinpaintingmodelbasedonedgeandfeatureselfarrangementconstraints