摘要
为了在泡罩药品包装视觉检测过程中获取更好的图像分割效果,以保证特征提取、缺陷识别等后续任务的顺利进行,对传统二维大津法进行改进,引入类内方差并将其与人工鱼群算法相结合,提出一种新型泡罩药品包装图像分割算法,再对该算法进行理论和仿真分析。研究结果表明:该算法具有较好的图像分割效果,提高了二维阈值查找速度和泡罩药品缺陷检测效率。该算法具有运行速度快、分割效果好、准确可靠等特点,可应用于泡罩药品包装缺陷检测和图像分割领域。
Aimed at obtaining better image segmentation effect in visual inspection of blister drug packaging, so as to ensure the smooth follow-up tasks such as feature extraction and defect recognition, the traditional two-dimensional Otsu algorithm was improved and combined with the artificial fish swarm algorithm to propose a new blister medicine packaging image segmentation algorithm,with the calculation theory and simulation analysis conducted. The results showed that the algorithm performed better image segmentation effect, enhanced the two-dimensional threshold search speed and improved the efficiency of drug defect detection. The algorithm indicated the characteristics of fast running speed, good segmentation effect, accuracy and reliability, which could be applied to the detection of blister drug packaging defects and image segmentation.
作者
王卓
葛斌
涂明玉
严荣国
WANG Zhuo;GE Bin;TU Mingyu;YAN Rongguo(School of Medical Devices and Food,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《包装学报》
2019年第2期81-86,共6页
Packaging Journal
关键词
OTSU法
人工鱼群算法
图像分割
缺陷检测
药品
泡罩
Otsu algorithm
artificial fish swarm algorithm
image segmentation
defect detection
drug
blister