|
基于Criminisi算法的图像修复研究
|
Abstract:
数字图像修复在2000年首次提出,关键应用领域包括文物保护和电影特效制作,其中Criminisi算法备受研究关注。本文针对Criminisi算法仅适用于纹理信息丰富或大区域破损图像修复的局限性展开研究,结合权重与距离参数更新Criminisi算法的优先权计算公式和匹配块匹配策略,提出一种新的Criminisi改进方法,以提高算法的适用范围和修复的图像质量。本文引入权重系数以度量优先权公式中置信度项和数据项的信息,同时引入待修复块与全局最佳匹配块间的欧氏距离作为匹配块搜索新策略,通过调节比例系数调整不同应用场景的搜索策略,以增强匹配块与待修复块的相似性。最后,本文使用PSNR作为客观评价指标,在Matlab平台完成不同图像修复任务和应用场景的修复对比实验,结果表明,本文方法不仅有效提高修复图像的平均PSNR,还能更好地适应不同修复任务及其应用场景,为数字图像修复领域的深入研究与应用提供一定价值的参考。
Digital image restoration was first proposed in 2000, and the key application fields include cultural relics protection and film special effects production, among which the Criminisi algorithm has at-tracted much research attention. Aiming at the limitation that Criminisi algorithm is only suitable for repairing damaged images with rich texture information or large areas; this paper proposes a new Criminisi improvement method by combining weight and distance parameters to update the priority calculation formula and matching block matching strategy of Criminisi algorithm to im-prove the application range of the algorithm and the quality of the restored image. In this paper, the weight coefficient is introduced to measure the information of confidence items and data items in the priority formula, and the Euclidean distance between the block to be repaired and the glob-ally best matched block is introduced as a new search strategy for matched blocks. The search strategy for different application scenarios is adjusted by adjusting the proportional coefficient to enhance the similarity between the matched block and the block to be repaired. Finally, this paper uses PSNR as an objective evaluation index to complete repair comparison experiments of different image repair tasks and application scenarios on the Matlab platform. The results show that the proposed method can not only effectively improve the average PSNR of repaired images, but also better adapt to different repair tasks and their application scenarios. It provides a valuable refer-ence for the in-depth research and application of digital image restoration.
[1] | Banham, M.R. and Katsaggelos, A.K. (1997) Digital Image Restoration. IEEE Signal Processing Magazine, 14, 24-41.
https://doi.org/10.1109/79.581363 |
[2] | 张红英. 数字图像修复技术的研究与应用[D]: [博士学位论文]. 武汉: 电子科技大学, 2006. |
[3] | 王展, 王慧琴, 吴萌, 陈卿, 柏柯. 数字图像修复技术在文物领域的应用展望[J]. 文博, 2012(3): 79-82. |
[4] | 赵亚欣. 基于生成式对抗网络的图像修复[D]: [硕士学位论文]. 西安: 西安工业大学, 2019. |
[5] | 郑慧颖. 图像修复和视频修复算法的研究[D]: [硕士学位论文]. 长春: 吉林大学, 2009. |
[6] | 徐黎明. 基于变分偏微分方程的图像修复技术研究[D]: [硕士学位论文]. 南充: 西华师范大学, 2017. |
[7] | 刘奎, 苏本跃, 赵晓静. 基于结构张量的图像修复方法[J]. 计算机应用, 2011, 31(10): 2711-2713. |
[8] | 魏欣, 蒋华伟. 基于纹理和结构的图像修复算法研究[J]. 计算机技术与发展, 2010, 20(9): 90-93. |
[9] | 任梦林. 基于块的图像修复算法研究[D]: [硕士学位论文]. 济南: 山东师范大学, 2016. |
[10] | 陈浩. 基于改进的Criminisi图像修复算法研究[D]: [硕士学位论文]. 昆明: 云南大学, 2018. |
[11] | 张从飞. 基于Criminisi和块结构稀疏度的改进图像修复方法研究[D]: [硕士学位论文]. 西安: 陕西师范大学, 2017. |
[12] | 孟丽莎. 基于生成对抗网络的图像修复技术研究[D]: [硕士学位论文]. 北京: 北京工业大学, 2019. |
[13] | 赵星. 基于生成对抗网络的图像修复算法研究[D]: [硕士学位论文]. 西安: 西安电子科技大学, 2021. |
[14] | 孙全, 曾晓勤. 基于生成对抗网络的图像修复[J]. 计算机科学, 2018, 45(12): 229-234, 261. |
[15] | 桂要生. 数字图像修复算法研究[D]: [硕士学位论文]. 长沙: 湖南师范大学, 2015. |
[16] | 王丽丽. 数字图像修复算法研究[D]: [硕士学位论文]. 兰州: 兰州大学, 2012. |
[17] | Criminisi, A., Pérez, P. and Toyama, K. (2004) Region Filling and Object Removal by Exemplar-Based Image Inpainting. IEEE Transactions on Image Processing, 13, 1200-1212. https://doi.org/10.1109/TIP.2004.833105 |
[18] | 焦莉娟, 王文剑, 李秉婧, 赵青杉. 改进的块匹配五台山壁画修复算法[J]. 计算机辅助设计与图形学学报, 2019, 31(1): 118-125. |
[19] | 王彩峰, 王妍力, 王迎勋, 等. 基于样本的图像修复的仿真及分析[J]. 科技传播, 2018, 10(7): 115-116. |
[20] | Tao, Y. and Junhong, Z. (2021) An Improved Method of CRIMINISI Algorithm. 2021 3rd International Con-ference on Advances in Computer Technology, Information Science and Communication (CTISC), Shanghai, 23-25 April 2021, 367-371. https://doi.org/10.1109/CTISC52352.2021.00072 |
[21] | 霍相佐, 张文东, 田生伟, 侯树祥. 面向边-端协同的并行解码器图像修复方法[J]. 计算机工程与应用, 2022, 58(16): 257-264. |
[22] | 吕伏, 张文丽. 强化边缘结构的分段自适应图像修复算法[J]. 计算机应用研究, 2023, 40(6): 1900-1905. |
[23] | 陶兆胜, 张敬寒, 王磊, 占伟豪, 王丽华. 基于边缘特征和像素结构相似度的图像修复算法[J]. 计算机辅助设计与图形学学报, 2019, 31(10): 1768-1776. |
[24] | 王君, 唐贵进, 刘小花, 崔子冠. (2020). 基于Criminisi的结构组稀疏表示图像修复算法[J]. 计算机技术与发展, 2020, 30(3): 24-29. |
[25] | Wang, L., Zhang, Y. and Feng, J. (2005) On the Euclidean Distance of Images. IEEE Transactions on Pattern Analysis and Machine Intelligence, 27, 1334-1339. https://doi.org/10.1109/TPAMI.2005.165 |
[26] | Hore, A. and Ziou, D. (2010) Image Quality Metrics: PSNR vs. SSIM. 2010 20th International Conference on Pattern Recognition, Istanbul, 23-26 August 2010, 2366-2369. https://doi.org/10.1109/ICPR.2010.579 |
[27] | 周彩月, 周崇波, 吴冬梅, 等. 自适应匹配窗口的Criminisi图像修复算法[J]. 通信技术, 2021, 54(5): 1087-1094. |
[28] | 何雨亭, 唐向宏, 张越, 杨瑞. 结构张量的改进Criminisi修复[J]. 中国图象图形学报, 2018, 23(10): 1492-1507. |