1 / 77
文档名称:

机器视觉中泡罩药品包装缺陷检测算法研究.pdf

格式:pdf   大小:21,254KB   页数:77页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

机器视觉中泡罩药品包装缺陷检测算法研究.pdf

上传人:陈潇睡不醒 2021/10/13 文件大小:20.76 MB

下载得到文件列表

机器视觉中泡罩药品包装缺陷检测算法研究.pdf

相关文档

文档介绍

文档介绍:摘 要
目前,铝塑泡罩包装方式因携带方便、取药卫生、贮存期长等特
点已经成为药品包装的主流方式。药品因受加工制作过程中各种因素
的影响可能会出现质量问题,所以药品包装的质量检测是制药行业生
产过程中的一个重要环节。
基于机器视觉的药品包装缺陷检测技术克服了人工检测效率低、
劳动强度大等方面的不足,成为检测药品质量的一个重要发展方向。
本文主要分析和研究机器视觉中铝塑泡罩药品缺陷检测算法,在全
面、深入研究药品缺陷检测技术的相关理论和算法的基础上,针对药
片和胶囊这两种不同类型药品,选择了不同的检测方法,并通过仿真
试验比较了算法的处理效果。本文主要研究工作如下:
(1)为了处理实时采集到的药品图像,采用了一种基于最小二
乘拟合的图像药板区域提取算法,该算法能够较好较快的得到精确的
药板区域,减少图像处理过程中的计算量,满足实时检测的要求。
(2)为了自动区分检测药品的类型,本文在 RGB 颜色空间中建
立每一种药品图像的颜色直方图,利用颜色直方图的相似性判断待测
药品类型;对不同的分割算法进行了分析,在二维 Otsu 法的基础上
提出了新的阈值分割输出函数,改进了该算法;通过使用中值滤波器、
优化梯度幅值算法、增强双阈值选取的自适应改进了 Canny 算法;并
且利用改进的 Otsu 阈值分割算法和形态学操作完成了药片图像分割,
利用颜色信息和投影实现了胶囊图像分割,都具有较好的效果。
(3)通过提取每个胶囊泡罩区域的颜色特征,用以识别是否存
在缺陷;而药片则是将利用连通域标记和边界跟踪获得药片的几何特
征构建为特征向量,再根据该向量与完整药片的几何特征向量的距离
来识别是否存在缺陷。

关键词:机器视觉,泡罩药品检测,图像分割,缺陷识别



I
ABSTRACT
At present, aluminum-plastic blister packaging way has become the
mainstream medicine packing way because it is convenient to carry,
taking medicine health, and long storage period, etc. Due to the influence
of various factors in the process of drug manufacture may give rise to
quality problem, so the quality test of drug packaging is an important part
in the process of the pharmaceutical industry production.
The detection technology of drug packaging defect based on
machine vision has overcome many shortcomings, for example, the low
artificial detection efficiency and high labor intensity, etc. Therefore, this
technology becomes an important developing direction of drug quality
test. This paper is main to analysis and study on the detection of
medicines in aluminum- plastic blister package based on machine vision.
On the basis of comprehensive and in-depth study of related theory and
algorithm about drug defect detection technology, choose the different
testing methods