利用迭代霍夫圆变换实现成捆棒材可靠计数
Using Iterative Hough Round Transform and Connected Areato Count Steel Bars Reliabley
-
摘要: 目的 针对现有的基于图像处理的棒材计数方法不准确且不能适应不同直径和不同切断工艺的问题,提出一种利用迭代霍夫圆变换和多阈值连通区域面积法统计实现成捆棒材的可靠计数。该方法先提取成捆棒材在图像中的位置即感兴趣区域(ROI)并规格化,再对规格化后的 ROI进行迭代霍夫圆变换提取棒材进行计数,最后进行多阈值连通区域面积法统计遗漏棒材,并与迭代霍夫圆变换计数结果求和得到最终计数结果。实验表明,该方法计数准确率高,能适应不同棒材直径和不同的切断工艺。Abstract: Objective Existing steel bar counting methods based on image processing are not accurate and cannotadapt to steel bar diameter variation,or changes in the production process.This paper presents an au-tomatic steel bar counting method which makes use of an iterative Hough round transformation and amulti-threshold connectivity area.The algorithm first extracts ROI by morphological operations.Then,it scales the image size according to the diameter of the input steel bars to the standardizationdiameter size to accommodate the bars diameter change.Nest,an iterative Hough round transforma-tion is applied to the scaled ROI to extract steel bars.Finally,a multi-threshold connectivity areamethod is used to calculate the remaining bars.Experiments show that the algorithm can adapt to thesteel bar diameter changes and changes in the production process with high accuracy.