针对 BSCB 模型速度慢、整体变分模型易产生阶梯效应的缺点,提出了一种基于扩散率函数的自适应插值算法。该算法利用待修复像素点周围的已知像素点的梯度权函数和距离权函数,对未知像素点进行赋值。实验结果显示:将该算法应用到灰度图像和彩色图像的修复中,与传统算法相比所需运算时间短,视觉效果较好,定量评价指标(峰值信噪比)也证明了该算法的有效性。
Since the BSCB model has an inherent slow rate,and the total variation model is subject to staircase effect, to overcome these disadvantages,an adaptive interpolation algorithm is proposed based on the diffusivity function. The proposed algorithm repairs the unknown pixels by using the gradient weight function and distance weight function of the neighboring pixels whose values are known. Experimental results show that compared to the traditional methods,the proposed algorithm can obtain relatively higher image quality in a shorter time for both gray and color image restoration, additionally,the quantitative evaluation indicator has also verified the effectiveness of the proposed method.