[go: up one dir, main page]

CN106290379A - Rail surface defects based on Surface scan camera detection device and method - Google Patents

Rail surface defects based on Surface scan camera detection device and method Download PDF

Info

Publication number
CN106290379A
CN106290379A CN201610769651.6A CN201610769651A CN106290379A CN 106290379 A CN106290379 A CN 106290379A CN 201610769651 A CN201610769651 A CN 201610769651A CN 106290379 A CN106290379 A CN 106290379A
Authority
CN
China
Prior art keywords
image
defect
camera
processing module
rail
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610769651.6A
Other languages
Chinese (zh)
Inventor
孙明健
马立勇
李美琪
娄欢
程星振
史雅慧
张凤阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology Weihai
Original Assignee
Harbin Institute of Technology Weihai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Institute of Technology Weihai filed Critical Harbin Institute of Technology Weihai
Priority to CN201610769651.6A priority Critical patent/CN106290379A/en
Publication of CN106290379A publication Critical patent/CN106290379A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8854Grading and classifying of flaws
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明公开一种基于面扫描相机的钢轨表面缺陷检测装置及方法,能够提高检测的效率和精确性,并大大减少工人的工作量。所述装置包括:面扫描相机、数据采集卡和处理模块;其中,所述面扫描相机,用于采集待检测钢轨的表面图像;所述数据采集卡,用于获取所述图像,并将所述图像发送给所述处理模块;所述处理模块,用于对所述图像进行处理,得到缺陷特征值,并将所述缺陷特征值输入预先训练好的分类器,得到所述待检测钢轨的缺陷所属的类别。

The invention discloses a rail surface defect detection device and method based on an area scanning camera, which can improve the efficiency and accuracy of detection and greatly reduce the workload of workers. The device includes: a surface scanning camera, a data acquisition card and a processing module; wherein, the surface scanning camera is used to collect the surface image of the rail to be detected; the data collection card is used to obtain the image, and the The image is sent to the processing module; the processing module is used to process the image to obtain a defect feature value, and input the defect feature value into a pre-trained classifier to obtain the rail to be detected The category the defect belongs to.

Description

基于面扫描相机的钢轨表面缺陷检测装置及方法Rail surface defect detection device and method based on area scanning camera

技术领域technical field

本发明涉及钢轨表面缺陷检测领域,具体涉及一种基于面扫描相机的钢轨表面缺陷检测装置及方法。The invention relates to the field of rail surface defect detection, in particular to a rail surface defect detection device and method based on an area scanning camera.

背景技术Background technique

随着铁路事业的发展,高铁钢轨在交通运输方面具有不可或缺的地位。然而,铁路运行过程中或加工后的钢轨会存在一定缺陷,缺陷会对材料的使用寿命、力学性能等产生直接影响,并会逐渐发展、恶化,最终将导致材料失效并发生断裂,还可能造成生命或财产的巨大损失。现在随着先进生产技术的引进,例如高碳钢和钢铁清洁生产工艺,钢轨内部缺陷出现的几率曰渐减少,而钢轨表面缺陷造成钢轨断裂的情况越来越常见;钢轨表面缺陷还会导致车轮磨耗加剧,形成剥落掉块,使脱轨更易发生,因此钢轨表面缺陷的检测就显得尤为重要。With the development of the railway industry, high-speed rail has an indispensable position in transportation. However, there will be certain defects in the rails during railway operation or after processing, which will have a direct impact on the service life and mechanical properties of the materials, and will gradually develop and deteriorate, eventually leading to material failure and fracture, and may also cause Great loss of life or property. Now with the introduction of advanced production technology, such as high-carbon steel and steel clean production process, the probability of internal defects of rails is decreasing day by day, and it is more and more common for rails to break due to surface defects of rails; surface defects of rails can also cause wheels Abrasion increases, resulting in peeling off blocks, making derailment more likely to occur, so the detection of rail surface defects is particularly important.

在钢轨缺陷检测方面,目前比较成熟和应用较多的技术是超声波检测、脉冲涡流检测等自动化、半自动化方法。但是这些方法一方面检测成本高,设备复杂,另一方面很难区分钢轨的内部缺陷和表面缺陷,需要人工利用小型仪器进行复核。In terms of rail defect detection, the more mature and widely used technologies are automatic and semi-automatic methods such as ultrasonic testing and pulsed eddy current testing. However, on the one hand, these methods have high detection costs and complicated equipment, and on the other hand, it is difficult to distinguish internal defects and surface defects of the rail, requiring manual review with small instruments.

发明内容Contents of the invention

针对现有技术存在的不足和缺陷,本发明提供一种基于面扫描相机的钢轨表面缺陷检测装置及方法。Aiming at the deficiencies and defects of the prior art, the present invention provides a rail surface defect detection device and method based on an area scanning camera.

一方面,本发明实施例提出一种基于面扫描相机的钢轨表面缺陷检测装置,包括:On the one hand, an embodiment of the present invention proposes a rail surface defect detection device based on an area scanning camera, including:

面扫描相机、数据采集卡和处理模块;其中,area scan camera, data acquisition card and processing module; where,

所述面扫描相机,用于采集待检测钢轨的表面图像;The surface scanning camera is used to collect the surface image of the rail to be detected;

所述数据采集卡,用于获取所述图像,并将所述图像发送给所述处理模块;The data acquisition card is used to acquire the image and send the image to the processing module;

所述处理模块,用于对所述图像进行处理,得到缺陷特征值,并将所述缺陷特征值输入预先训练好的分类器,得到所述待检测钢轨的缺陷所属的类别。The processing module is configured to process the image to obtain defect feature values, and input the defect feature values into a pre-trained classifier to obtain the category to which the rail defects to be detected belong.

另一方面,本发明实施例提出一种钢轨表面缺陷检测方法,包括:On the other hand, an embodiment of the present invention proposes a rail surface defect detection method, including:

利用所述面扫描相机采集待检测钢轨的表面图像;Using the surface scanning camera to collect a surface image of the rail to be detected;

利用所述数据采集卡获取所述图像,并将所述图像发送给所述处理模块;using the data acquisition card to acquire the image, and sending the image to the processing module;

利用所述处理模块对所述图像进行处理,得到缺陷特征值,并将所述缺陷特征值输入预先训练好的分类器,得到所述待检测钢轨的缺陷所属的类别。The image is processed by the processing module to obtain defect feature values, and the defect feature values are input into a pre-trained classifier to obtain the categories to which the defects of the rail to be detected belong.

本发明实施例提供的基于面扫描相机的钢轨表面缺陷检测装置及方法,利用处理模块通过分类器对面扫描相机采集的待检测钢轨的表面图像的缺陷所属的类别进行检测,能很好地实现钢轨缺陷的识别和分类,提高检测的效率和精确性,并大大减少工人的工作量,同时,本发明克服了现有的超声波检测、脉冲涡流检测等自动化、半自动化方法成本高,设备复杂等缺点,在保证检测效率和精确性的前提下,实现了钢轨表面缺陷的识别和分类。The rail surface defect detection device and method based on the surface scanning camera provided by the embodiments of the present invention uses the processing module to detect the category of the defect of the surface image of the rail to be detected collected by the surface scanning camera through the classifier, which can well realize the detection of rail defects. The identification and classification of defects improves the efficiency and accuracy of detection, and greatly reduces the workload of workers. At the same time, the invention overcomes the shortcomings of existing automatic and semi-automatic methods such as ultrasonic testing and pulsed eddy current testing, which have high costs and complex equipment. , under the premise of ensuring the detection efficiency and accuracy, the identification and classification of rail surface defects are realized.

附图说明Description of drawings

图1为本发明基于面扫描相机的钢轨表面缺陷检测装置一实施例的结构示意图;Fig. 1 is a structural schematic diagram of an embodiment of a rail surface defect detection device based on an area scanning camera in the present invention;

图2为本发明基于面扫描相机的钢轨表面缺陷检测装置一实施例所涉及的具体流程示意图;Fig. 2 is a schematic diagram of the specific process involved in an embodiment of the surface-scanning camera-based rail surface defect detection device of the present invention;

图3为本发明相机移动平台的结构示意图;Fig. 3 is a structural schematic diagram of the camera mobile platform of the present invention;

图4为图3所述的相机移动平台导轨部分的细节图;Fig. 4 is a detailed view of the guide rail part of the camera mobile platform described in Fig. 3;

图5为本发明钢轨表面缺陷检测方法一实施例的整体流程示意图。Fig. 5 is a schematic diagram of an overall process of an embodiment of a method for detecting a surface defect of a rail according to the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

参看图1,本实施例公开一种基于面扫描相机的钢轨表面缺陷检测装置,包括:Referring to Fig. 1, this embodiment discloses a rail surface defect detection device based on an area scanning camera, including:

面扫描相机11、数据采集卡12和处理模块13;其中,Surface scan camera 11, data acquisition card 12 and processing module 13; Wherein,

所述面扫描相机11,用于采集待检测钢轨的表面图像;The surface scanning camera 11 is used to collect surface images of rails to be detected;

在实际应用中,相机镜头会存在畸变,这是由于焦平面上不同区域对影像的放大率不同而形成的画面扭曲变形的现象。畸变会对缺陷检测的准确度造成影响,而对相机进行标定能够达到消除畸变的效果,因此在使用相机采集待检测钢轨的表面图像之前,首先需要对其进行标定,如图2所示。In practical applications, there will be distortion in the camera lens, which is a phenomenon of distortion and distortion of the image caused by the different magnification ratios of different areas on the focal plane. Distortion will affect the accuracy of defect detection, and calibrating the camera can achieve the effect of eliminating distortion. Therefore, before using the camera to collect the surface image of the rail to be inspected, it needs to be calibrated first, as shown in Figure 2.

对相机标定的过程实际上是求解相机12个内外参数的过程。标定需要的一个工具是标定板,常用的标定板有实心圆阵列图案的和国际象棋阵列图案的两种,尺寸可根据视场范围大小选择。The process of camera calibration is actually the process of solving 12 internal and external parameters of the camera. One of the tools needed for calibration is the calibration board. Commonly used calibration boards include solid circle array pattern and chess array pattern. The size can be selected according to the size of the field of view.

相机位置和姿态固定后,采集若干幅标定板图像。这些图像需要使不同位置的标定板铺满整个相机视场,同时,标定板要有尽量多的姿态。将标定板图像输入用机器视觉软件HALCON事先编写好的软件程序中,运行得到相机的内外参数,利用相机的内外参数对相机进行标定。After the camera position and attitude are fixed, several images of the calibration board are collected. These images need to make the calibration boards in different positions cover the entire camera field of view, and at the same time, the calibration boards should have as many poses as possible. Input the image of the calibration board into the software program written in advance with the machine vision software HALCON, run it to get the internal and external parameters of the camera, and use the internal and external parameters of the camera to calibrate the camera.

本实施例中,相机可以采用面阵CMOS相机ARTCAM-300MI-WOM,能拍摄出最大2048×1536像素的图像,如此高分辨率可以保证采集到钢轨缺陷图像能够保存实际尽可能多的细节信息,从而保证遗漏尽可能少的缺陷。又由于每行像素最大可达到6000左右,因此,使用该相机获取图像,每毫米可包括20个左右的像素点,再结合后面图像处理的算法,能够保证缺陷位置检测的结果达到精度要求。由于实验过程中,相机视场大小约为15cm×10cm,因此,使用该款相机能够将表面缺陷的检测结果精确到0.1mm。In this embodiment, the camera can use an area array CMOS camera ARTCAM-300MI-WOM, which can capture images with a maximum of 2048×1536 pixels. Such a high resolution can ensure that the collected rail defect images can save as much detailed information as possible. This ensures that as few defects as possible are missed. And because each row of pixels can reach a maximum of about 6000, therefore, using this camera to acquire images, each millimeter can include about 20 pixels, combined with the subsequent image processing algorithm, can ensure that the results of defect position detection meet the accuracy requirements. Since the field of view of the camera is about 15cm×10cm during the experiment, the detection result of surface defects can be accurate to 0.1mm by using this camera.

所述数据采集卡12,用于获取所述图像,并将所述图像发送给所述处理模块13;The data acquisition card 12 is configured to acquire the image, and send the image to the processing module 13;

所述处理模块13,用于对所述图像进行处理,得到缺陷特征值,并将所述缺陷特征值输入预先训练好的分类器(可以为高斯分类器),得到所述待检测钢轨的缺陷所属的类别。The processing module 13 is configured to process the image to obtain a defect feature value, and input the defect feature value into a pre-trained classifier (which may be a Gaussian classifier) to obtain the defect of the rail to be detected category to which it belongs.

处理模块13可以设置于PC机内。如图2所示,处理模块13在对待检测钢轨的表面图像进行处理之前,需要对分类器进行训练,具体过程如下:The processing module 13 can be set in a PC. As shown in Figure 2, the processing module 13 needs to train the classifier before processing the surface image of the rail to be detected, and the specific process is as follows:

对已知缺陷所属的类别的钢轨样本的表面图像依次进行预处理、特征提取,得到所述钢轨样本的缺陷特征值,并利用所述钢轨样本的缺陷所属的类别和所述钢轨样本的缺陷特征值对所述分类器进行训练。Perform preprocessing and feature extraction on the surface image of the rail sample of the category of the known defect to obtain the defect feature value of the rail sample, and use the category of the defect of the rail sample and the defect feature of the rail sample value to train the classifier on.

如图2所示,在对分类器训练完后,处理模块13的预处理子模块会对待检测钢轨的表面图像进行预处理,计算子模块会对预处理后的图像进行特征提取(即获取缺陷信息),得到缺陷特征值。其中,预处理包括:对所述图像依次进行滤波器滤波、图像增强和钢轨区域定位处理。需要说明的是,滤波器滤波,主要利用高斯函数(mean_image函数)对图像进行去噪平滑处理,对去除服从正态分布的噪声很有效。As shown in Figure 2, after the classifier is trained, the preprocessing submodule of the processing module 13 will preprocess the surface image of the rail to be detected, and the calculation submodule will perform feature extraction on the preprocessed image (that is, obtain the defect information) to get the defect feature value. Wherein, the preprocessing includes: sequentially performing filter filtering, image enhancement and rail area positioning processing on the image. It should be noted that the filter filtering mainly uses the Gaussian function (mean_image function) to denoise and smooth the image, which is very effective for removing noise that obeys a normal distribution.

特征提取包括:对所述钢轨区域定位处理得到的钢轨区域进行图像灰度化;对所述图像灰度化的结果进行图像分割;对所述图像分割的结果进行形态学处理;对所述形态学处理的结果进行缺陷标定;计算得到的缺陷的特征值,得到缺陷特征值。图像灰度化,主要是突出图像的特点,具体可以利用decompose3算子将彩色图像转化为黑白图像,便于后续进行有效的处理工作。图像分割,主要根据灰度值的差异提取缺陷,利于方便快捷有效地提取缺陷信息,具有实现简单、计算量小,性能较稳定的特点,特别适用于目标和背景占据不同灰度级范围的图像。形态学处理包括腐蚀和膨胀操作,腐蚀膨胀是形态学处理的基础。通过腐蚀膨胀操作可以忽略不想要的细节,增强缺陷的特征,达到增强图片的效果,筛选出来感兴趣的区域。缺陷标定具体可以canny算子对缺陷图片进行边缘选取和定位。特征提取所提取到的特征值可以包括缺陷的长度和位置信息。The feature extraction includes: performing image grayscale on the rail region obtained by the rail region positioning processing; performing image segmentation on the result of the grayscale image; performing morphological processing on the result of the image segmentation; Defect calibration is performed on the results of scientific processing; the characteristic value of the defect is calculated to obtain the characteristic value of the defect. Image grayscale is mainly to highlight the characteristics of the image. Specifically, the decompose3 operator can be used to convert the color image into a black and white image, which is convenient for subsequent effective processing. Image segmentation mainly extracts defects based on the differences in gray values, which is conducive to convenient, quick and effective extraction of defect information. It has the characteristics of simple implementation, small amount of calculation, and relatively stable performance. It is especially suitable for images where the target and background occupy different gray levels. . Morphological processing includes erosion and dilation operations, and corrosion dilation is the basis of morphological processing. Through the corrosion and expansion operation, unwanted details can be ignored, the characteristics of defects can be enhanced, the effect of enhancing the picture can be achieved, and the area of interest can be screened out. For defect calibration, the canny operator can be used to select and locate the edge of the defect image. The feature values extracted by the feature extraction may include the length and position information of the defect.

需要说明的是,对已知缺陷所属的类别的钢轨样本的表面图像进行的预处理、特征提取同对待检测钢轨的表面图像的对应处理过程,此处不再赘述。It should be noted that the preprocessing and feature extraction of the surface image of the rail sample of the category to which the known defect belongs is the same as the corresponding processing process of the surface image of the rail to be detected, and will not be repeated here.

利用本发明实施例可以识别出的缺陷类别可以包括剥离掉块、鱼鳞剥落、裂纹和锈蚀,当然也可以添加其它类型的缺陷信息至分类器中进行缺陷识别。The defect categories that can be identified by using the embodiment of the present invention may include peeled off blocks, fish scale peeling, cracks and rust, and of course other types of defect information may also be added to the classifier for defect identification.

本发明实施例提供的基于面扫描相机的钢轨表面缺陷检测装置,利用处理模块通过分类器对面扫描相机采集的待检测钢轨的表面图像的缺陷所属的类别进行检测,能很好地实现钢轨缺陷的识别和分类,提高检测的效率和精确性,同时,本发明克服了现有的超声波检测、脉冲涡流检测等自动化、半自动化方法成本高,设备复杂等缺点,在保证检测效率和精确性的前提下,实现了钢轨表面缺陷的识别和分类。The rail surface defect detection device based on the surface scanning camera provided by the embodiment of the present invention uses the processing module to detect the category of the defect of the surface image of the rail to be detected collected by the surface scanning camera through the classifier, which can well realize the detection of rail defects Identify and classify, improve the efficiency and accuracy of detection. At the same time, the present invention overcomes the shortcomings of existing automatic and semi-automatic methods such as ultrasonic detection and pulsed eddy current detection, such as high cost and complicated equipment. On the premise of ensuring detection efficiency and accuracy Under this method, the identification and classification of rail surface defects are realized.

在前述装置实施例的基础上,所述装置还可以包括:On the basis of the foregoing device embodiments, the device may also include:

电机和相机移动平台;其中,motor and camera movement platform; where,

所述面扫描相机设置在所述相机移动平台上,The area scan camera is set on the camera mobile platform,

所述电机连接所述相机移动平台,用于接收来自于所述处理模块的控制指令,根据所述控制指令通过传动机构带动所述相机移动平台运动,从而带动所述面扫描相机在三维空间运动。The motor is connected to the camera moving platform for receiving control instructions from the processing module, and drives the camera moving platform to move through the transmission mechanism according to the control instructions, thereby driving the area scanning camera to move in three-dimensional space .

如图3所示为本发明相机移动平台的结构示意图,相机移动平台主要用于控制相机的运动,平台上沿XYZ三个方向分别设有可移动的滑块,用来带动相机在三维空间的运动。图3中1、3和4为滑块,2为待检测钢轨,5为面扫描相机。1处的滑块用于控制相机的前后运动,3、4处的滑块分别用于控制相机的上下和左右运动,进而实现相机在三维空间的运动,导轨部分的细节图如图4所示。通过相机移动平台控制面扫描相机在三维空间运动,以扫描获取待检测钢轨的表面图像。As shown in Figure 3, it is a schematic structural view of the camera mobile platform of the present invention. The camera mobile platform is mainly used to control the movement of the camera. The platform is respectively provided with movable sliders along the three directions of XYZ, which are used to drive the camera in three-dimensional space. sports. In Fig. 3, 1, 3 and 4 are sliders, 2 is a rail to be detected, and 5 is a surface scanning camera. The slider at position 1 is used to control the forward and backward movement of the camera, and the sliders at position 3 and 4 are used to control the up and down and left and right movements of the camera respectively, so as to realize the movement of the camera in three-dimensional space. The details of the guide rail are shown in Figure 4 . The surface scanning camera is controlled to move in three-dimensional space through the camera moving platform to scan and obtain the surface image of the rail to be detected.

如图3所示,处理模块与数据采集卡以及数据采集卡与相机间的信息传送都是双向的。处理模块发出控制信号通过数采卡实现相机的运动控制,相机采集缺陷的图像信息通过数采卡传送给处理模块。As shown in Figure 3, the information transmission between the processing module and the data acquisition card and between the data acquisition card and the camera is bidirectional. The processing module sends a control signal to realize the motion control of the camera through the digital acquisition card, and the image information of the defect collected by the camera is transmitted to the processing module through the digital acquisition card.

需要说明的是,图3和图4所示的相机移动平台整体架构采用长方体结构,但此结构不对本发明构成限制,仅作为本发明的一个实施例,本领域的专业人员可搭建任意可控制相机在三维空间移动的平台。It should be noted that the overall structure of the camera mobile platform shown in Figure 3 and Figure 4 adopts a cuboid structure, but this structure does not constitute a limitation to the present invention, it is only an embodiment of the present invention, professionals in the field can build any controllable A platform on which the camera moves in 3D space.

装置的软件编译环境主要使用HALCON中交互式的程序设计接口HDevelop进行整个装置的软件设计。可将软件程序直接嵌入到装置硬件内部,直接进行缺陷识别和分类,方便高效,成本低。The software compilation environment of the device mainly uses the interactive programming interface HDevelop in HALCON to carry out the software design of the whole device. The software program can be directly embedded into the hardware of the device to identify and classify defects directly, which is convenient, efficient and low cost.

参看图5,本实施例公开一种基于面扫描相机的钢轨表面缺陷检测方法,包括:Referring to Figure 5, this embodiment discloses a method for detecting surface defects of rails based on an area scanning camera, including:

S1、利用所述面扫描相机采集待检测钢轨的表面图像;S1. Using the surface scanning camera to collect the surface image of the rail to be detected;

S2、利用所述数据采集卡获取所述图像,并将所述图像发送给所述处理模块;S2. Use the data acquisition card to acquire the image, and send the image to the processing module;

S3、利用所述处理模块对所述图像进行处理,得到缺陷特征值,并将所述缺陷特征值输入预先训练好的分类器,得到所述待检测钢轨的缺陷所属的类别。S3. Using the processing module to process the image to obtain defect feature values, and input the defect feature values into a pre-trained classifier to obtain the categories to which the defects of the rail to be detected belong.

本发明实施例提供的基于面扫描相机的钢轨表面缺陷检测方法,利用处理模块通过分类器对面扫描相机采集的待检测钢轨的表面图像的缺陷所属的类别进行检测,能很好地实现钢轨缺陷的识别和分类,提高检测的效率和精确性,同时,本发明克服了现有的超声波检测、脉冲涡流检测等自动化、半自动化方法成本高,设备复杂等缺点,在保证检测效率和精确性的前提下,实现了钢轨表面缺陷的识别和分类。The rail surface defect detection method based on the surface scanning camera provided by the embodiment of the present invention uses the processing module to detect the category of the defect of the surface image of the rail to be detected collected by the surface scanning camera through the classifier, which can well realize the detection of rail defects Identify and classify, improve the efficiency and accuracy of detection. At the same time, the present invention overcomes the shortcomings of existing automatic and semi-automatic methods such as ultrasonic detection and pulsed eddy current detection, such as high cost and complicated equipment. On the premise of ensuring detection efficiency and accuracy Under this method, the identification and classification of rail surface defects are realized.

虽然结合附图描述了本发明的实施方式,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下做出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention. within the bounds of the requirements.

Claims (9)

1. A rail surface defect detection device based on a surface scanning camera is characterized by comprising:
the system comprises a surface scanning camera, a data acquisition card and a processing module; wherein,
the surface scanning camera is used for acquiring a surface image of the steel rail to be detected;
the data acquisition card is used for acquiring the image and sending the image to the processing module;
and the processing module is used for processing the image to obtain a defect characteristic value, and inputting the defect characteristic value into a pre-trained classifier to obtain the category to which the defect of the steel rail to be detected belongs.
2. The apparatus of claim 1, wherein the processing module comprises:
the preprocessing submodule is used for preprocessing the image;
and the calculation submodule is used for extracting the defects of the image processed by the preprocessing submodule and calculating the characteristic values of the extracted defects to obtain the defect characteristic values.
3. The apparatus of claim 2, wherein the pre-processing submodule is specifically configured to:
and sequentially carrying out filter filtering, image enhancement and steel rail positioning processing on the image.
4. The apparatus according to claim 3, wherein the computation submodule is specifically configured to:
carrying out image graying on the steel rail area obtained by the steel rail positioning processing;
performing image segmentation on the image graying result;
performing morphological processing on the result of the image segmentation;
performing defect calibration on the result of the morphological processing;
and calculating the obtained characteristic value of the defect to obtain the defect characteristic value.
5. The apparatus according to claim 1, wherein the processing module is further configured to, before processing the image to obtain the defect feature value, process a surface image of a steel rail sample of a category to which the defect belongs to obtain the defect feature value of the steel rail sample, and train the classifier using the category to which the defect of the steel rail sample belongs and the defect feature value of the steel rail sample.
6. The apparatus of claim 1, further comprising:
a motor and a camera moving platform; wherein,
the area scanning camera is arranged on the camera moving platform,
the motor is connected with the camera moving platform and used for receiving the control instruction from the processing module and driving the camera moving platform to move through the transmission mechanism according to the control instruction, so that the surface scanning camera is driven to move in a three-dimensional space.
7. The apparatus of claim 1,
the surface scanning camera is also used for acquiring images of the calibration plates with different postures which are paved in the camera view field before acquiring the surface image of the steel rail to be detected;
the processing module is used for acquiring the image of the calibration board, calculating the internal and external parameters of the surface scanning camera according to the image of the calibration board, and calibrating the surface scanning camera by using the internal and external parameters.
8. The apparatus of claim 1, wherein the area scan camera is an area array CMOS camera ARTCAM-300 MI-WOM.
9. A rail surface defect detection method based on the device of claim 1, which is characterized by comprising the following steps:
acquiring a surface image of the steel rail to be detected by using the surface scanning camera;
acquiring the image by using the data acquisition card, and sending the image to the processing module;
and processing the image by using the processing module to obtain a defect characteristic value, and inputting the defect characteristic value into a pre-trained classifier to obtain the category to which the defect of the steel rail to be detected belongs.
CN201610769651.6A 2016-08-30 2016-08-30 Rail surface defects based on Surface scan camera detection device and method Pending CN106290379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610769651.6A CN106290379A (en) 2016-08-30 2016-08-30 Rail surface defects based on Surface scan camera detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610769651.6A CN106290379A (en) 2016-08-30 2016-08-30 Rail surface defects based on Surface scan camera detection device and method

Publications (1)

Publication Number Publication Date
CN106290379A true CN106290379A (en) 2017-01-04

Family

ID=57675942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610769651.6A Pending CN106290379A (en) 2016-08-30 2016-08-30 Rail surface defects based on Surface scan camera detection device and method

Country Status (1)

Country Link
CN (1) CN106290379A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944505A (en) * 2017-12-19 2018-04-20 青岛科技大学 A kind of metal failure type automatization judgement method
CN110254468A (en) * 2019-06-20 2019-09-20 吉林大学 An intelligent online detection device and detection method for track surface defects
CN113034341A (en) * 2021-05-25 2021-06-25 浙江双元科技股份有限公司 Data acquisition processing circuit for Cameralink high-speed industrial camera
CN114235838A (en) * 2021-12-20 2022-03-25 苏州金万轮精密机械有限公司 A wearing and tearing check out test set for line guide rail processing
CN114923913A (en) * 2022-05-11 2022-08-19 深圳艾灵网络有限公司 Production defect detection system and method
CN116152237A (en) * 2023-04-18 2023-05-23 中铁四局集团有限公司 Method and system for detecting flaking and falling blocks of steel rail

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699273A (en) * 2009-10-29 2010-04-28 北京交通大学 Auxiliary detection device and method of image processing for on-line flaw detection of rails
CN104132943A (en) * 2013-05-02 2014-11-05 上海工程技术大学 Method and device of vehicle-mounted high-speed dynamic railway surface defect video detection
CN104751169A (en) * 2015-01-10 2015-07-01 哈尔滨工业大学(威海) Method for classifying rail failures of high-speed rail
CN105092705A (en) * 2015-08-28 2015-11-25 哈尔滨工业大学(威海) Multi-mode signal detection method and multi-mode signal detection system for rail defects
CN205426067U (en) * 2016-02-22 2016-08-03 东莞市邓工精密仪器设备有限公司 Tower crane balanced type image measuring instrument ware

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699273A (en) * 2009-10-29 2010-04-28 北京交通大学 Auxiliary detection device and method of image processing for on-line flaw detection of rails
CN104132943A (en) * 2013-05-02 2014-11-05 上海工程技术大学 Method and device of vehicle-mounted high-speed dynamic railway surface defect video detection
CN104751169A (en) * 2015-01-10 2015-07-01 哈尔滨工业大学(威海) Method for classifying rail failures of high-speed rail
CN105092705A (en) * 2015-08-28 2015-11-25 哈尔滨工业大学(威海) Multi-mode signal detection method and multi-mode signal detection system for rail defects
CN205426067U (en) * 2016-02-22 2016-08-03 东莞市邓工精密仪器设备有限公司 Tower crane balanced type image measuring instrument ware

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
MINGJIAN SUN ET AL.: ""Feature Selection and Classification Algorithm for Non-destructive Detecting of High-speed Rail Defects Based on Vibration Signals"", 《INSTRUMENT AND MEASUREMENT TECHNOLOGY CONFERENCE(12MTC) PROCEEDINGS,2014 IEEE INTERNATIOLAL》 *
方玉红: ""基于机器视觉的轨道缺陷图像检测系统设计"", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *
王时丽、刘桂华: ""基于机器视觉的钢轨表面缺陷三维检测方法"", 《微机与应用》 *
薛兴昌 等编著: "《钢铁工业自动化 轧钢卷》", 31 January 2010, 冶金工业出版社 *
许文达: ""基于机器视觉的钢轨表面缺陷识别研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944505A (en) * 2017-12-19 2018-04-20 青岛科技大学 A kind of metal failure type automatization judgement method
CN110254468A (en) * 2019-06-20 2019-09-20 吉林大学 An intelligent online detection device and detection method for track surface defects
CN113034341A (en) * 2021-05-25 2021-06-25 浙江双元科技股份有限公司 Data acquisition processing circuit for Cameralink high-speed industrial camera
CN113034341B (en) * 2021-05-25 2021-08-03 浙江双元科技股份有限公司 Data acquisition processing circuit for Cameralink high-speed industrial camera
CN114235838A (en) * 2021-12-20 2022-03-25 苏州金万轮精密机械有限公司 A wearing and tearing check out test set for line guide rail processing
CN114923913A (en) * 2022-05-11 2022-08-19 深圳艾灵网络有限公司 Production defect detection system and method
CN116152237A (en) * 2023-04-18 2023-05-23 中铁四局集团有限公司 Method and system for detecting flaking and falling blocks of steel rail

Similar Documents

Publication Publication Date Title
CN106290379A (en) Rail surface defects based on Surface scan camera detection device and method
CN111951237B (en) Visual appearance detection method
CN102735695B (en) Rapid lens flaw detection method and apparatus thereof
CN109543587B (en) Method and system for detecting flow velocity of high-temperature molten fluid
CN106247969B (en) A kind of deformation detecting method of the industrial magnetic core element based on machine vision
CN107014819A (en) A kind of solar panel surface defects detection system and method
CN102663760B (en) Location and segmentation method for windshield area of vehicle in images
CN110211101A (en) A kind of rail surface defect rapid detection system and method
CN102842034B (en) A kind of laser scanning and the device and the recognition methods that automatically identify engraving character
CN105931246A (en) Fabric flaw detection method based on wavelet transformation and genetic algorithm
CN102175692A (en) System and method for detecting defects of fabric gray cloth quickly
CN112858321A (en) Steel plate surface defect detection system and method based on linear array CCD
CN113393426B (en) Steel rolling plate surface defect detection method
CN101510295B (en) Design method for machine vision system based on PCIe and Vision Assistan
CN111474179A (en) Lens surface cleanliness detection device and method
CN106780473A (en) A kind of magnet ring defect multi-vision visual detection method and system
CN113177924A (en) Industrial production line product flaw detection method
CN113947731A (en) Foreign matter identification method and system based on contact net safety inspection
CN114037682A (en) A two-dimensional automatic detection method for surface defects of optical components
CN109781737A (en) A detection method and detection system for surface defects of hoses
Fu et al. Research on image-based detection and recognition technologies for cracks on rail surface
CN105023018A (en) Jet code detection method and system
CN114120318B (en) Dark field image target point accurate extraction method based on integrated decision tree
CN113245222B (en) Visual real-time detection and sorting system and sorting method for foreign matters in panax notoginseng
CN110174063A (en) A kind of neutral pen ink height detecting system and detection method based on machine vision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104