APP下载

改进的RHT算法在弹簧卡箍检测中的应用

2016-03-17章飘艳陈仁文丁志强

计算机应用与软件 2016年2期
关键词:检测

章飘艳 陈仁文 朱 霞 丁志强

(南京航空航天大学机械结构力学及控制国家重点实验室 江苏 南京 210016)



改进的RHT算法在弹簧卡箍检测中的应用

章飘艳陈仁文朱霞丁志强

(南京航空航天大学机械结构力学及控制国家重点实验室江苏 南京 210016)

摘要针对弹簧卡箍零件缺陷检测的人工离线检测方法的一些缺陷,提出一种改进的随机Hough变换的智能检测方法。该方法以弹簧卡箍的几何特征作为分析对象,对RHT的随机采样作了3方面的改进,有效地减少了无效采样与无效累积。实验分析显示,改进的RHT用于弹簧卡箍的检测时,尺寸误差都在1个像素之内,并且检测时间只有改进前的RHT算法检测时间的27.05%,最少的只有4.62%。实验结果表明,改进的RHT算法能够更加准确快速地检测出弹簧卡箍的尺寸。

关键词缺陷检测随机Hough变换圆检测弹簧卡箍

APPLYING IMPROVED RHT ALGORITHM TO SPRING CLAMPS DETECTION

Zhang PiaoyanChen RenwenZhu XiaDing Zhiqiang

(State Key Laboratory of Mechanics and Control of Mechanical Structures,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,Jiangsu,China)

AbstractWe proposed an improved RHT-based smart spring clamps detection method to overcome the defects of traditional manual offline detection method in detecting spare part flaws of spring clamps. The method takes geometric feature of spring clamps as the analysing object,makes the improvements on RHT random sampling in three areas,and effectively reduces the ineffective sampling and ineffective accumulation. Experimental analysis showed that when applying the improved RHT algorithm on spring clamps detection,the dimensional errors are all less than one pixel,and the detection time is only 27.05% of the original time (the shortest is 4.62%). Experimental results showed that the improved RHT algorithm can detect the dimension of spring clamps with higher speed and accuracy.

KeywordsDefect detectionRandom Hough transform (RHT)Circle detectionSpring clamp

0引言

弹簧卡箍被广泛应用于用于汽车、拖拉机、轮船、汽油机、柴油机、喷灌机等多种机械设备上的油、汽、液胶管的接口处,以及楼房建筑的下水道接口等,是各类胶管接口首选的坚固连接配件。弹簧卡箍是弹簧钢由车床模具一次冲压而成,其形状为圆形,外圈留出两个供手按的耳。在使用时,用手用力按住双耳增大内圈,套进圆管即可。

根据弹簧卡箍的圆形特征,可应用Hough变换算法[1-4]进行检测。Hough变换是1962年Paul Hough以专利的形式提出的。Hough变换作为一种有效地检验圆的基本方法,常被用于各种工业应用与科学研究中。其优点在于它具有很好的鲁棒性和容错性,对区域边界的噪声或间断点不敏感;……

登录APP查看全文

猜你喜欢

检测
QC 检测
小波变换在PCB缺陷检测中的应用