1. 河南中烟工业有限责任公司, 河南郑州 450000
2. 中国计量大学, 计量测试与仪器学院, 浙江杭州 310018
3. 中国烟草总公司郑州烟草研究院, 河南郑州 450001
| 摘 要: | 卷烟圆度是烟草工业中重要的质量参数,为解决传统行业圆度测量方法费时费力且结果不准确的问题,提出了一种基于最小二乘法的非接触式卷烟圆度评价方法对卷烟端面圆度进行评价,所述方法首先通过Canny算子初步识别边缘,然后使用形态学闭运算将边缘毛刺消除后再通过连通性分析将边缘内部填充,最后利用Sobel算子识别最终边缘。对处理后的图像使用最小二乘法拟合出卷烟端面轮廓的拟合圆,通过对得到的拟合圆进行计算得到卷烟端面圆度的计算结果,由于计算结果为像素距,需要转换为实际尺寸,采用像素当量标定法确定转换系数,最终得到卷烟端面的圆度。实验结果表明,机器视觉测量得到的结果相对误差小于2%,说明该方法可以有效的对卷烟端面圆度进行评价。 |
| 关 键 词: | 机器视觉; 卷烟圆度检测; 最小二乘法; 非接触式; 图像处理算法 |
| DOI: | 10.57237/j.se.2024.03.001 |
1. China Tobacco Henan Industiral Co., Zhengzhou 450000,
2. College of Metrology Measurement and Instrument, China Jiliang University, Zhengzhou 310018,
3. Zhengzhou Tobacco Research Institute of CNTC, Zhengzhou 450001, China
| Abstract: | Cigarette roundness is an important quality parameter in the tobacco industry. In order to solve the problem that traditional industry roundness measurement methods are time-consuming, laborious and inaccurate, a non-contact cigarette roundness evaluation method based on the least squares method is proposed to evaluate the cigarette end roundness. To evaluate the accuracy, the method first initially identifies the edge through the Canny operator, then uses the morphological closing operation to eliminate the edge burrs, then fills the inside of the edge through connectivity analysis, and finally uses the Sobel operator to identify the final edge. Use the least squares method on the processed image to fit the fitting circle of the cigarette end face contour. By calculating the obtained fitting circle, the calculation result of the cigarette end face roundness is obtained. Since the calculation result is a pixel distance, it needs to be converted into the actual size, using the pixel equivalent calibration method to determine the conversion coefficient, and finally obtain the roundness of the cigarette end face. The experimental results show that the relative error of the results obtained by machine vision measurement is less than 2%, indicating that this method can effectively evaluate the roundness of the end face of cigarettes. |
| Keywords: | Machine Vision; Cigarette Roundness Detection; Least Squares Method; Non Contact Type; Image Processing |
| [1] | 胡静宜, 杨永锋, 刘茂林,等. 打叶复烤后不同尺寸片烟的化学成分差异 [J]. 西北农林科技大学学报 (自然科学版), 2020, 48(09): 89-96. |
| [2] | Wu, Z., Gou, J., & Cui, C. (2010). An Improved Particle Swarm Optimization Algorithm Applied to the Unified Evaluation of Circularity Error. Applied Mechanics and Materials, 44-47, 3937 - 3941. |
| [3] | A. Mohamed, Abdul Halim Esa and Muhammad Azmi Ayub, "Roundness measurement of cylindrical part by machine vision," International Conference on Electrical, Control and Computer Engineering 2011 (InECCE), Kuantan, Malaysia, 2011, pp. 486-490. |
| [4] | 魏欣, 王栋, 蔡宇, 等. 一种高精度圆度测量系统的设计 [J]. 无线互联科技, 2021, 18(21): 67-68+118. |
| [5] | 张士舰, 刘春杰, 李金富,等. 投影圆度判别法的圆柱拟合[J]. 测绘科学技术学报, 2014, 31(04): 355-358+362. |
| [6] | 董紫燕, 徐旭松, 李梦园, 等. 基于改进差分进化算法的圆度误差评定 [J]. 江苏理工学院学报, 2023, 29(02): 19-27. |
| [7] | Wang, C., & Zhu, Y. (2023). Machine vision based roundness and cylindricity detection of bearing rollers. Conference on Image, Signal Processing, and Pattern Recognition. |
| [8] | 朱朝阳, 赵涛, 刘清, 等. 基于机器视觉的销钉圆度测量技术研究 [J]. 计算机技术与发展, 2020, 30(08): 216-220. |
| [9] | 赵则祥, 王帅飞, 赵新宇. 基于圆/柱度仪的回转体两点尺寸测量方法研究 [J]. 计量学报, 2023, 44(06): 858-864. |
| [10] | 刘洋, 杨理践, 郑福印. 基于激光影像的管道几何形变图像处理算法 [J]. 电子世界, 2018, (12): 27-28. |
| [11] | 汪首坤, 赵金枝, 姜明, 等. 基于圆形阵列标定板的张氏相机标定法 [J]. 北京理工大学学报, 2019, 39(08): 859-863. |
| [12] | 李小菁. 基于机器视觉的小型零件尺寸测量系统 [J]. 自动化与信息工程, 2023, 44(02): 11-15. |
| [13] | 王玉玺, 陈健美. 基于自适应Canny算子和多方向Sobel算子的虹膜边缘检测算法 [J]. 计算机与数字工程, 2020, 48(11): 2744-2749. |
| [14] | 李锐风, 杨云福, 杨永发, 等. 基于机器视觉的玫瑰花检测与特征提取 [J]. 中国农业科技导报, 20: 1-8. |
| [15] | 刘浩, 贺福强, 李荣隆,等. 基于机器视觉的卷烟小盒商标纸表面缺陷在线检测技术 [J]. 中国烟草学报, 2020, 26(05): 54-59. |
| [16] | 张丽红, 王洪喜, 王冠伟, 等. 基于远心镜头的活塞外轮廓机器视觉测量技术研究 [J]. 工具技术, 2023, 57(12): 144-149. |
| [17] | 林琳, 孟秋博, 李栋浩. 最小二乘法在求解乙醇耦合制备C4烯烃最优条件中的应用 [J]. 数学与统计, 2022, 1(1): 0-14. |
| [18] | 黄力峰, 汪伟, 吴南星. 基于最小二乘原理的圆拟合及误差评定算法研究 [J]. 机械工程与自动化, 2020, (02): 4-6. |