摘要
针对传统的人工计数方法存在效率低和危险系数高等问题,设计了一种基于峰谷特征和组合投票法的钢板计数算法。采用帧差法检测感兴趣区域,并对其进行图像预处理和边缘检测,利用每块切分的钢板边缘图像进行纵向投影获得灰度投影曲线并去噪,对投影曲线做一阶向前差分和二阶向前差分,得到钢板的波峰、波谷点,再对多块图像的波峰和波谷点进行组合投票,得到钢板数。实验结果表明,本文算法的钢板点张准确率在95%以上,能满足实际业务需求。
In response to the problems in traditional manual counting methods such as low efficiency and high risk,a steel plate counting method based on peak-valley features and combination voting was designed.Frame difference method was used to detect the region of interest and perform image preprocessing and edge detection on it.Then,the edge image of each cut steel plate was used for vertical projection to obtain the gray projection curve and remove noise.The first-order forward difference and second-order forward difference were used to obtain the peak and valley points of the steel plate from the projection curve,and then the peak and valley points of multiple images were combined by voting to obtain the number of steel plates.Experimental results show that compared with manual counting and other point expansion algorithms,the accuracy of this method is higher than 95%,which can meet actual business needs.
作者
梁田
龙永红
汤汶龙
刘芸萌
LIANG Tian;LONG Yonghong;TANG Wenlong;LIU Yunmeng(College of Railway Transportation,Hunan University of Technology,Zhuzhou Hunan 412007,China)
出处
《包装学报》
2023年第3期85-90,共6页
Packaging Journal
基金
湖南省自然科学基金资助项目(2021JJ50051)。
关键词
峰谷特征
组合投票法
钢板点张
灰度投影
peak and valley characteristics
combination voting
steel plate counting
grayscale projection