首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于DBSCAN随机圆检测的多瓶口定位算法
引用本文:彭永志,肖 靖,毛建旭,代 扬,张 猛.一种基于DBSCAN随机圆检测的多瓶口定位算法[J].电子测量与仪器学报,2021,35(6):43-52.
作者姓名:彭永志  肖 靖  毛建旭  代 扬  张 猛
作者单位:湖南大学 电气与信息工程学院 长沙 410082
基金项目:国家自然科学基金(61733004,62027810)、国家重点研发计划项目(2020YFB1712600)、湖南省科技计划项目(2017XK2102,2018GK2022)、湖南大学汽车车身先进设计制造国家重点实验室自主研究课题资助
摘    要:现有医药灌封生产中的西林瓶瓶口定位方法易受瓶口边缘干扰的影响,导致瓶口圆中心定位不准确。对此,提出一种基于DBSCAN随机圆检测的多瓶口定位算法。首先,通过Canny边缘检测算法得到图像中所有轮廓,采用基于密度的DBSCAN聚类算法分割出感兴趣的瓶口边缘集;接着,针对每个单独的瓶口边缘集,采用最小二乘法和径向扫描获取瓶口的外边缘点,再利用重复随机圆检测得到大量候选圆心集;最后,基于DBSCAN算法聚类得到真实圆心集,以真实圆心集的均值中心作为瓶口中心。与4种典型算法进行对比,实验结果表明,提出的圆定位算法的平均定位误差为0.553 pixels,优于其他算法,且该算法的平均执行速度为1.359 ms。该算法能够满足医药灌封生产线对准确性和实时性的要求。

关 键 词:聚类  DBSCAN算法  圆检测  多瓶口定位

Multi bottle mouth positioning method based on DBSCAN random circle detection
Peng Yongzhi,Xiao Jing,Mao Jianxu,Dai Yang,Zhang Meng.Multi bottle mouth positioning method based on DBSCAN random circle detection[J].Journal of Electronic Measurement and Instrument,2021,35(6):43-52.
Authors:Peng Yongzhi  Xiao Jing  Mao Jianxu  Dai Yang  Zhang Meng
Affiliation:1.College of Electrical and Information Engineering, Hunan University
Abstract:In pharmaceutical encapsulation production, the existing positioning method of Penicillin bottle mouth are easily affected by the interference of bottle mouth edge. It leads to inaccurate positioning of the bottle mouth circle center. In this paper, a multi bottle mouth positioning algorithm based on DBSCAN random circle detection is proposed. Firstly, the canny edge detection algorithm is used to get all the contours in the image. The density based on DBSCAN clustering algorithm is used to segment the interested bottle mouth edge sets. Then, for each individual bottle mouth edge image, the least square method and radial scanning are used to obtain the outer edge points of the bottle mouth. Then, a large number of candidate center sets are obtained by repeated random circle detection. Finally, the truth is obtained by clustering based on DBSCAN algorithm. The mean center of the real circle center set is the center of the bottle mouth. Compared with four typical algorithms, the experimental results show that the average positioning error of the proposed circle positioning algorithm is 0. 553 pixels, which is better than other algorithms. And the average execution speed of the algorithm is 1. 359 ms. The algorithm meets the requirements of accuracy and real-time of the pharmaceutical potting production line.
Keywords:clustering  DBSCAN algorithm  circle detection  multi bottle mouth positioning
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《电子测量与仪器学报》浏览原始摘要信息
点击此处可从《电子测量与仪器学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号