IEEE Trans Image Process. 2019 Apr;28(4):1705-1719. doi: 10.1109/TIP.2018.2880681. Epub 2018 Nov 12.
Nonlocal texture similarity and local intensity smoothness are both essential for solving most image inpainting problems. In this paper, we propose a novel image inpainting algorithm that is capable of reproducing the underlying textural details using a nonlocal texture measure and also smoothing pixel intensity seamlessly in order to achieve natural-looking inpainted images. For matching texture, we propose a Gaussian-weighted nonlocal texture similarity measure to obtain multiple candidate patches for each target patch. To compute the pixel intensity, we apply the -trimmed mean filter to the candidate patches to inpaint the target patch pixel-by-pixel. The proposed algorithm is compared with four current image inpainting algorithms under different scenarios, including object removal, texture synthesis, and error concealment. Experimental results show that the proposed algorithm outperforms the existing algorithms when inpainting large missing regions in images with texture and geometric structures.
非局部纹理相似性和局部强度平滑性对于解决大多数图像修复问题都是至关重要的。在本文中,我们提出了一种新的图像修复算法,该算法能够使用非局部纹理测度来复制底层纹理细节,并且能够无缝平滑像素强度,从而实现自然的修复图像。对于匹配纹理,我们提出了一种高斯加权的非局部纹理相似性度量方法,以获取每个目标补丁的多个候选补丁。为了计算像素强度,我们对候选补丁应用 -修剪均值滤波器,以逐像素地修复目标补丁。在不同的场景下,包括物体移除、纹理合成和错误隐藏,我们将所提出的算法与四种现有的图像修复算法进行了比较。实验结果表明,在修复具有纹理和几何结构的图像中大的缺失区域时,所提出的算法优于现有的算法。