Journal of Computer Applications ›› 2013, Vol. 33 ›› Issue (10): 2891-2894.
• Multimedia processing technology • Previous Articles Next Articles
ZHAI Donghai1,2,XIAO Jie2,YU Jiang2,LI Tongliang2
Received:
Revised:
Online:
Published:
Contact:
翟东海1,2,肖杰3,鱼江3,李同亮3
通讯作者:
作者简介:
基金资助:
Abstract: Currently, template size of texture-based image inpainting algorithm is fixed. Therefore, when the template size is small, the inpainting accuracy improves, but time complexity increases substantially; on the contrary, when the size is large, the time complexity declines, but inpainting error rate increases significantly. Adaptive template size algorithm proposed in this paper can enlarge template size according to the change of expect and variance of grayscale value between current template and its expanded one. Meanwhile, this approach can reduce template size according to the match degree between template and exemplar. After adaptively determining the template size, texture-based image inpainting algorithm was improved and used in experiments. The experimental results show this approach can highly improve the inpainting accuracy with high efficiency.
Key words: image inpainting, Criminisi algorithm, adaptive template, expect of grayscale value, variance of grayscale value
摘要: 当前基于纹理的图像修复算法中模板块的尺寸是固定的,这样,当模板块尺寸很小时,虽然修复的精度会提高,但是算法的时间复杂度会大幅增加;相反,当模板块尺寸很大时,虽然可以降低算法的时间复杂度,但会使算法的误修复率提升。针对以上问题,提出了基于自适应模板的图像修复算法,该算法能够根据当前模板块与尺寸扩大后模板块之间的灰度均值及方差的变化情况来自适应地扩大模板尺寸,同时,根据模板块与样本块之间的匹配情况自适应地缩小模板块。最后,将所提提出的算法用于实例验证,其结果表明所提算法不但可以有效地提高图像修复的精度,而且提高了图像修复的效率
关键词: 图像修复, Criminisi算法, 自适应模板, 灰度平均值, 灰度方差
CLC Number:
TP391.41
ZHAI Donghai XIAO Jie YU Jiang LI Tongliang. Image inpainting algorithm based on adaptive template[J]. Journal of Computer Applications, 2013, 33(10): 2891-2894.
翟东海 肖杰 鱼江 李同亮. 基于自适应模板的图像修复算法[J]. 计算机应用, 2013, 33(10): 2891-2894.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/
https://www.joca.cn/EN/Y2013/V33/I10/2891