计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2014年
8期
143-146
,共4页
图像修复%纹理合成%优先权%梯度距离%置信度项更新
圖像脩複%紋理閤成%優先權%梯度距離%置信度項更新
도상수복%문리합성%우선권%제도거리%치신도항경신
image inpainting%texture synthesis%priority%gradient distance%update of confidence term
在Criminisi算法基础上,针对其填充次序不准确等缺点,提出了一种基于样例的图像修复方法。通过在优先权函数中引入相邻像素间颜色差值信息,图像结构部分优先传播。同时,置信度值更新考虑样本填充质量,目标块与相似块差异越小则该值相对较高。另外,块搜索过程中多个样本块有相同最小颜色距离时,选取梯度距离最小的样本块。实验结果表明,改进算法对各类图像取得了较高修复质量。
在Criminisi算法基礎上,針對其填充次序不準確等缺點,提齣瞭一種基于樣例的圖像脩複方法。通過在優先權函數中引入相鄰像素間顏色差值信息,圖像結構部分優先傳播。同時,置信度值更新攷慮樣本填充質量,目標塊與相似塊差異越小則該值相對較高。另外,塊搜索過程中多箇樣本塊有相同最小顏色距離時,選取梯度距離最小的樣本塊。實驗結果錶明,改進算法對各類圖像取得瞭較高脩複質量。
재Criminisi산법기출상,침대기전충차서불준학등결점,제출료일충기우양례적도상수복방법。통과재우선권함수중인입상린상소간안색차치신식,도상결구부분우선전파。동시,치신도치경신고필양본전충질량,목표괴여상사괴차이월소칙해치상대교고。령외,괴수색과정중다개양본괴유상동최소안색거리시,선취제도거리최소적양본괴。실험결과표명,개진산법대각류도상취득료교고수복질량。
In order to solve the problem of inaccurate filling orders in Criminisi algorithm, an exemplar-based algorithm for image inpainting is proposed. Color variation between neighbor pixels is used to define the priority function and image structures propagate firstly. Besides, quality of exemplar filling is introduced into the update of confidence term. Confi-dence value is relatively high when the difference between the target patch and the similar patch is small. In addition, the patch that with minimum gradient distance is adopted when there are several most similar blocks with a same color dis-tance. Experimental results show that the improved algorithm achieves high inpainting quality on various kinds of images.