金属热处理 ›› 2021, Vol. 46 ›› Issue (3): 196-205.DOI: 10.13251/j.issn.0254-6051.2021.03.039

• 计算机应用 • 上一篇    下一篇

基于改进PatchMatch算法的金相图像修复

李松涛1, 李维刚1, 师静蕊2, 甘平1   

  1. 1.武汉科技大学 冶金自动化与检测技术教育部工程研究中心, 湖北 武汉 430081;
    2.武汉科技大学 省部共建耐火材料与冶金国家重点实验室, 湖北 武汉 430081
  • 收稿日期:2020-11-05 出版日期:2021-03-25 发布日期:2021-05-08
  • 作者简介:李松涛(1991—),男,博士研究生,主要研究方向为机器视觉与金属材料的结合,E-mail:329163917@qq.com
  • 基金资助:
    国家自然科学基金(51774219)

Inpainting of metallographic image based on improved PatchMatch algorithm

Li Songtao1, Li Weigang1, Shi Jingrui2, Gan Ping1   

  1. 1. Engineering Research Center for Metallurgical Automation and Measurement Technology of Ministry of Education, Wuhan University of Science and Technology, Wuhan Hubei 430081, China;
    2. The State Key Lab of Refractory Materials and Metallurgy, Wuhan University of Science and Technology, Wuhan Hubei 430081, China
  • Received:2020-11-05 Online:2021-03-25 Published:2021-05-08

摘要: 结合DCT金字塔压缩算法以及多补丁优选匹配机制改进了传统PatchMatch图像修复算法,并利用不同算法对具有污染特征的金相图进行了修复对比。结果表明,改进的PatchMatch算法大幅度提升了修复速度与修复质量,修复的图片较其他图像修复算法效果更优,同时金相图内部纹理细节特征还原更准确细腻,且修复后的金相图像能较好地解决传统金相图像分割中无法消除大噪声的问题。

关键词: 金相图像, PatchMatch算法, 图像修复, 大噪声处理

Abstract: Combining the DCT pyramid compression algorithm and the multi-patch optimal matching mechanism to improve the traditional PatchMatch image repair algorithm, using different algorithms to repair and compare the metallographic images with pollution characteristics. The results show that the improved PatchMatch algorithm greatly improves the repair speed and repair quality. The repaired images are more effective than other image repair algorithms, the internal texture details of the metallographic images are restored more accurately and delicately, and metallurgical images repair can solve the problems that conventional metallurgical image segmentation can not eliminate the big noise.

Key words: metallographic image, PatchMatch algorithm, image inpainting, big noise processing

中图分类号: