{"title":"Harmony score-guided inpainting: Iterative refinement for seamless image inpainting","authors":"Haixin Wang , Jian Yang , Jinjia Zhou","doi":"10.1016/j.neucom.2025.131001","DOIUrl":null,"url":null,"abstract":"<div><div>Inpainting techniques often demand extensive model fine-tuning or the concatenation of latent vectors, which can be time-intensive and prone to overfitting. Such methods frequently lead to inconsistencies between the inpainted regions and the surrounding background, occasionally producing partially satisfactory results where some areas appear natural while others remain unrealistic. To address these limitations, we demonstrate that existing inpainting methods can sufficiently handle certain scenarios but may struggle with specific problematic patches. We propose an iterative enhancement approach guided by an Inpainting Harmony Score, which evaluates the coherence of the inpainted image. Our method selectively enhances only the poorly reconstructed patches, preserving their masks for subsequent inpainting iterations. The process is repeated, followed by a final blending step to ensure seamless integration between the inpainted region and the background. This approach improves the overall quality and consistency of inpainting results while minimizing the risks of overfitting and inefficiency.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"651 ","pages":"Article 131001"},"PeriodicalIF":6.5000,"publicationDate":"2025-07-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S092523122501673X","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Inpainting techniques often demand extensive model fine-tuning or the concatenation of latent vectors, which can be time-intensive and prone to overfitting. Such methods frequently lead to inconsistencies between the inpainted regions and the surrounding background, occasionally producing partially satisfactory results where some areas appear natural while others remain unrealistic. To address these limitations, we demonstrate that existing inpainting methods can sufficiently handle certain scenarios but may struggle with specific problematic patches. We propose an iterative enhancement approach guided by an Inpainting Harmony Score, which evaluates the coherence of the inpainted image. Our method selectively enhances only the poorly reconstructed patches, preserving their masks for subsequent inpainting iterations. The process is repeated, followed by a final blending step to ensure seamless integration between the inpainted region and the background. This approach improves the overall quality and consistency of inpainting results while minimizing the risks of overfitting and inefficiency.
期刊介绍:
Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.