• •    

基于图像修复技术的猪肉眼肌图像反光区域复原

张彧龙1,郑丽敏2,方雄武1   

  1. 1. 中国农业大学
    2. 中国农业大学信息与电气工程学院
  • 收稿日期:2015-09-29 修回日期:2015-11-25 发布日期:2015-11-25
  • 通讯作者: 郑丽敏

The restoration of reflection area in pork rib-eye image based on image inpainting

  • Received:2015-09-29 Revised:2015-11-25 Online:2015-11-25

摘要: 由于猪肉中存在水分,在光照下拍摄得到的图像会产生反光区域,导致图像部分信息丢失。为了更加精准提取图像相关特征参数,需复原反光区域原有信息。利用图像预处理方法、图像修复技术对图像复原。根据反光区域的颜色特征,用一系列图像预处理方法对反光区域进行定位和提取;对比经典图像修复技术在图像反光区域的复原效果,选择样本块图像修复算法作为最佳修补方法;对样本块修复算法进行了改进,采取反光区域依次修复的方法以减少边缘轮廓优先权计算次数,同时采用二次匹配法减少搜索最佳匹配块过程中的扫描数据量,和原算法相比节约了3/4的修复时间。实验结果表明,改进的修复算法能很好地复原图像反光区域信息,并在修复效率上优于原算法。

关键词: 图像修复, 样本块修复, 算法改进, 眼肌图像

Abstract: Abstract: Because of moisture in pork, there would be reflective area in the image that took under illumination, which lead to the loss of image information.In order to improve the accuracy of related feature parameters in obtaining image,it is necessary to restore the reflective area. Image pre-processing and image inpainting technology was used to restore the image. According to the color feature of the reflection area, a series of pre-processing method was used to position and obtain the reflection area. Results of the restoration in image reflection area was compared in classical image inpainting method, inpainting algorithm based on exemplar patch was taken as the best inpainting method. Inpainting algorithm based on exemplar patch was improved, method of restoring the reflection area in sequence was used to reduce the calculate frequency of edge contour priority, in the same time, by using twice matching method,the amount of scanning data was reduced in the process of searching the best matched block,and the repair time was saved about 3/4 of original algorithm.The experimental results show that the improved inpainting method is able to restore the information from reflection area in image, and use less time compared with original algorithm.

Key words: image inpainting, Criminisi algorithm, algorithm improvement, rib-eye image

中图分类号: