摘要
目的研究利用相机拍摄的捆装棒材端面图像进行棒材的自动计数方法。方法利用Hough变换提取端面圆的半径对图像尺寸进行规格化处理,使每个圆形端面具有近似统一的尺寸;利用滑动窗口的方法对检测窗口的中心点是否为圆棒材的中心进行判别,并标记判别结果;判别过程采用了一种SVM分类器的方法;通过在标记图上进行连通区搜索,统计棒材中心点区域的个数实现棒材计数;在测试图像库上对方法的有效性进行了测试实验。结果实验结果显示,文中方法在测试库上的正确率达到94%,其性能较模板匹配方法有显著优势。结论该方法的正确率较常规方法有很大提升,并且具有较好的鲁棒性,可应用于捆装圆棒材的自动计数问题。
The work aims to study an automatic counting method of bundled round bars from the image of their bottom surface caught by a camera.The radius of each bar's bottom surface was extracted by the Hough transformation method for normalizing.Then the image was zoomed to make every circle have a standard radius.The sliding window method was used to determine whether the center of the detection window was the center of a round bar.The result was labeled on another image.SVM classifiers were used for detection.The counting result was obtained by counting the number of connected regions in the labeled image of marked centers.Finally,the effectiveness of the method was tested with images in the test library.The experiment results showed that the accuracy of the methods in this paper on the test library was 94%,which was much higher than ordinary template matching method.The accuracy of the method in this paper is improved greatly compared with ordinary method.It also has a good robustness,and can be applied to automatic counting system for bundled round bars.
作者
刘昶
张鑫
朱立瑶
LIU Chang;ZHANG Xin;ZHU Li-yao(Shenyang Ligong University,Shenyang 110159,China)
出处
《包装工程》
CAS
北大核心
2020年第3期224-229,共6页
Packaging Engineering
基金
辽宁省自然科学基金(20170540792)