用户名: 密码: 验证码:
基于运动视觉技术的钢球表面缺陷检测
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
轴承是机械基础部件,钢球作为轴承的滚动体,其表面质量直接影响轴承精度、动态性能和使用寿命,因此,对钢球表面质量的检测技术的研究是具有非常重要意义的课题。本文应用运动视觉技术对钢球表面缺陷进行图像序列获取、分析、跟踪与识别研究,并进行了运动视觉检测仪器的开发,其主要研究内容如下。
     首先,设计了钢球表面缺陷视觉检测实验系统的整体方案,开发了主要的检测机构模块及实验系统控制单元及电路板,从而搭建了运动视觉检测的实验平台。
     针对钢球视觉检测系统存在的畸变问题,设计了基于多项校正模型的摄像机标定方法。首先综合分析了钢球序列图像畸变的特征,得出钢球机器视觉检测系统共存在两种畸变:摄像机安装畸变和几何畸变。逐一针对畸变进行研究并建立校正矩阵。然后计算坐标系统的变换和校正后摄像机模型的内外参数,最终推导出系统标定的数学模型。
     其次,研究了钢球图像序列的去噪和复原问题。在分析现场噪声的函数特性和钢球运动模糊的规律基础上,提出了钢球运动图像退化模型,并设计了基于参数估计的维纳滤波方法进行图像恢复。实验效果表明本文复原算法具有明显的清晰度优势。还针对钢球反光与法线光晕现象,分析了其原因并探讨了两种可能的解决途径。设计了组合式照明方案,实现了钢球反光与法线光晕的弱化。
     再次,针对场景中多个运动钢球序列图像追踪的问题,设计了基于卡尔曼运动估计的免疫自适应模板追踪算法。首先,利用基于改进的免疫算法搜索出最优相关匹配点,检测出钢球。然后,采用Kalman算法得到每个钢球运动参数的估计,获取运动钢球的位置信息。并对匹配模板编号。最后,以基于加权的自适应模板更新算法解决跟踪点漂移问题。还提出基于蚁群算法的动态轮廓模型(Snake)实现钢球轮廓的自动提取策略。第一步,设计了基于圆弧邻域扩展连接边缘的改进型Canny算法来获得钢球Snake模型的初始化轮廓。第二步,设计了基于时间模型的蚁群算法获取Greedy演化最优解,获取了最佳轮廓。
     最后,对钢球表面缺陷的有无判断和缺陷分类进行了研究。首先分析了钢球表面图像纹理特征,在研究了能量特征、熵值特征、对比度特征、局部均匀特征、相关性参数的基础上,设计了综合熵参数评判钢球表面缺陷的有无。然后还设计了快速OTSU算法来获得钢球表面的缺陷区域。提出了以形状因子F结合3个不变矩,构成4维特征向量来标示钢球表面曲线区域的特征。最后设计了基于验证更新策略的AdaBoost分类器算法,完成对钢球表面缺陷类型的分类。
Bearing is basic part in mechanical equipment, which is used widely. To a large extent, bearing’s precision, motility and service life depend on the quality of steel ball in bearing. Research is very important task for detection surface defect of steel ball. In order to inspect and classify effectively surface defects of steel ball, an automatic measurement system was researched with dynamic vision technology. The main content of this thesis includes the following parts:
     The whole design scheme and the main module of detection mechanism were described in detail. The thesis also integrally analyzed the control circuit design of automatic detection of steel ball's surface defect. The motion vision experimental platform was developed for steel ball surface defect detection.
     Aiming at the distortion of steel ball vision experimental system, the improved traditional camera calibration method was designed based on multi distortion model. First of all, the characteristic of steel ball image sequence distortion was synthetically analyzed, and then the conclusion was got that there were two distortions: the camera installation distortion and the geometric distortion. Then the correctional matrix was established according to various kinds of distortions. The thesis calculated the transformation of coordinate system and the inner and outer parameters of the camera with correction. Finally the mathematic model of system calibration was derived.
     The problems of noise-removing and restoration of steel ball image sequence were studied.On analyzing the function characteristic of noise-fielded and rule of steel ball motion obscuration, the thesis put forward to the steel ball degradation model and designed the wiener filtering method based on parameter estimation to restore image. The experimental results indicated that restoration algorithm has obvious advantage for articulation in this paper. The thesis also analyzed their optical causes and investigated two possible solutions aiming at the reflection of steel ball and its normal line halo phenomenon .Combined lighting scheme were designed to weaken the reflection of steel ball and the normal line halo.
     Aiming at tracing image sequence of several motion steel balls in scene, the thesis designed the immunity self-adaptive tracing algorithm based on Kalman. First of all, the initial original template was determined by steel ball gray centroid. Then using Kalman arithmetic, the thesis obtained the estimation of every steel ball motion parameter and the position information. The matching template was numbered. Finally, the problem of tracing point drift was solved based on the weighted self-adaptive template updating arithmetic. The thesis put forward to the dynamic contour model based on the ant colony algorithm to realize the strategy of automatic extraction. On the first step, based on the expanded joint edge of the circular arc neighborhood, we designed the improved Canny arithmetic to obtain the initial profile of the steel ball Snake model.Second, we designed the ant colony algorithm which was based on time model to obtain the best solution of Greedy evolvement and gain the best profile.
     The thesis studied the judgment whether the steel ball has defect or not and the defect classification.First of all, the surface images texture feature of steel ball was analyzed. Based on the research of energy feature, entropy feature, contrast feature, partially-homogeneous feature and relativity parameter, the synthesis entropy parameter was designed to judge. Then the fast algorithm for Otsu was designed to get the defect area of steel ball surface. The thesis also proposed that by the shape factor F combined with three moment invariants the four-dimensional eigenvector was constructed to sign the feature of steel ball surface curve area. Finally, the thesis put forward the AdaBoost classifier algorithm based on the verification update strategy to classify the defect type of steel ball surface.
引文
[1]潘洪平.钢球表面缺陷的自动检测与识别[J].中国机械工程,2001,(4):369-372.
    [2]李伊文.钢球表面缺陷的电脑显微观测[J].轴承,1998,(10):32-35.
    [3]蒋沂萍.钢球抽检最佳方案的确定[J].轴承,2002,23(11):25-28.
    [4]葛华伟,贺霞.改进钢球生产工艺与提高钢球制造精度等级[J].黑龙江科技信息,2003(11):29-32.
    [5]李春颖.机器视觉在钢球表面缺陷检测中的应用[J].计算机与现代化,2005,10:63-65.
    [6]王保振.国外钢球制造技术简介[J].轴承,1999,20(3):40-42.
    [7]张葵摘.日本NSK新型滚动轴承浅析[J].轴承,2000,21(9):36-39.
    [8] KUROSAWA Y.Subspace Method Obtained from Gaussian Distribution on a Hyper Spherical Surface[J].Journal of the Japan Society for Elint and Commu-nications,1998,J81-D-Ⅱ(6):1205-1212.
    [9]潘洪平.钢球表面质量自动评价体系建立及其应用的研究[D].哈尔滨:哈尔滨工业大学(博士学位论文),2000:1-2.
    [10]徐淑琼.轴承球的声发射检测技术[J].无损检测,2003,24(7):358-359.
    [11] LIOULIOS A N, ANTONIADIS I A.Effect of Rotational Speed Fluctuations on the Dynamic Behaviour of Rolling Element Bearings with Radial Clearances[C].International Journal of Mechanical Sciences,2006,(48):809-829.
    [12]武雄吉岗.用声发射技术检测滚动接触表面下的疲劳裂纹[J].设备管理与维修,1994,(12):28-31.
    [13]赵刚,王保义,马松轩.Aviko K型钢球外观检验机中子午线展开机构的理论分析[J].四川大学学报,1997,34(5):635-639.
    [14]张艳萍.钢球表面缺陷涡流探伤仪分析[J].轴承,2007,28(2):32-33.
    [15]徐长英.钢球表面检测系统的研究[J].测控技术,2007,26(9):85-87.
    [16]姚灵.微小型钢球表面粗糙度测量仪的研究与设计[J].传感器世界,1998,(7):32-37.
    [17]徐淑琼,蒋沂萍.轴承球缺陷的超声波检测方法[J].机械制造与自动化,2005,34(5):44-46.
    [18]余婷.利用地磁场检测钢球表面裂纹的可行性研究[J].无损检测,2001,23(8):330-333.
    [19]陶必悦.对我国当前球轴承振动噪声状况的技术探讨[J].轴承,2000,21(2):5-8.
    [20] RONG Q A.Research and Manufacture of the Instrument of Bearing Ball's Nondestructive Testing[J].Aviation Precision Manufacturing Technology, 2005,4(41):52-54.
    [21]姜海彬.钢球的几何精度及表面质量对钢球单体振动值的影响分析[J].机械工程师,2002,(5):45-46.
    [22]梁华,谢倩,梁林霞.钢球表面缺陷分析[J].轴承,2004,(2):23-24
    [23]潘洪平.钢球表面质量评价系统用展开轮的理论研究[J].轴承,2001,(12):28-30.
    [24]潘洪平,梁迎春,董申.钢球表面质量评价系统[J].轴承,2000,(7):30-35.
    [25]李春颖.基于图像处理的钢球外观检测系统[J].轴承,2005(9):36-38.
    [26]马云艳.CCD钢球外观检测技术研究[D].哈尔滨:哈尔滨工业大学(硕士学位论文),2005:35-37.
    [27]赵彦玲,王洪运.基于UG的钢球子午线展开轮参数化设计[J].哈尔滨理工大学学报,2007,12(3):141-143.
    [28]赵彦玲,顾玉武,刘献礼.基于小波变换的钢球图像边缘检测[J].哈尔滨理工大学学报,2007,12(5):32-34.
    [29] ALOIMONOS J.Purposive and qualitative active vision[C].The 10th International Conference of Pattern Recognition,1990:246-360.
    [30]刘洋.运动视觉中目标的精确提取与跟踪技术[D].西安:西安电子科技大学(博士学位论文),2007:2-4.
    [31]郑世友.动态场景图像序列中运动目标检测与跟踪[D].南京:东南大学(博士学位论文),2005:1-2.
    [32]张伟.基于视觉的运动车辆检测与跟踪[D].上海:上海交通大学(博士学位论文),2007:13-15.
    [33]杨怀玉.钢球检测中的运动分析[J].中国水运:学术版,2006,6(10):33-34.
    [34]刘和平.TMS320LF240xDSP的C语言开发应用[M].北京:北京航空航天大学出版社,2003:15-24.
    [35]宋莹,季晓勇.TMS320C6202外部扩展存储器接口设计[J].微计算机应用,2004,25(4):480-483.
    [36] Meng X Q,LI H,Hu Z Y.A new camera calibration technique based on circular points[C] .In proceedings of British Machine Vision Conference,UK:Bristol,2000:496-505.
    [37] TSAI R Y.A versatile camera calibration technique for high-accuracy 3D machine vision metrology using off-the-shelf TV cameras and lenses[J] .IEEE Journal of Robotics and Automation,1987,3(4):323-343.
    [38]毛剑飞,诸静.工业机器人视觉定位系统高精度标定研究[J].机器人,2004,26(2):139-144.
    [39] MACHACEK M,SAUTER M and ROSGEN T.Two-step calibration of a stereo camera system for Measurements in large volumes[J].Measurement Science and Teehnology,2003,14:1631-1639.
    [40] HARTLEY R.Self calibration of stationary cameras.International Journal of Computer Vision[J].1997,22(1):5-23.
    [41] ZHANG Z.Camera calibration with dimensional objects[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2004,26(7):892-899.
    [42]吴福朝,胡占义.摄像机自标定的线性理论与算法[J].计算机学报,2001,24(11):1121-1135.
    [43]武利生,杨丽凤,李元宗.CCD尺寸检测中安装误差对测量精度的影响[J].仪器仪表学报,2005,26(10):1093-1096,1100.
    [44]吴晓波,安文斗,杨钢.图像测量系统中的误差分析及提高测量精度的途径[J].光学精密工程,1997,5(1):133-141.
    [45]孔明.颗粒粒径和形态计算机视觉测量方法研究[D].南京:东南大学(博士学位论文),2005:31-34.
    [46]李为民.大尺度范围内视觉测量技术研究[D].合肥:中国科学技术大学(博士学位论文),2006:53-57.
    [47]姜大志,郁倩,王冰洋,丁秋林,计算机视觉成像的非线性畸变研究与综述[J].计算机工程,2001,27(12):108-110.
    [48] DEVERNAY F and FAUGERAS O.Straight lines have to be straight: automatic calibration and removal of distortion from scenes of structured environments[J]. Machine vision and application, 2001.13: 14-24.
    [49]周富强,胡坤,张广军.基于共线特征点的摄像机镜头畸变校正[J].机械工程学报,2006,42(9):174-177.
    [50]张建忠.孔—轴装配机器人视觉制导关键技术研究[D].南京:东南大学(博士学位论文),2006:10-11.
    [51] ZHUANG L, YE X Y.An Illumination Processing Algorithm Based on Total Variation Model[C]. Proceedings of the World Congress on Intelligent Control and Automation ,2006,2: 10462-10466.
    [52] WANG Y, VAN R E and DYCK J F.Doherty.Tracking Moving Objects in Video Sequences[C]. Proc. Conference on Information Sciences and Svstems. Princeton, 2000:5-8.
    [53]刘亚,艾海舟,徐光佑.基于主运动分析的野外视觉侦察系统—运动目标检测、跟踪及全景图的生成[J].机器人,2001,23(3):250-256.
    [54] DUFAUX F, KONRAD J.Efficient, robust, and fast global motion estimation for video coding [J]. IEEE Trans Image Processing, 2000, 9(3): 497-501.
    [55]宋永江,夏良正,杨世周.多直线全局运动估计及其在图像稳定中的应用[J].东南大学学报:自然科学版,2002,32(2):211-217.
    [56] ZANG Q and KLETTE R. Robust background subtraction and maintenance[C]. Proceedings of International Conference on Pattern Recognition(ICPR), 2004,(2):90-93.
    [57] PAKORN K P, RICHARD B.A real time adaptive visual surveillance system for tracking low-resolution colour targets in dynamically changing scenes[J].Image and Vision Computing, 2003,(21):913-929.
    [58]李仕.运动模糊图像的实时恢复算法[J].光学精密工程,2007,15(5):767-772.
    [59]孟昕,张燕平.运动模糊图像恢复的算法研究与分析[J].计算机技术与发展,2007,17(8):73-76.
    [60]张德丰.维纳滤波图像恢复的理论分析与实现[J].中山大学学报:自然科学版,2006,45(6):44-47.
    [61] STAUFFER C , GRIMSON W.Learning Patterns of Activity Using Real-Time Tracking[J].IEEE Trans.on Pattern Analysis and Machine Intelligence, 2000,22(8):747-757.
    [62] SEZGIN M, SANKUR B.Survey Over Image Thresholding Techniques and Quantitative Performance Evaluation[J].Journal of ElectronicImaging,2004,13(1):146-165.
    [63]王亮,胡卫明,谭铁牛.人运动的视觉分析综述[J].计算机学报,2002,25(3):225-237.
    [64] CUCCHIARA R, CRANA C, PICCARDI M, PRATI A and SIROTTI S. Improving Shadow Suppression in Moving Object Detection with HSV Color Iinformation[C].The Proc of IEEE International Conference on Intelligent Transportation Systems, 2001:334-339.
    [65] CUCCHIARA R, PICCARDI M and PRATI A.Detecting Moving Objects,Ghosts,and Shadows in Video Streams[J].IEEE Trans on Pattern Analysis and Machine Intelligence,2003,25(10): 1337-1342.
    [66] LEE D S, Hull J and Erol B.A Bayesian Framework for Gaussian Mixture Background Modeling[C].The Proc.of IEEE International Confererence on Image Processing, 2003,(3):973-976.
    [67] PARK H W, SCHOEPFLIN T, KIM Y.Active Contour Models with Gradient Directional Information:Directional Snake[J].IEEE Transactions on Circuit and Systrnes for Videl Technology, 2001,11(2):252-254.
    [68] JAMES W.Background-subtraction using contour-based fusion of thermal and visible imagery[J].Computer Vision and Image Understanding, 2007:45-51.
    [69] CHEN Y T, CHEN C S, HUANG C R and HUNG Y P.Efficient hierarchical method for background subtraction[J] .Pattern Recognition, 2007:112-119.
    [70] HOLDEN E J, OWENS R.Segmenting Occluded Objects Using a Motion Snake[C] .Asian Conference on Computer Vision(ACCV),2004:347-355.
    [71] ALEXEI A E, ALEXANDER C B, GREG M and JITENDRA M.Recognizing Action at a Distance[C].International Conference on Computer Vision(ICCV), 2003:587-596.
    [72] JORGE B, JOSE M S and FILIBERTO P.Motion-based segmentation and regiontracking in image sequence[J].Pattern Recognition, 2001, 34( 3):661-670.
    [73]侯志强.视觉跟踪技术综述[J].自动化学报,2006,32(4):603-617.
    [74]张永东,张振山.自适应模板匹配在坦克火炮稳定精度测试中的应用[J].装甲兵工程学院学报,2007,21(2):74-77.
    [75]张玲,韩建.基于自适应模板的匹配算法在跟踪系统中的应用[J].重庆大学学报:自然科学版,2005,28(6):74-76.
    [76]顾静良,张卫,万敏.基于自适应模板匹配的红外弱小目标检测[J].电子技术应用,2005,32(5):5-7.
    [77]许波,李正明.一种新的基于自适应模板的相关跟踪算法[J].光学与光电技术,2004,2(4):62-64.
    [78]于习晓,杨孔雨.免疫算法及其应用研究进展[J].哈尔滨工程大学学报,2006,7(27):331-335.
    [79]焦李成,杜海峰.人工免疫系统进展与展望[J].电子学报, 2003,31(10):1540-1548.
    [80] De L N,CASTRO F J and ZUBEN V.The Clonal Selection Algorithm with Engineering Applications[C].Proceedings of GECCO'00 Workshop on Artificial Immune Systems and Their Applications,2000:36-37.
    [81] CHUN J S, JUNG H K and HAHN S Y.A Study on Comparison of Optimization Performances between Immune Algorithm and Other Heuristic Algorithms[J].Magnetic,1998,34(5):2972-2975.
    [82] HUANG S J.An immune-based Optimization Method to Capacitor Placement in a Radial Distribution System[J].IEEE Transactions on Power Delivery,2000,15(2):744-749.
    [83]郭子龙,王孙安.三种泥沌免疫优化组合算法性能之比较研究[J].系统仿真学报,2005,(2):72-75.
    [84]陈旭,宋爱国.蚂蚁算法与免疫算法结合求解TSP问题[J].传感技术学报,2006,19(2):504-507.
    [85]钱淑渠,张著洪.动态多目标免疫优化算法及性能测试研究[J].智能系统学报,2007,2(5):68-77.
    [86]葛红.免疫算法和遗传算法比较[J].济南大学学报,2003,(1):81-86.
    [87]余建军,孙树栋.单纯形免疫算法及其在高维非凸函数优化中的应用[J].机械科学与技术,2007,(3):296-303.
    [88]谢锋,沈军.一种基于snake模型的边缘轮廓提取的改进算法[J].湖南文理学院学报:自然科学版,2007,19(1):75-77.
    [89]王宏曼,欧宗瑛.自由差分运算与直交型Snake模型[J].计算机辅助设计与图形图像学学报,2005,17(3):448-454.
    [90] KASS M, WITKIN A and TERZOPOULOS D.Snakes: active contour models[J].International Journal of Computer Vision. 1987, 1(4): 321-331P
    [91] KASS M, WITKIN A and RIVES P.A New Approach to Visual Servoing in Robotics[J].IEEE Trans. Robotics and Automation, 1993, 8(3): 13-320.
    [92]李谦,李庆鹏.改进的主动轮廓模型在脑肿瘤MRI图像轮廓提取中的应用[J].计算机与数字工程,2007,35(11):89-92.
    [93]朱玉辉.一种基于蚁群算法的Snake模型与MRI分割[J].计算机应用与软件,2006,23(6):112-114.
    [94]杨莉.图像特征检测与运动目标分割算法的研究和实现[D].西安:西安电子科技大学(博士学位论文),2004:42-44.
    [95] TIAN J W, HUANG Y X. A Variable-Step Detecting Algorithm for Interested Boundary[C]. Proceedings of the World Congress on Intelligent Control and Automation, 2006,2: 10166-10170.
    [96]洪浩.蚁群优化算法及其应用研究[D].合肥:中国科学技术大学(博士学位论文),2006:2-6.
    [97]李士勇,赵宝江一种蚁群聚类算法[J].计算机测量与控制,2007,15(11):1590-1596.
    [98] WEI Z Q, JI X P and WANG P.Real-time moving object detection for video monitoring systems[J].Journal of Systems Engineering and Electronics, 2006,17( 4):731-736.
    [99] CHRISTIAN M, GIAN L F.Real-time image processing for active monitoring of wide areas[J].Journal of Visual Communication and Image Representation, 2006, 17(3):589-604.
    [100]TSAI D M, HUANG T Y.Automated surface inspection for statistical textures[J]. Image and Vision Computing,2003, 21(4): 307-323.
    [101]HARALICK R M.Textural Feature for Image Classification[J].IEEE Trans on System, Man, Gybernetics, 1973, 3 (6): 610-621.
    [102]杜亚娟.基于不变矩理论的自动目标识别技术研究[D].西安:西北工业大学(博士学位论文),2000:3-5.
    [103]王晓红.矩技术及其在图像处理与识别中的应用研究[D].西安:西北工业大学(博士学位论文),2001:8-14.
    [104]徐科,李文峰.基于幅值谱与不变矩的特征提取方法及应用[J].自动化学报,2006,32(3):470-474.
    [105]王亮申.图像特征提取及基于内容图像数据库检索理论和方法研究[D].大连:大连理工大学(博士学位论文),2002:57-58.
    [106]FREUND Y,SCHAPIRE R E.A Decision-theoretic Generalization of Online Learning and an Application to Boosting[J]. Journal of Computer and System Sciences,1997,55(1):119-139.
    [107]VIOLA P, JONES M.Rapid Object Detection Using a Boosted Cascade of Simple Features[C]. Proceedings of IEEF Conference on Computer Vision and Pattern Recognition,Kauai,Hawaii, 2001:342-351.
    [108]王海川,张立明.一种新的Adaboost快速训练算法[J].复旦学报:自然科学版,2004,43(1):27-33.
    [109]朱健翔,苏光大,李迎春.结合Gabor特征与Adaboost的人脸表情识别[J].光电子.激光,2006,17(8):993-997.
    [110]魏冬生,李林青.Adaboost人脸检测方法的改进[J].计算机应用,2006,26(3):231-236.
    [111]NISHII R,EGUHI S.Supervised image classification based on Adaboost with contextual weak classifiers[C].Geoscience and Remote Sensing Symposium,2004,2:1467-1470.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700