针对传统修补技术在图像恢复中出现的纹理模糊现象,该文根据纹理合成技术,提出了一种区域纹理合成的修补算法。算法根据破损点邻域特征选择模板,去除模板内的破损点后进行匹配,在搜索范围内寻找最佳匹配点。该文采用由边缘向中心逐步推进的修补次序,提高破损区域内纹理结构延伸方向的正确性以及连续性,避免出现纹理模糊现象。算法能够适用于多种性质的纹理,在处理真实图像时使人在视觉上获得满意的效果。
For solving the problem of texture blurring brought by traditional inpainting method, a regional texture synthesis based inpainting algorithm is proposed. The feature in the adjacent domain of each broken pixel is analyzed for choosing the template, and the broken pixels should be excluded from the template. The optimal solution for the broken pixel is determined by matching the template in searching area. The inpainting process proceeds from the edge to the center, for improving the validity and continuity of propagating direction of the texture in the flawed region, meanwhile the blurring can be eliminated. The algorithm is available to a wide variety of real-world textures, and produces a satisfying result for human visual system.