期刊文献+

基于OpenCV的食品包装缺陷分割方法 被引量:6

Food packaging defect segmentation based OpenCV method
下载PDF
导出
摘要 针对现有食品包装表面印刷缺陷分割算法中分割速度慢、精度低的问题,提出基于OpenCV实现图像差分与形态学处理结合的表面缺陷分割方法。分别对模版图像和待测图像进行高斯低通滤波运算;将预处理后的两幅图像作差分运算,得到其差分结果;采用形态学开运算来去除差分图像的噪声并标出目标缺陷位置。选取污点、飞墨、漏印3类缺陷样本各30组进行试验,结果表明:该法能够达到的平均准确率为91.51%,93.41%,94.14%,平均的分割时间仅为46.6ms。 Assembly line detection more depend on the machine vision technology,and image segmentation is the key step in the detection.To solve the problem of slow speed and low accuracy of defects segmentation methods to the surface defects of food packing,proposed a segmenting method based on image difference and mathematical morphology in OpenCV.Firstly,compute the template image of the target image and filter them by a low pass filter.Secondly,differential operation is happened on the two pretreated images to obtain the differential image.Finally,using morphological opening operation to remove the noise on the difference image and get the position of defects image.In this paper,30 groups of defect samples,such as stain,misting and stripping,were selected and the experimental results were recorded.The results showed that the average accuracies of the proposed method were 91.51%,93.41%,94.14%,respectively,and the average segmentation time was only 46.6ms.
出处 《食品与机械》 CSCD 北大核心 2017年第7期104-106,174,共4页 Food and Machinery
关键词 食品包装 视觉检测 图像分割 OPENCV food packaging visual inspection image segmentation OpenCV
  • 相关文献

参考文献11

二级参考文献155

共引文献321

同被引文献70

引证文献6

二级引证文献54

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部