[go: up one dir, main page]

CN114648520A - Method, system, electronic device and storage medium for detecting track defects - Google Patents

Method, system, electronic device and storage medium for detecting track defects Download PDF

Info

Publication number
CN114648520A
CN114648520A CN202210347851.8A CN202210347851A CN114648520A CN 114648520 A CN114648520 A CN 114648520A CN 202210347851 A CN202210347851 A CN 202210347851A CN 114648520 A CN114648520 A CN 114648520A
Authority
CN
China
Prior art keywords
image
track
processed
feature
defect
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.)
Granted
Application number
CN202210347851.8A
Other languages
Chinese (zh)
Other versions
CN114648520B (en
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.)
Shanghai Electric Group Corp
Original Assignee
Shanghai Electric Group Corp
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 Shanghai Electric Group Corp filed Critical Shanghai Electric Group Corp
Priority to CN202210347851.8A priority Critical patent/CN114648520B/en
Publication of CN114648520A publication Critical patent/CN114648520A/en
Application granted granted Critical
Publication of CN114648520B publication Critical patent/CN114648520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/10Image enhancement or restoration using non-spatial domain filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20032Median filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20048Transform domain processing
    • G06T2207/20056Discrete and fast Fourier transform, [DFT, FFT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种轨道缺陷的检测方法、系统、电子设备和存储介质,所述轨道缺陷的检测方法包括:对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算,以获得对应的若干特征图像;对所述若干特征图像进行加权融合,以获得加权融合特征图像;基于所述加权融合特征图像确定所述待处理轨道图像中的缺陷区域。本发明提供的轨道缺陷的检测方法通过对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算处理,并将获得的若干个特征图像进行加权融合,从而实现了结合视觉多特征融合的非监督机器视觉处理方法,能够对铁轨表面缺陷进行高效检测的同时,适用于多种尺度、形态的复杂缺陷的检测。

Figure 202210347851

The invention discloses a track defect detection method, system, electronic equipment and storage medium. The track defect detection method comprises: separately performing singular value decomposition, saliency detection and gradient amplitude calculation on the track image to be processed to obtain several corresponding feature images; performing weighted fusion on the several feature images to obtain a weighted fusion feature image; determining a defect area in the track image to be processed based on the weighted fusion feature image. The track defect detection method provided by the present invention performs singular value decomposition, saliency detection and gradient amplitude calculation processing on the track image to be processed, and weights and fuses several obtained feature images, thereby realizing the combination of visual multi-feature fusion. The unsupervised machine vision processing method can efficiently detect the surface defects of railway tracks, and at the same time, it is suitable for the detection of complex defects of various scales and shapes.

Figure 202210347851

Description

轨道缺陷的检测方法、系统、电子设备和存储介质Track defect detection method, system, electronic device and storage medium

技术领域technical field

本发明涉及轨道交通运维巡检技术领域,特别涉及一种轨道缺陷的检测方法、系统、电子设备和存储介质。The invention relates to the technical field of rail transit operation and maintenance inspection, in particular to a rail defect detection method, system, electronic device and storage medium.

背景技术Background technique

铁路建设的迅猛发展使得运输的总里程数逐年递增,然而,其在增强了客货运力的同时,也带来了高昂的巡线运维成本。其中,铁轨轨道因承受与车轮的不断高强度挤压和摩擦,以及雨雪风霜等自然因素的长期侵蚀,其表面会产生许多不同程度的凹坑缺陷,从而影响列车行驶的稳定性,造成行车安全隐患。因此,对铁轨表面缺陷进行定期检测十分必要。The rapid development of railway construction has made the total mileage of transportation increase year by year. However, while enhancing the passenger and freight capacity, it also brings high cost of patrol operation and maintenance. Among them, due to the continuous high-strength extrusion and friction with the wheels, as well as the long-term erosion of natural factors such as rain, snow, wind and frost, the surface of the rail track will have many pit defects of different degrees, which will affect the stability of the train and cause the running of the train. Security risks. Therefore, regular inspection of rail surface defects is necessary.

传统的铁轨表面缺陷检测主要依靠人工视觉巡道以排查程度较为严重的轨段,然而这种方式不仅效率低下、周期耗时长,并且容易出现人为的疏漏。与之相比,采用机器视觉技术来对扫描成像后的铁轨表面图像进行自动缺陷检测,能够大幅提升工作效率,缩短时间周期,并显著降低人工成本。The traditional rail surface defect detection mainly relies on artificial visual inspection to check the more serious rail sections. However, this method is not only inefficient and time-consuming, but also prone to human omissions. In contrast, using machine vision technology to perform automatic defect detection on the scanned rail surface images can greatly improve work efficiency, shorten time periods, and significantly reduce labor costs.

现有技术中所使用的轨道缺陷检测方法是,对轨道图像进行图像重构以获得其差分图像,并基于原图与重构图像的差分信息得到缺陷区域。然而,此种方法存在如下缺陷:(1)图像重构对所采用的重构算法模型选择及其参数十分敏感,重构图像质量非常容易受到背景杂波因素的干扰,对不同复杂成像背景的适应性较差;并且,(2)图像差分方法受背景噪声及纹理杂波的干扰较大,难以判断区别小型缺陷及背景杂波,容易引入虚警,造成误检。The track defect detection method used in the prior art is to perform image reconstruction on the track image to obtain the difference image thereof, and obtain the defect area based on the difference information between the original image and the reconstructed image. However, this method has the following defects: (1) The image reconstruction is very sensitive to the selection of the reconstruction algorithm model and its parameters, and the quality of the reconstructed image is very easily disturbed by the background clutter. The adaptability is poor; and (2) the image difference method is greatly interfered by background noise and texture clutter, and it is difficult to judge and distinguish small defects and background clutter, and it is easy to introduce false alarms and cause false detection.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题是为了克服现有技术中使用图像重构进行轨道缺陷检测时重构成像质量低、抗且容易产生误检的缺陷,提供一种轨道缺陷的检测方法、系统、电子设备和存储介质。The technical problem to be solved by the present invention is to provide a method, system and electronic device for detecting track defects in order to overcome the defects of low quality of reconstructed images, resistance to false detection and easy occurrence of false detections when using image reconstruction for track defect detection in the prior art. equipment and storage media.

本发明是通过下述技术方案来解决上述技术问题:The present invention solves the above-mentioned technical problems through the following technical solutions:

第一方面,本发明提供一种轨道缺陷的检测方法,所述轨道缺陷的检测方法包括:In a first aspect, the present invention provides a method for detecting a track defect, and the method for detecting a track defect includes:

对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算,以获得对应的若干特征图像;Perform singular value decomposition, saliency detection and gradient magnitude calculation on the track image to be processed to obtain several corresponding feature images;

对所述若干特征图像进行加权融合,以获得加权融合特征图像;performing weighted fusion on the several feature images to obtain weighted fusion feature images;

基于所述加权融合特征图像确定所述待处理轨道图像中的缺陷区域。Defect areas in the to-be-processed track image are determined based on the weighted fusion feature image.

较佳地,所述若干特征图像包括奇异像素对比增强特征图像;Preferably, the several feature images include singular pixel contrast-enhanced feature images;

所述奇异值分解的步骤,具体包括:The steps of the singular value decomposition specifically include:

计算所述待处理轨道图像中若干目标像素点与参考像素点的灰度值之间的差异,以获得奇异像素对比增强特征图像,其中,所述参考像素点与所述目标像素点之间的距离小于第一阈值;Calculate the difference between the grayscale values of several target pixels and reference pixels in the track image to be processed to obtain a singular pixel contrast enhancement feature image, wherein the difference between the reference pixel and the target pixel is The distance is less than the first threshold;

和/或,所述若干特征图像包括奇异行对比增强特征图像;And/or, the several feature images include singular line contrast-enhanced feature images;

所述奇异值分解的步骤,具体包括:The steps of the singular value decomposition specifically include:

计算所述待处理轨道图像中若干目标像素行与参考像素行的灰度值之间的差异,以获得奇异行对比增强特征图像,其中,所述参考像素行与所述目标像素行之间的距离小于第二阈值。Calculate the difference between the grayscale values of several target pixel rows and reference pixel rows in the track image to be processed to obtain a singular row contrast-enhanced feature image, wherein the difference between the reference pixel row and the target pixel row is The distance is less than the second threshold.

较佳地,所述若干特征图像包括视觉显著性特征图像;Preferably, the several feature images include visual saliency feature images;

所述显著性检测的步骤,具体包括:The steps of the significance detection specifically include:

对所述待处理轨道图像进行傅里叶变换和相谱计算,得到视觉显著图;Fourier transform and phase spectrum calculation are performed on the track image to be processed to obtain a visual saliency map;

对所述视觉显著图进行平滑滤波,得到视觉显著性特征图像。Smooth filtering is performed on the visual saliency map to obtain a visual saliency feature image.

较佳地,所述若干特征图像包括用于表征非边缘区域的概率分布图像;Preferably, the several feature images include probability distribution images used to characterize non-edge regions;

所述梯度幅值计算的步骤,具体包括:The steps of calculating the gradient amplitude specifically include:

计算所述待处理轨道图像中各个像素点的梯度幅值,以获得梯度幅值图像;Calculate the gradient magnitude of each pixel in the track image to be processed to obtain a gradient magnitude image;

对所述梯度幅值图像进行平滑滤波和取反操作,得到所述概率分布图像。Perform smooth filtering and inversion operations on the gradient magnitude image to obtain the probability distribution image.

较佳地,所述基于所述加权融合特征图像确定所述待处理轨道图像中的缺陷区域的步骤,包括:Preferably, the step of determining the defect area in the track image to be processed based on the weighted fusion feature image includes:

对所述加权融合特征图像进行自适应阈值分割,得到二值图像;Perform adaptive threshold segmentation on the weighted fusion feature image to obtain a binary image;

对所述二值图像进行数学形态学开运算,以确定所述缺陷区域。A mathematical morphological opening operation is performed on the binary image to determine the defect area.

较佳地,所述方法还包括:Preferably, the method also includes:

获取初始轨道图像;Get the initial orbit image;

对所述初始轨道图像进行滤波处理,以获得所述待处理轨道图像。Filter processing is performed on the initial track image to obtain the track image to be processed.

较佳地,所述滤波处理包括L0梯度最小化滤波和中值滤波。Preferably, the filtering process includes L 0 gradient minimization filtering and median filtering.

第二方面,本发明提供一种轨道缺陷的检测系统,所述轨道缺陷的检测系统包括:In a second aspect, the present invention provides a system for detecting track defects, the system for detecting track defects includes:

图像处理模块,用于对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算,以获得对应的若干特征图像;The image processing module is used to separately perform singular value decomposition, saliency detection and gradient magnitude calculation on the track image to be processed to obtain several corresponding feature images;

特征融合模块,用于对所述若干特征图像进行加权融合,以获得加权融合特征图像;a feature fusion module, for performing weighted fusion on the several feature images to obtain a weighted fusion feature image;

缺陷检测模块,用于基于所述加权融合特征图像确定所述待处理轨道图像中的缺陷区域。A defect detection module, configured to determine a defect area in the track image to be processed based on the weighted fusion feature image.

第三方面,本发明提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的轨道缺陷的检测方法。In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implements the above-mentioned track defect when executing the computer program detection method.

第四方面,本发明提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的轨道缺陷的检测方法。In a fourth aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method for detecting a track defect.

本发明的积极进步效果在于:本发明提供的轨道缺陷的检测方法通过对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算处理,并将获得的若干个特征图像进行加权融合,从而实现了结合视觉多特征融合的非监督机器视觉处理方法,能够对铁轨表面缺陷进行高效检测的同时,有效克服了负载环境下轨道图像中的背景杂波干扰,对环境适应性强,检测效果稳定,适用于多种尺度、形态的复杂轨道缺陷检测;并且其在实际应用时无需采集样本进行训练,具有较强的适用性和较低的应用成本。The positive improvement effect of the present invention is that: the track defect detection method provided by the present invention performs singular value decomposition, saliency detection and gradient amplitude calculation processing on the track image to be processed, and performs weighted fusion of several obtained feature images, In this way, an unsupervised machine vision processing method combined with visual multi-feature fusion is realized, which can efficiently detect the surface defects of railway tracks, and at the same time effectively overcome the background clutter interference in the track image under the load environment, and has strong adaptability to the environment and detection effect. It is stable and suitable for complex track defect detection of various scales and forms; and it does not need to collect samples for training in practical applications, and has strong applicability and low application costs.

附图说明Description of drawings

图1为本发明实施例1的轨道缺陷的检测方法的第一流程示意图。FIG. 1 is a first schematic flowchart of a method for detecting a track defect according to Embodiment 1 of the present invention.

图2为本发明实施例1的扫描输入的初始轨道图像。FIG. 2 is an initial track image scanned in according to Embodiment 1 of the present invention.

图3为本发明实施例1的轨道缺陷的检测方法的部分流程示意图。FIG. 3 is a partial schematic flowchart of the method for detecting track defects according to Embodiment 1 of the present invention.

图4为本发明实施例1的经过滤波处理的待处理轨道图像。FIG. 4 is a filtered track image to be processed according to Embodiment 1 of the present invention.

图5为本发明实施例1的轨道缺陷的检测方法步骤S1中的奇异值分解的第一流程示意图。FIG. 5 is a first schematic flowchart of singular value decomposition in step S1 of the track defect detection method according to Embodiment 1 of the present invention.

图6为本发明实施例1的经过奇异值分解获得的奇异像素对比增强特征图像。FIG. 6 is a contrast-enhanced feature image of singular pixels obtained through singular value decomposition according to Embodiment 1 of the present invention.

图7为本发明实施例1的轨道缺陷的检测方法步骤S1中的奇异值分解的第二流程示意图。FIG. 7 is a second schematic flowchart of singular value decomposition in step S1 of the method for detecting a track defect according to Embodiment 1 of the present invention.

图8为本发明实施例1的经过奇异值分解获得的奇异行对比增强特征图像。FIG. 8 is a singular line contrast-enhanced feature image obtained by singular value decomposition according to Embodiment 1 of the present invention.

图9为本发明实施例1的轨道缺陷的检测方法步骤S1中的显著性检测的流程示意图。FIG. 9 is a schematic flowchart of the significance detection in step S1 of the track defect detection method according to Embodiment 1 of the present invention.

图10为本发明实施例1的经过显著性检测获得的视觉显著性特征图像。FIG. 10 is a visual saliency feature image obtained through saliency detection according to Embodiment 1 of the present invention.

图11为本发明实施例1的轨道缺陷的检测方法步骤S1中的梯度幅值计算的流程示意图。FIG. 11 is a schematic flowchart of gradient amplitude calculation in step S1 of the method for detecting track defects according to Embodiment 1 of the present invention.

图12为本发明实施例1的经过梯度幅值计算获得的非边缘区域的概率分布图像。FIG. 12 is a probability distribution image of a non-edge region obtained through gradient magnitude calculation according to Embodiment 1 of the present invention.

图13为本发明实施例1的经过加权特征融合获得的多特征加权融合特征图像。FIG. 13 is a multi-feature weighted fusion feature image obtained by weighted feature fusion according to Embodiment 1 of the present invention.

图14为本发明实施例1的轨道缺陷的检测方法步骤S3的子步骤流程示意图。FIG. 14 is a schematic flowchart of sub-steps of step S3 of the track defect detection method according to Embodiment 1 of the present invention.

图15为本发明实施例1的经过阈值分割及形态学处理后获得的缺陷区域示意图。FIG. 15 is a schematic diagram of a defect area obtained after threshold segmentation and morphological processing according to Embodiment 1 of the present invention.

图16为本发明实施例2的轨道缺陷的检测系统的模块示意图。FIG. 16 is a schematic block diagram of a track defect detection system according to Embodiment 2 of the present invention.

图17为本发明实施例3的用于实现轨道缺陷的检测方法的电子设备的结构示意图。FIG. 17 is a schematic structural diagram of an electronic device for implementing a method for detecting track defects according to Embodiment 3 of the present invention.

具体实施方式Detailed ways

下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。The present invention is further described below by way of examples, but the present invention is not limited to the scope of the described examples.

实施例1Example 1

本实施例公开了一种轨道缺陷的检测方法,其基于计算机视觉的多种特征融合处理,能够有效针对轨道表面的扫描图像进行检测,以确定出铁轨表面的缺陷区域。The present embodiment discloses a method for detecting rail defects, which is based on the fusion processing of various features of computer vision, and can effectively detect the scanned image of the rail surface to determine the defect area on the rail surface.

具体地,如图1所示,该轨道缺陷的检测方法包括:Specifically, as shown in Figure 1, the detection method of the track defect includes:

S1、对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算,以获得对应的若干特征图像;S1. Perform singular value decomposition, saliency detection and gradient magnitude calculation on the track image to be processed, respectively, to obtain several corresponding feature images;

S2、对若干特征图像进行加权融合,以获得加权融合特征图像;S2, weighted fusion of several feature images to obtain weighted fusion feature images;

S3、基于加权融合特征图像确定待处理轨道图像中的缺陷区域。S3. Determine the defect area in the track image to be processed based on the weighted fusion feature image.

通常情况下,输入的扫描初始轨道图像I如图2所示,其中包括较多的干扰因素,若直接进行处理,则会严重降低最终检测结果的准确性,因此,作为一种优选的实施方式,如图3所示,上述方法还包括:Usually, the input scanning initial track image I is shown in Figure 2, which includes many interference factors. If it is directly processed, it will seriously reduce the accuracy of the final detection result. Therefore, as a preferred embodiment , as shown in Figure 3, the above method also includes:

S101、获取初始轨道图像I;S101, obtain initial orbit image I;

S102、对初始轨道图像I进行滤波处理,以获得待处理轨道图像I0S102. Perform filtering processing on the initial track image I to obtain the track image I 0 to be processed.

优选地,依次采用L0梯度最小化滤波和中值滤波进行图像预处理,以消除背景杂波和噪声干扰,从而获得如图4所示的待处理轨道图像I0Preferably, L 0 gradient minimization filtering and median filtering are used in sequence to perform image preprocessing to eliminate background clutter and noise interference, thereby obtaining the track image I 0 to be processed as shown in FIG. 4 .

具体地,先对直接获得的输入扫描图像I进行L0梯度最小化滤波,得到滤波后的图像S,再对图像S采用wm×hm窗口尺度中值滤波,以得到待处理轨道图像I0,其中,wm表示中值滤波器的窗口宽度,hm表示中值滤波器的窗口高度。Specifically, the directly obtained input scan image I is firstly subjected to L 0 gradient minimization filtering to obtain a filtered image S, and then the image S is filtered with a window scale of w m × h m to obtain the track image I to be processed. 0 , where w m represents the window width of the median filter and h m represents the window height of the median filter.

其中,L0梯度最小化滤波的计算方式为:对于图像中某像素点p,Ip和Sp分别表示图像I和图像S在p点的像素值,梯度

Figure BDA0003577677810000061
计算该点与其相邻像素在x轴和y轴方向的灰度差异,定义梯度测度表达式为Among them, the calculation method of L 0 gradient minimization filter is: for a certain pixel p in the image, I p and S p represent the pixel values of image I and image S at point p, respectively, and the gradient
Figure BDA0003577677810000061
Calculate the grayscale difference between the point and its adjacent pixels in the x-axis and y-axis directions, and define the gradient measure expression as

Figure BDA0003577677810000062
Figure BDA0003577677810000062

则L0梯度最小化滤波的目标函数表达式为Then the objective function expression of L 0 gradient minimization filter is:

Figure BDA0003577677810000063
Figure BDA0003577677810000063

其中,

Figure BDA0003577677810000064
表示对X方向计算偏导,
Figure BDA0003577677810000065
表示对Y方向计算偏导,#{·}表示获取满足条件的像素点的数量,λ表示权重系数。in,
Figure BDA0003577677810000064
Indicates that the partial derivative is calculated in the X direction,
Figure BDA0003577677810000065
Indicates that the partial derivative is calculated in the Y direction, #{·} indicates the number of pixels that satisfy the condition, and λ indicates the weight coefficient.

在本实施例中,权重系数λ的取值为0.05,中值滤波窗口尺度的取值为3×8。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对权重系数λ和中值滤波窗口尺度做任意取值。In this embodiment, the value of the weight coefficient λ is 0.05, and the value of the median filter window scale is 3×8. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the weight coefficient λ and the median filter window scale can be arbitrarily selected according to actual needs.

在本实施例中,待处理轨道图像I0分别包括a、b、c三种不同的轨道缺陷。其中,将平行于轨道的方向作为待处理轨道图像I0的X方向、将垂直于轨道的方向作为待处理轨道图像I0的Y方向。In this embodiment, the track image I 0 to be processed includes three different track defects a, b, and c, respectively. The direction parallel to the track is taken as the X direction of the track image I 0 to be processed, and the direction perpendicular to the track is taken as the Y direction of the track image I 0 to be processed.

对于步骤S1,分别对待处理轨道图像I0进行奇异值分解、显著性检测以及梯度幅值计算后,能够获得对应的若干特征图像I1、I2、I3……InFor step S1, after performing singular value decomposition, saliency detection and gradient magnitude calculation on the track image I 0 to be processed respectively, several corresponding feature images I 1 , I 2 , I 3 . . . In can be obtained.

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括奇异像素对比增强特征图像I1In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include singular pixel contrast - enhanced feature images I 1 ;

步骤S1,如图5所示,具体包括:Step S1, as shown in Figure 5, specifically includes:

S11、计算待处理轨道图像I0中若干目标像素点与参考像素点的灰度值之间的差异,以获得奇异像素对比增强特征图像I1,其中,参考像素点与目标像素点之间的距离小于第一阈值。S11. Calculate the difference between the grayscale values of several target pixels in the track image I 0 to be processed and the reference pixels to obtain the singular pixel contrast enhancement feature image I 1 , wherein the difference between the reference pixel and the target pixel is The distance is less than the first threshold.

步骤S11包括统计计算各目标像素点与其所在局部区域内X方向的参考像素点的灰度值之间的差异,以获得待处理轨道图像I0的奇异像素对比增强特征图像I1(如图6所示)。其中,局部区域由与目标像素点距离不超过第一阈值的参考像素点的位置确定,其具体范围可以根据需要进行任意设置。Step S11 includes statistical calculation of the difference between each target pixel point and the gray value of the reference pixel point in the X direction in the local area where it is located, so as to obtain the singular pixel contrast enhancement feature image I1 of the track image I0 to be processed (as shown in Figure 6 ). shown). Wherein, the local area is determined by the position of the reference pixel point whose distance from the target pixel point does not exceed the first threshold, and its specific range can be arbitrarily set as required.

具体地,奇异像素对比增强特征图像I1的计算方法为:设待处理轨道图像I0中像素点p的坐标和灰度值分别为(xp,yp)和

Figure BDA0003577677810000071
则奇异像素对比增强特征图像I1中对应像素点p的灰度值为Specifically, the calculation method of the singular pixel contrast-enhanced feature image I 1 is: set the coordinates and grayscale values of the pixel p in the track image I 0 to be processed as (x p , y p ) and
Figure BDA0003577677810000071
Then the gray value of the corresponding pixel p in the singular pixel contrast enhancement feature image I 1 is

Figure BDA0003577677810000072
Figure BDA0003577677810000072

其中,Δ为表征第一阈值的正整数,在本实施例中,Δ取待处理轨道图像I0X方向长度的0.1倍整数值。需要说明的是,此处的Δ取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对Δ做任意正整数取值。Wherein, Δ is a positive integer representing the first threshold, and in this embodiment, Δ takes an integer value of 0.1 times the length of the track image to be processed in the I 0 X direction. It should be noted that the value of Δ here is only used for illustration, and is not limited to this. In the specific implementation process, Δ can be any positive integer value according to actual needs.

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括奇异行对比增强特征图像I2In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include a singular line contrast - enhanced feature image I 2 ;

步骤S1,如图7所示,具体包括:Step S1, as shown in Figure 7, specifically includes:

S12、计算待处理轨道图像I0中若干目标像素行与参考像素行的灰度值之间的差异,以获得奇异行对比增强特征图像I2,其中,参考像素行与目标像素行之间的距离小于第二阈值。S12. Calculate the difference between the grayscale values of several target pixel rows and the reference pixel row in the track image I 0 to be processed, to obtain the singular row contrast-enhanced feature image I 2 , wherein the difference between the reference pixel row and the target pixel row is The distance is less than the second threshold.

步骤S12包括统计计算X方向上各目标像素行与其所在局部区域内X方向的参考像素行的灰度值之间的差异,以获得待处理轨道图像I0的奇异像素行对比增强特征图像I2(如图8所示)。其中,局部区域由与目标像素行距离不超过第二阈值的参考像素行的位置确定,其具体范围可以根据需要进行任意设置。Step S12 includes statistically calculating the difference between the grayscale values of each target pixel row in the X direction and the reference pixel row in the X direction in the local area where it is located, so as to obtain the singular pixel row contrast enhancement feature image I2 of the track image I0 to be processed. (as shown in Figure 8). The local area is determined by the position of the reference pixel row whose distance from the target pixel row does not exceed the second threshold, and its specific range can be arbitrarily set as required.

具体地,奇异像素行对比增强特征图像I2的计算方法为:设待处理轨道图像I0中目标像素行x的所有灰度值构成特征向量fx∈RY,则奇异像素行对比增强特征图像I2中对应目标像素行x的各像素点的灰度值为Specifically, the calculation method of the singular pixel row contrast enhancement feature image I 2 is: assuming that all gray values of the target pixel row x in the track image I 0 to be processed constitute a feature vector f x ∈ R Y , then the singular pixel row contrast enhancement feature The grayscale value of each pixel point corresponding to the target pixel row x in the image I 2 is

Figure BDA0003577677810000081
Figure BDA0003577677810000081

其中,Δ为表征第二阈值的正整数,在本实施例中,Δ取待处理轨道图像I0X方向长度的0.1倍整数值。需要说明的是,此处的Δ取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对Δ做任意正整数取值。Wherein, Δ is a positive integer representing the second threshold. In this embodiment, Δ takes an integer value of 0.1 times the length of the track image to be processed in the I 0 X direction. It should be noted that the value of Δ here is only used for illustration, and is not limited to this. In the specific implementation process, Δ can be any positive integer value according to actual needs.

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括视觉显著性特征图像I3In a preferred embodiment, the above - mentioned several feature images I 1 , I 2 , I 3 . . . In include a visually significant feature image I 3 ;

步骤S1,如图9所示,具体包括:Step S1, as shown in Figure 9, specifically includes:

S131、对待处理轨道图像I0进行傅里叶变换和相谱计算,得到视觉显著图;S131, performing Fourier transform and phase spectrum calculation on the track image I 0 to be processed to obtain a visual saliency map;

S132、对视觉显著图进行平滑滤波,得到视觉显著性特征图像I3S132. Perform smooth filtering on the visual saliency map to obtain a visual saliency feature image I 3 .

图10示出了上述视觉显著性特征图像I3,其中,视觉显著性特征图像I3的具体计算方法为:首先对待处理轨道图像I0提取傅里叶相谱FIG. 10 shows the above-mentioned visual saliency feature image I 3 , wherein the specific calculation method of the visual saliency feature image I 3 is: first, extract the Fourier phase spectrum of the track image I 0 to be processed

P=P{F(I0)}P=P{F(I 0 )}

其中,F(·)表示傅里叶变换,P(·)表示相谱计算。Among them, F(·) represents the Fourier transform, and P(·) represents the phase spectrum calculation.

然后,根据相谱P进行傅里叶反变换,以获得视觉显著图Then, the inverse Fourier transform is performed according to the phase spectrum P to obtain the visual saliency map

SF=||F-1(ei·P)||2 SF=||F -1 (e i·P )|| 2

其中,F-1(·)表示傅里叶变换。Here, F -1 (·) represents the Fourier transform.

最后,对视觉显著图SF采用高斯平滑滤波,以得到视觉显著性特征图像I3Finally, a Gaussian smoothing filter is applied to the visual saliency map SF to obtain a visual saliency feature image I 3 .

在本实施例中,高斯平滑滤波器窗口大小为待处理轨道图像I0Y方向长度的0.2倍整数值,高斯核σ取滤波窗口大小的0.25倍数值。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对高斯平滑滤波器窗口大小和高斯核σ做任意取值。In this embodiment, the window size of the Gaussian smoothing filter is an integer value of 0.2 times the length of the track image to be processed in the I 0 Y direction, and the Gaussian kernel σ takes a value of 0.25 times the size of the filter window. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the window size of the Gaussian smoothing filter and the Gaussian kernel σ can be arbitrarily selected according to actual needs.

在一种优选的实施方式中,上述若干特征图像I1、I2、I3……In包括用于表征非边缘区域的概率分布图像I4In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include a probability distribution image I 4 for characterizing non - edge regions;

步骤S1,如图11所示,具体包括:Step S1, as shown in Figure 11, specifically includes:

S141、计算待处理轨道图像I0中各个像素点的梯度幅值,以获得梯度幅值图像;S141, calculate the gradient magnitude of each pixel in the track image I 0 to be processed to obtain a gradient magnitude image;

S142、对梯度幅值图像进行平滑滤波和取反操作,得到概率分布图像I4S142. Perform smooth filtering and inversion operations on the gradient magnitude image to obtain a probability distribution image I 4 .

图12示出了上述概率分布图像I4,其中,概率分布图像I4的具体计算方法为:首先计算待处理轨道图像I0中各像素点的梯度幅值,以获得待处理轨道图像I0对应的梯度幅值图像,然后对该梯度幅值图像进行高斯平滑滤波,最后再采用取反操作,得到表征非边缘区域的概率分布图像I4FIG. 12 shows the above probability distribution image I 4 , wherein the specific calculation method of the probability distribution image I 4 is as follows: first, the gradient magnitude of each pixel in the track image I 0 to be processed is calculated to obtain the track image I 0 to be processed. The corresponding gradient magnitude image is then subjected to Gaussian smoothing filtering, and finally the inversion operation is used to obtain the probability distribution image I 4 representing the non-edge region.

在本实施例中,高斯平滑滤波器窗口大小为5×10,高斯核σ=3.0。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对高斯平滑滤波器窗口大小和高斯核σ做任意取值。In this embodiment, the window size of the Gaussian smoothing filter is 5×10, and the Gaussian kernel σ=3.0. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the window size of the Gaussian smoothing filter and the Gaussian kernel σ can be arbitrarily selected according to actual needs.

对于步骤S2,对上述获得的奇异像素对比增强特征图像I1、奇异行对比增强特征图像I2、视觉显著性特征图像I3和非边缘概率分布图像I4采用几何加权计算方法,以得到多特征加权融合特征图像If,如图13所示。For step S2, the geometric weighting calculation method is used for the singular pixel contrast enhancement feature image I 1 , the singular line contrast enhancement feature image I 2 , the visual saliency feature image I 3 and the non-edge probability distribution image I 4 obtained above to obtain multiple Feature weighted fusion feature image If, as shown in Figure 13.

具体地,多特征加权融合特征图像If的计算表达式为Specifically, the calculation expression of the multi-feature weighted fusion feature image If is:

Figure BDA0003577677810000091
Figure BDA0003577677810000091

其中,N(·)表示数值归一化,α1、α2、α3、α4分别表示各个特征图像所对应的几何权重。Among them, N(·) represents numerical normalization, and α 1 , α 2 , α 3 , and α 4 respectively represent the geometric weights corresponding to each feature image.

在本实施例中,权重α1、α2、α3、α4的取值分别为1.1、1.0、0.9和1.0。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对每一特征图像对应的几何权重进行任意取值。In this embodiment, the values of the weights α 1 , α 2 , α 3 , and α 4 are 1.1, 1.0, 0.9, and 1.0, respectively. It should be noted that the above values are only used for illustration, and are not limited thereto. In the specific implementation process, the geometric weight corresponding to each feature image can be arbitrarily selected according to actual needs.

对于步骤S3,在一种优选的实施方式中,如图14所示,其包括:For step S3, in a preferred embodiment, as shown in Figure 14, it includes:

S31、对加权融合特征图像If进行自适应阈值分割,得到二值图像;S31, perform adaptive threshold segmentation on the weighted fusion feature image I f to obtain a binary image;

S32、对二值图像进行数学形态学开运算,以确定缺陷区域。S32, perform mathematical morphological opening operation on the binary image to determine the defect area.

具体地,自适应阈值表达式为Specifically, the adaptive threshold expression is

T(If)=mean(If)+k·std(If)T(I f )=mean(I f )+k·std(I f )

其中,mean(·)表示取像素灰度的均值,std(·)表示取像素灰度的标准差,k为标准差权重系数,通常取值范围为3.0~5.0。Among them, mean( ) represents the mean value of the pixel grayscale, std( ) represents the standard deviation of the pixel grayscale, and k is the standard deviation weight coefficient, which usually ranges from 3.0 to 5.0.

经过阈值分割及形态学处理后的图像效果如图15所示,其中白色区域即为最终确定出的缺陷区域。The image effect after threshold segmentation and morphological processing is shown in Figure 15, where the white area is the final determined defect area.

在本实施例中,k的取值为4.0,且二值分割后的数学形态学开运算中,首先采用4×4尺度圆形模板进行腐蚀操作,再采用7×7尺度圆形模板进行膨胀操作。In this embodiment, the value of k is 4.0, and in the mathematical morphology opening operation after binary segmentation, a 4×4 scale circular template is used for the erosion operation, and then a 7×7 scale circular template is used for expansion operate.

需要说明的是,本发明所提供的轨道缺陷的检测方法经实验验证,对铁轨表面缺陷的检测正确率较高。在性能实验中,通过对含多种不同形态、尺度和外观缺陷共326处的195张铁轨表面扫描图像数据进行测试,结果共检测出缺陷338处,其中真实缺陷309处,误检29处,故检测准确率为91.4%,检测查全率未94.8%。It should be noted that the detection method for rail defects provided by the present invention has been verified by experiments, and the detection accuracy of the surface defects of the rail is relatively high. In the performance experiment, by testing 195 pieces of rail surface scanning image data with a total of 326 defects in various shapes, sizes and appearances, a total of 338 defects were detected, including 309 real defects and 29 false detections. Therefore, the detection accuracy rate is 91.4%, and the detection recall rate is less than 94.8%.

因此,本发明提供的轨道缺陷的检测方法通过对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算处理,并将获得的若干个特征图像进行加权融合,从而实现了结合视觉多特征融合的非监督机器视觉处理方法,能够对铁轨表面缺陷进行高效检测的同时,有效克服了负载环境下轨道图像中的背景杂波干扰,对环境适应性强,检测效果稳定,适用于多种尺度、形态的复杂轨道缺陷检测;并且其在实际应用时无需采集样本进行训练,具有较强的适用性和较低的应用成本。Therefore, the track defect detection method provided by the present invention performs singular value decomposition, saliency detection and gradient amplitude calculation processing on the track image to be processed, and weights and fuses several obtained feature images, thereby realizing the combination of visual multiple The unsupervised machine vision processing method of feature fusion can efficiently detect the surface defects of railway tracks, and at the same time effectively overcome the background clutter interference in the track image under the load environment, has strong adaptability to the environment, stable detection effect, and is suitable for a variety of It can detect complex track defects of scale and shape; and it does not need to collect samples for training in practical application, and has strong applicability and low application cost.

实施例2Example 2

本实施例公开了一种轨道缺陷的检测系统,其基于计算机视觉的多种特征融合处理,能够有效针对轨道表面的扫描图像进行检测,以确定出铁轨表面的缺陷区域。This embodiment discloses a track defect detection system, which is based on computer vision-based multi-feature fusion processing, and can effectively detect the scanned image of the track surface to determine the defect area on the track surface.

具体地,如图16所示,该轨道缺陷的检测系统包括:Specifically, as shown in Figure 16, the detection system for the track defect includes:

图像处理模块1,用于对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算,以获得对应的若干特征图像;The image processing module 1 is used to separately perform singular value decomposition, saliency detection and gradient magnitude calculation on the track image to be processed, so as to obtain several corresponding feature images;

特征融合模块2,用于对若干特征图像进行加权融合,以获得加权融合特征图像;Feature fusion module 2, used for weighted fusion of several feature images to obtain weighted fusion feature images;

缺陷检测模块3,用于基于加权融合特征图像确定待处理轨道图像中的缺陷区域。The defect detection module 3 is used to determine the defect area in the track image to be processed based on the weighted fusion feature image.

通常情况下,输入的扫描初始轨道图像I如图2所示,其中包括较多的干扰因素,若直接进行处理,则会严重降低最终检测结果的准确性,因此,作为一种优选的实施方式,如图3所示,上述系统还包括预处理模块4,用于:Usually, the input scanning initial track image I is shown in Figure 2, which includes many interference factors. If it is directly processed, it will seriously reduce the accuracy of the final detection result. Therefore, as a preferred embodiment , as shown in Figure 3, the above system also includes a preprocessing module 4 for:

获取初始轨道图像I;Get the initial orbit image I;

对初始轨道图像I进行滤波处理,以获得待处理轨道图像I0The initial track image I is filtered to obtain the track image I 0 to be processed.

优选地,预处理模块4依次采用L0梯度最小化滤波和中值滤波进行图像预处理,以消除背景杂波和噪声干扰,从而获得如图4所示的待处理轨道图像I0Preferably, the preprocessing module 4 sequentially uses L 0 gradient minimization filtering and median filtering to perform image preprocessing to eliminate background clutter and noise interference, thereby obtaining the track image I 0 to be processed as shown in FIG. 4 .

具体地,预处理模块4先对直接获得的输入扫描图像I进行L0梯度最小化滤波,得到滤波后的图像S,再对图像S采用wm×hm窗口尺度中值滤波,以得到待处理轨道图像I0,其中,wm表示中值滤波器的窗口宽度,hm表示中值滤波器的窗口高度。Specifically, the preprocessing module 4 first performs L 0 gradient minimization filtering on the directly obtained input scan image I to obtain a filtered image S, and then applies w m × h m window scale median filtering to the image S to obtain the Process the track image I 0 , where w m represents the window width of the median filter and h m represents the window height of the median filter.

其中,L0梯度最小化滤波的计算方式为:对于图像中某像素点p,Ip和Sp分别表示图像I和图像S在p点的像素值,梯度

Figure BDA0003577677810000111
表示该点与其相邻像素在x轴和y轴方向的灰度差异,定义梯度测度表达式为Among them, the calculation method of L 0 gradient minimization filter is: for a certain pixel p in the image, I p and S p represent the pixel values of image I and image S at point p, respectively, and the gradient
Figure BDA0003577677810000111
Represents the grayscale difference between the point and its adjacent pixels in the x-axis and y-axis directions, and the gradient measure expression is defined as

Figure BDA0003577677810000112
Figure BDA0003577677810000112

则L0梯度最小化滤波的目标函数表达式为Then the objective function expression of L 0 gradient minimization filter is:

Figure BDA0003577677810000113
Figure BDA0003577677810000113

其中,

Figure BDA0003577677810000114
表示对X方向计算偏导,
Figure BDA0003577677810000115
表示对Y方向计算偏导,#{·}表示获取满足条件的像素点的数量,λ表示权重系数。in,
Figure BDA0003577677810000114
Indicates that the partial derivative is calculated in the X direction,
Figure BDA0003577677810000115
Indicates that the partial derivative is calculated in the Y direction, #{·} indicates the number of pixels that satisfy the condition, and λ indicates the weight coefficient.

在本实施例中,权重系数λ的取值为0.05,中值滤波窗口尺度的取值为3×8。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对权重系数λ和中值滤波窗口尺度做任意取值。In this embodiment, the value of the weight coefficient λ is 0.05, and the value of the median filter window scale is 3×8. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the weight coefficient λ and the median filter window scale can be arbitrarily selected according to actual needs.

在本实施例中,待处理轨道图像I0分别包括a、b、c三种不同的轨道缺陷。其中,将平行于轨道的方向作为待处理轨道图像I0的X方向、将垂直于轨道的方向作为待处理轨道图像I0的Y方向。In this embodiment, the track image I 0 to be processed includes three different track defects a, b, and c, respectively. The direction parallel to the track is taken as the X direction of the track image I 0 to be processed, and the direction perpendicular to the track is taken as the Y direction of the track image I 0 to be processed.

图像处理模块1分别对待处理轨道图像I0进行奇异值分解、显著性检测以及梯度幅值计算后,能够获得对应的若干特征图像I1、I2、I3……InThe image processing module 1 can obtain several corresponding feature images I 1 , I 2 , I 3 .

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括奇异像素对比增强特征图像I1In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include singular pixel contrast - enhanced feature images I 1 ;

图像处理模块1具体用于:The image processing module 1 is specifically used for:

计算待处理轨道图像I0中若干目标像素点与参考像素点的灰度值之间的差异,以获得奇异像素对比增强特征图像I1,其中,参考像素点与目标像素点之间的距离小于第一阈值。Calculate the difference between the gray values of several target pixels and reference pixels in the track image I 0 to be processed to obtain the singular pixel contrast enhancement feature image I 1 , wherein the distance between the reference pixel and the target pixel is less than first threshold.

具体地,统计计算各目标像素点与其所在局部区域内X方向的参考像素点的灰度值之间的差异,以获得待处理轨道图像I0的奇异像素对比增强特征图像I1(如图6所示)。其中,局部区域由与目标像素点距离不超过第一阈值的参考像素点的位置确定,其具体范围可以根据需要进行任意设置。Specifically, the difference between each target pixel point and the gray value of the reference pixel point in the X direction in the local area where it is located is statistically calculated to obtain the singular pixel contrast enhancement feature image I 1 of the track image I 0 to be processed (as shown in Figure 6 ). shown). Wherein, the local area is determined by the position of the reference pixel point whose distance from the target pixel point does not exceed the first threshold, and its specific range can be arbitrarily set as required.

具体地,奇异像素对比增强特征图像I1的计算方法为:设待处理轨道图像I0中像素点p的坐标和灰度值分别为(xp,yp)和

Figure BDA0003577677810000121
则奇异像素对比增强特征图像I1中对应像素点p的灰度值为Specifically, the calculation method of the singular pixel contrast-enhanced feature image I 1 is: set the coordinates and grayscale values of the pixel p in the track image I 0 to be processed as (x p , y p ) and
Figure BDA0003577677810000121
Then the gray value of the corresponding pixel p in the singular pixel contrast enhancement feature image I 1 is

Figure BDA0003577677810000122
Figure BDA0003577677810000122

其中,Δ为表征第一阈值的正整数,在本实施例中,Δ取待处理轨道图像I0X方向长度的0.1倍整数值。需要说明的是,此处的Δ取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对Δ做任意正整数取值。Wherein, Δ is a positive integer representing the first threshold, and in this embodiment, Δ takes an integer value of 0.1 times the length of the track image to be processed in the I 0 X direction. It should be noted that the value of Δ here is only used for illustration, and is not limited to this. In the specific implementation process, Δ can be any positive integer value according to actual needs.

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括奇异行对比增强特征图像I2In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include a singular line contrast - enhanced feature image I 2 ;

图像处理模块1具体用于:The image processing module 1 is specifically used for:

计算待处理轨道图像I0中若干目标像素行与参考像素行的灰度值之间的差异,以获得奇异行对比增强特征图像I2,其中,参考像素行与目标像素行之间的距离小于第二阈值。Calculate the difference between the grayscale values of several target pixel rows and the reference pixel row in the track image I 0 to be processed to obtain the singular row contrast-enhanced feature image I 2 , wherein the distance between the reference pixel row and the target pixel row is less than second threshold.

具体地,统计计算X方向上各目标像素行与其所在局部区域内X方向的参考像素行的灰度值之间的差异,以获得待处理轨道图像I0的奇异像素行对比增强特征图像I2(如图8所示)。其中,局部区域由与目标像素行距离不超过第二阈值的参考像素行的位置确定,其具体范围可以根据需要进行任意设置。Specifically, the difference between the grayscale values of each target pixel row in the X direction and the reference pixel row in the X direction in the local area where it is located is calculated statistically to obtain the singular pixel row contrast enhancement feature image I2 of the track image I0 to be processed. (as shown in Figure 8). The local area is determined by the position of the reference pixel row whose distance from the target pixel row does not exceed the second threshold, and its specific range can be arbitrarily set as required.

具体地,奇异像素行对比增强特征图像I2的计算方法为:设待处理轨道图像I0中目标像素行x的所有灰度值构成特征向量fx∈RY,则奇异像素行对比增强特征图像I2中对应目标像素行x的各像素点的灰度值为Specifically, the calculation method of the singular pixel row contrast enhancement feature image I 2 is: assuming that all gray values of the target pixel row x in the track image I 0 to be processed constitute a feature vector f x ∈ R Y , then the singular pixel row contrast enhancement feature The grayscale value of each pixel point corresponding to the target pixel row x in the image I 2 is

Figure BDA0003577677810000131
Figure BDA0003577677810000131

其中,Δ为表征第二阈值的正整数,在本实施例中,Δ取待处理轨道图像I0X方向长度的0.1倍整数值。需要说明的是,此处的Δ取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对Δ做任意正整数取值。Wherein, Δ is a positive integer representing the second threshold. In this embodiment, Δ takes an integer value of 0.1 times the length of the track image to be processed in the I 0 X direction. It should be noted that the value of Δ here is only used for illustration, and is not limited to this. In the specific implementation process, Δ can be any positive integer value according to actual needs.

在一种优选实施方式中,上述若干特征图像I1、I2、I3……In包括视觉显著性特征图像I3In a preferred embodiment, the above - mentioned several feature images I 1 , I 2 , I 3 . . . In include a visually significant feature image I 3 ;

图像处理模块1具体用于:The image processing module 1 is specifically used for:

对待处理轨道图像I0进行傅里叶变换和相谱计算,得到视觉显著图;Perform Fourier transform and phase spectrum calculation on the track image I 0 to be processed to obtain a visual saliency map;

对视觉显著图进行平滑滤波,得到视觉显著性特征图像I3The visual saliency map is smoothed and filtered to obtain the visual saliency feature image I 3 .

图10示出了上述视觉显著性特征图像I3,其中,视觉显著性特征图像I3的具体计算方法为:首先对待处理轨道图像I0提取傅里叶相谱FIG. 10 shows the above-mentioned visual saliency feature image I 3 , wherein the specific calculation method of the visual saliency feature image I 3 is: first, extract the Fourier phase spectrum of the track image I 0 to be processed

P=P{F(I0)}P=P{F(I 0 )}

其中,F(·)表示傅里叶变换,P(·)表示相谱计算。Among them, F(·) represents the Fourier transform, and P(·) represents the phase spectrum calculation.

然后,根据相谱P进行傅里叶反变换,以获得视觉显著图Then, the inverse Fourier transform is performed according to the phase spectrum P to obtain the visual saliency map

SF=||F-1(ei·P)||2 SF=||F -1 (e i·P )|| 2

其中,F-1(·)表示傅里叶变换。Here, F -1 (·) represents the Fourier transform.

最后,对视觉显著图SF采用高斯平滑滤波,以得到视觉显著性特征图像I3Finally, a Gaussian smoothing filter is applied to the visual saliency map SF to obtain a visual saliency feature image I 3 .

在本实施例中,高斯平滑滤波器窗口大小为待处理轨道图像I0Y方向长度的0.2倍整数值,高斯核σ取滤波窗口大小的0.25倍数值。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对高斯平滑滤波器窗口大小和高斯核σ做任意取值。In this embodiment, the window size of the Gaussian smoothing filter is an integer value of 0.2 times the length of the track image to be processed in the I 0 Y direction, and the Gaussian kernel σ takes a value of 0.25 times the size of the filter window. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the window size of the Gaussian smoothing filter and the Gaussian kernel σ can be arbitrarily selected according to actual needs.

在一种优选的实施方式中,上述若干特征图像I1、I2、I3……In包括用于表征非边缘区域的概率分布图像I4In a preferred embodiment, the above-mentioned several feature images I 1 , I 2 , I 3 . . . In include a probability distribution image I 4 for characterizing non - edge regions;

图像处理模块1具体用于:The image processing module 1 is specifically used for:

计算待处理轨道图像I0中各个像素点的梯度幅值,以获得梯度幅值图像;Calculate the gradient magnitude of each pixel in the track image I 0 to be processed to obtain a gradient magnitude image;

对梯度幅值图像进行平滑滤波和取反操作,得到概率分布图像I4Smooth filtering and inversion operations are performed on the gradient magnitude image to obtain a probability distribution image I 4 .

图12示出了上述概率分布图像I4,其中,概率分布图像I4的具体计算方法为:首先计算待处理轨道图像I0中各像素点的梯度幅值,以获得待处理轨道图像I0对应的梯度幅值图像,然后对该梯度幅值图像进行高斯平滑滤波,最后再采用取反操作,得到表征非边缘区域的概率分布图像I4FIG. 12 shows the above probability distribution image I 4 , wherein the specific calculation method of the probability distribution image I 4 is as follows: first, the gradient magnitude of each pixel in the track image I 0 to be processed is calculated to obtain the track image I 0 to be processed. The corresponding gradient magnitude image is then subjected to Gaussian smoothing filtering, and finally the inversion operation is used to obtain the probability distribution image I 4 representing the non-edge region.

在本实施例中,高斯平滑滤波器窗口大小为5×10,高斯核σ=3.0。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对高斯平滑滤波器窗口大小和高斯核σ做任意取值。In this embodiment, the window size of the Gaussian smoothing filter is 5×10, and the Gaussian kernel σ=3.0. It should be noted that the above values are only used for illustration, and are not limited to this. In the specific implementation process, the window size of the Gaussian smoothing filter and the Gaussian kernel σ can be arbitrarily selected according to actual needs.

特征融合模块2对从图像处理模块1获得的奇异像素对比增强特征图像I1、奇异行对比增强特征图像I2、视觉显著性特征图像I3和非边缘概率分布图像I4采用几何加权计算方法进行加权融合,以得到多特征加权融合特征图像If,如图13所示。The feature fusion module 2 adopts the geometric weighting calculation method for the singular pixel contrast enhanced feature image I 1 , the singular line contrast enhanced feature image I 2 , the visual saliency feature image I 3 and the non-edge probability distribution image I 4 obtained from the image processing module 1 Perform weighted fusion to obtain a multi-feature weighted fusion feature image If, as shown in Figure 13.

具体地,多特征加权融合特征图像If的计算表达式为Specifically, the calculation expression of the multi-feature weighted fusion feature image If is:

Figure BDA0003577677810000151
Figure BDA0003577677810000151

其中,N(·)表示数值归一化,α1、α2、α3、α4分别表示各个特征图像所对应的几何权重。Among them, N(·) represents numerical normalization, and α 1 , α 2 , α 3 , and α 4 respectively represent the geometric weights corresponding to each feature image.

在本实施例中,权重α1、α2、α3、α4的取值分别为1.1、1.0、0.9和1.0。需要说明的是,上述取值仅作举例说明之用,并不因此将其局限于此,在具体实施过程中,可以根据实际需要对每一特征图像对应的几何权重进行任意取值。In this embodiment, the values of the weights α 1 , α 2 , α 3 , and α 4 are 1.1, 1.0, 0.9, and 1.0, respectively. It should be noted that the above values are only used for illustration, and are not limited thereto. In the specific implementation process, the geometric weight corresponding to each feature image can be arbitrarily selected according to actual needs.

对于缺陷检测模块3,在一种优选的实施方式中,其用于:For the defect detection module 3, in a preferred embodiment, it is used for:

对加权融合特征图像If进行自适应阈值分割,得到二值图像;Perform adaptive threshold segmentation on the weighted fusion feature image I f to obtain a binary image;

对二值图像进行数学形态学开运算,以确定缺陷区域。Perform mathematical morphological opening operations on binary images to determine defect areas.

具体地,自适应阈值表达式为Specifically, the adaptive threshold expression is

T(If)=mean(If)+k·std(If)T(I f )=mean(I f )+k·std(I f )

其中,mean(·)表示取像素灰度的均值,std(·)表示取像素灰度的标准差,k为标准差权重系数,通常取值范围为3.0~5.0。Among them, mean( ) represents the mean value of the pixel grayscale, std( ) represents the standard deviation of the pixel grayscale, and k is the standard deviation weight coefficient, which usually ranges from 3.0 to 5.0.

经过阈值分割及形态学处理后的图像效果如图15所示,其中白色区域即为最终确定出的缺陷区域。The image effect after threshold segmentation and morphological processing is shown in Figure 15, where the white area is the final determined defect area.

在本实施例中,k的取值为4.0,且二值分割后的数学形态学开运算中,首先采用4×4尺度圆形模板进行腐蚀操作,再采用7×7尺度圆形模板进行膨胀操作。In this embodiment, the value of k is 4.0, and in the mathematical morphology opening operation after binary segmentation, a 4×4 scale circular template is used for the erosion operation, and then a 7×7 scale circular template is used for expansion operate.

需要说明的是,本发明所提供的轨道缺陷的检测系统经实验验证,对铁轨表面缺陷的检测正确率较高。在性能实验中,通过对含多种不同形态、尺度和外观缺陷共326处的195张铁轨表面扫描图像数据进行测试,结果共检测出缺陷338处,其中真实缺陷309处,误检29处,故检测准确率为91.4%,检测查全率未94.8%。It should be noted that the detection system for rail defects provided by the present invention has been verified by experiments, and the detection accuracy rate of surface defects of the rail is relatively high. In the performance experiment, by testing 195 pieces of rail surface scanning image data with a total of 326 defects in various shapes, sizes and appearances, a total of 338 defects were detected, including 309 real defects and 29 false detections. Therefore, the detection accuracy rate is 91.4%, and the detection recall rate is less than 94.8%.

因此,本发明提供的轨道缺陷的检测系统通过图像处理模块对待处理轨道图像分别进行奇异值分解、显著性检测以及梯度幅值计算处理,并将获得的若干个特征图像通过特征融合模块进行加权融合,从而实现了结合视觉多特征融合的非监督机器视觉处理方法,能够对铁轨表面缺陷进行高效检测的同时,有效克服了负载环境下轨道图像中的背景杂波干扰,对环境适应性强,检测效果稳定,适用于多种尺度、形态的复杂轨道缺陷检测;并且其在实际应用时无需采集样本进行训练,具有较强的适用性和较低的应用成本。Therefore, the track defect detection system provided by the present invention separately performs singular value decomposition, saliency detection and gradient amplitude calculation processing on the track image to be processed through the image processing module, and weights the obtained several feature images through the feature fusion module. , so as to realize the unsupervised machine vision processing method combined with visual multi-feature fusion, which can efficiently detect the surface defects of the railway track, and at the same time effectively overcome the background clutter interference in the track image under the load environment, and has strong adaptability to the environment. The effect is stable, and it is suitable for complex track defect detection of various scales and shapes; and it does not need to collect samples for training in practical application, and has strong applicability and low application cost.

实施例3Example 3

图17为本发明实施例3提供的一种电子设备的结构示意图。所述电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现实施例1所提供的轨道缺陷的检测方法。图17显示的电子设备40仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 17 is a schematic structural diagram of an electronic device according to Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method for detecting a track defect provided in Embodiment 1 when the processor executes the program. The electronic device 40 shown in FIG. 17 is only an example, and should not impose any limitation on the function and scope of use of the embodiment of the present invention.

如图17所示,电子设备40可以以通用计算设备的形式表现,例如其可以为服务器设备。电子设备40的组件可以包括但不限于:上述至少一个处理器41、上述至少一个存储器42、连接不同系统组件(包括存储器42和处理器41)的总线43。As shown in FIG. 17 , the electronic device 40 may take the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 40 may include, but are not limited to: the above-mentioned at least one processor 41 , the above-mentioned at least one memory 42 , and a bus 43 connecting different system components (including the memory 42 and the processor 41 ).

总线43包括数据总线、地址总线和控制总线。The bus 43 includes a data bus, an address bus, and a control bus.

存储器42可以包括易失性存储器,例如随机存取存储器(RAM)421和/或高速缓存存储器422,还可以进一步包括只读存储器(ROM)423。Memory 42 may include volatile memory, such as random access memory (RAM) 421 and/or cache memory 422 , and may further include read only memory (ROM) 423 .

存储器42还可以包括具有一组(至少一个)程序模块424的程序/实用工具425,这样的程序模块424包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The memory 42 may also include a program/utility 425 having a set (at least one) of program modules 424 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which An implementation of a network environment may be included in each or some combination of the examples.

处理器41通过运行存储在存储器42中的计算机程序,从而执行各种功能应用以及数据处理,例如本发明实施例1所提供的轨道缺陷的检测方法。The processor 41 executes various functional applications and data processing by running the computer program stored in the memory 42, such as the method for detecting track defects provided in Embodiment 1 of the present invention.

电子设备40也可以与一个或多个外部设备44(例如键盘、指向设备等)通信。这种通信可以通过输入/输出(I/O)接口45进行。并且,模型生成的设备40还可以通过网络适配器46与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器46通过总线43与模型生成的设备40的其它模块通信。应当明白,尽管图中未示出,可以结合模型生成的设备40使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID(磁盘阵列)系统、磁带驱动器以及数据备份存储系统等。The electronic device 40 may also communicate with one or more external devices 44 (eg, keyboards, pointing devices, etc.). Such communication may take place through input/output (I/O) interface 45 . Also, the model-generating device 40 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 46 . As shown, the network adapter 46 communicates with other modules of the model-generated device 40 via the bus 43 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with the model-generated device 40, including but not limited to: microcode, device drivers, redundant processors, arrays of external disk drives, RAID (disk) array) systems, tape drives, and data backup storage systems.

应当注意,尽管在上文详细描述中提及了电子设备的若干单元/模块或子单元/模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多单元/模块的特征和功能可以在一个单元/模块中具体化。反之,上文描述的一个单元/模块的特征和功能可以进一步划分为由多个单元/模块来具体化。It should be noted that although several units/modules or sub-units/modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units/modules described above may be embodied in one unit/module according to embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further subdivided to be embodied by multiple units/modules.

实施例4Example 4

本实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现实施例1所提供的轨道缺陷的检测方法。This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for detecting a track defect provided in Embodiment 1 is implemented.

其中,可读存储介质可以采用的更具体可以包括但不限于:便携式盘、硬盘、随机存取存储器、只读存储器、可擦拭可编程只读存储器、光存储器件、磁存储器件或上述的任意合适的组合。Wherein, the readable storage medium may include, but is not limited to, a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any of the above suitable combination.

在可能的实施方式中,本发明还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行实现实施例1所提供的轨道缺陷的检测方法。In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program codes, when the program product runs on a terminal device, the program code is used to cause the terminal device to execute the implementation The method for detecting track defects provided in Embodiment 1.

其中,可以以一种或多种程序设计语言的任意组合来编写用于执行本发明的程序代码,所述程序代码可以完全地在用户设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户设备上部分在远程设备上执行或完全在远程设备上执行。Wherein, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be completely executed on the user equipment, partially executed on the user equipment, as an independent The software package executes on the user's device, partly on the user's device, partly on the remote device, or entirely on the remote device.

虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。Although the specific embodiments of the present invention are described above, those skilled in the art should understand that this is only an illustration, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principle and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims (10)

1. A method for detecting a track defect, the method comprising:
respectively carrying out singular value decomposition, significance detection and gradient amplitude calculation on the orbit image to be processed to obtain a plurality of corresponding characteristic images;
performing weighted fusion on the feature images to obtain weighted fusion feature images;
and determining a defect area in the rail image to be processed based on the weighted fusion characteristic image.
2. The method of detecting rail defects of claim 1 wherein said plurality of feature images comprises singular pixel contrast enhanced feature images;
the singular value decomposition step specifically includes:
calculating the difference between the gray values of a plurality of target pixel points and reference pixel points in the orbit image to be processed so as to obtain a singular pixel contrast enhancement feature image, wherein the distance between the reference pixel points and the target pixel points is smaller than a first threshold value;
and/or the plurality of feature images comprise singular row contrast enhanced feature images;
the singular value decomposition step specifically includes:
and calculating the difference between the gray values of a plurality of target pixel rows and reference pixel rows in the orbit image to be processed so as to obtain a singular row contrast enhancement feature image, wherein the distance between the reference pixel row and the target pixel row is smaller than a second threshold value.
3. The method of detecting rail defects according to claim 1, wherein the plurality of feature images includes a visually significant feature image;
the step of significance detection specifically comprises:
performing Fourier transform and phase spectrum calculation on the orbit image to be processed to obtain a visual saliency map;
and performing smooth filtering on the visual saliency map to obtain a visual saliency characteristic image.
4. The method of detecting rail defects according to claim 1, wherein the plurality of feature images includes a probability distribution image for characterizing non-edge regions;
the step of calculating the gradient amplitude specifically comprises:
calculating the gradient amplitude of each pixel point in the orbit image to be processed to obtain a gradient amplitude image;
and carrying out smooth filtering and negation operation on the gradient amplitude image to obtain the probability distribution image.
5. The method for detecting track defects according to claim 1, wherein the step of determining the defect region in the to-be-processed track image based on the weighted fusion feature image comprises:
performing self-adaptive threshold segmentation on the weighted fusion characteristic image to obtain a binary image;
and performing mathematical morphology on the binary image to determine the defect area.
6. The method of detecting a track defect of claim 1, further comprising:
acquiring an initial track image;
and carrying out filtering processing on the initial orbit image to obtain the orbit image to be processed.
7. Method for detecting track defects according to claim 6, characterized in that said filtering process comprises L0Gradient minimization filtering and median filtering.
8. A rail defect detection system, comprising:
the image processing module is used for respectively carrying out singular value decomposition, significance detection and gradient amplitude calculation on the orbit image to be processed so as to obtain a plurality of corresponding characteristic images;
the characteristic fusion module is used for carrying out weighted fusion on the characteristic images so as to obtain weighted fusion characteristic images;
and the defect detection module is used for determining a defect area in the rail image to be processed based on the weighted fusion characteristic image.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of detecting a track defect according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of detection of a track defect according to any one of claims 1 to 7.
CN202210347851.8A 2022-04-01 2022-04-01 Track defect detection method, system, electronic device and storage medium Active CN114648520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210347851.8A CN114648520B (en) 2022-04-01 2022-04-01 Track defect detection method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210347851.8A CN114648520B (en) 2022-04-01 2022-04-01 Track defect detection method, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114648520A true CN114648520A (en) 2022-06-21
CN114648520B CN114648520B (en) 2025-06-24

Family

ID=81995179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210347851.8A Active CN114648520B (en) 2022-04-01 2022-04-01 Track defect detection method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114648520B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115661105A (en) * 2022-11-05 2023-01-31 东莞市蒂安斯实业有限公司 Automobile model visual detection method based on artificial intelligence

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440654A (en) * 2013-08-27 2013-12-11 南京大学 LCD foreign body defect detection method
CN106920232A (en) * 2017-02-22 2017-07-04 武汉大学 Gradient similarity graph image quality evaluation method and system based on conspicuousness detection
CN107845086A (en) * 2017-09-19 2018-03-27 佛山缔乐视觉科技有限公司 A kind of detection method, system and the device of leather surface conspicuousness defect
CN109242812A (en) * 2018-09-11 2019-01-18 中国科学院长春光学精密机械与物理研究所 Image interfusion method and device based on conspicuousness detection and singular value decomposition
CN111340752A (en) * 2019-12-04 2020-06-26 京东方科技集团股份有限公司 Screen detection method and device, electronic equipment and computer readable storage medium
CN111709968A (en) * 2020-05-08 2020-09-25 中国人民解放军空军工程大学 A low-altitude target detection and tracking method based on image processing
CN111833366A (en) * 2020-06-03 2020-10-27 佛山科学技术学院 An Edge Detection Method Based on Canny Algorithm
CN113269777A (en) * 2021-06-18 2021-08-17 常州信息职业技术学院 Textile flaw detection method based on low-rank matrix reconstruction and generalized convolution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440654A (en) * 2013-08-27 2013-12-11 南京大学 LCD foreign body defect detection method
CN106920232A (en) * 2017-02-22 2017-07-04 武汉大学 Gradient similarity graph image quality evaluation method and system based on conspicuousness detection
CN107845086A (en) * 2017-09-19 2018-03-27 佛山缔乐视觉科技有限公司 A kind of detection method, system and the device of leather surface conspicuousness defect
CN109242812A (en) * 2018-09-11 2019-01-18 中国科学院长春光学精密机械与物理研究所 Image interfusion method and device based on conspicuousness detection and singular value decomposition
CN111340752A (en) * 2019-12-04 2020-06-26 京东方科技集团股份有限公司 Screen detection method and device, electronic equipment and computer readable storage medium
CN111709968A (en) * 2020-05-08 2020-09-25 中国人民解放军空军工程大学 A low-altitude target detection and tracking method based on image processing
CN111833366A (en) * 2020-06-03 2020-10-27 佛山科学技术学院 An Edge Detection Method Based on Canny Algorithm
CN113269777A (en) * 2021-06-18 2021-08-17 常州信息职业技术学院 Textile flaw detection method based on low-rank matrix reconstruction and generalized convolution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115661105A (en) * 2022-11-05 2023-01-31 东莞市蒂安斯实业有限公司 Automobile model visual detection method based on artificial intelligence

Also Published As

Publication number Publication date
CN114648520B (en) 2025-06-24

Similar Documents

Publication Publication Date Title
Li et al. Automatic pixel‐level multiple damage detection of concrete structure using fully convolutional network
Liu et al. An automated defect detection approach for catenary rod-insulator textured surfaces using unsupervised learning
Xu et al. Inter/intra-category discriminative features for aerial image classification: A quality-aware selection model
CN111080620B (en) Road disease detection method based on deep learning
CN109872303B (en) Surface defect visual inspection method, device and electronic equipment
CN111044570A (en) Defect identification and early warning method and device for power equipment and computer equipment
CN106815806B (en) Single image SR reconstruction method based on compressed sensing and SVR
CN118447322A (en) Wire surface defect detection method based on semi-supervised learning
Gong et al. Performance analyses of probabilistic relaxation methods for land-cover classification
Joshi et al. Damage identification and assessment using image processing on post-disaster satellite imagery
Shit et al. An encoder‐decoder based CNN architecture using end to end dehaze and detection network for proper image visualization and detection
CN116843983A (en) Pavement disease recognition method, model training method, electronic equipment and medium
CN118675321A (en) DAS traffic parameter real-time estimation method, system, equipment and medium
CN120064299A (en) Crack detection method and system for double-block sleeper
CN114648520A (en) Method, system, electronic device and storage medium for detecting track defects
CN113496159A (en) Multi-scale convolution and dynamic weight cost function smoke target segmentation method
CN116129280B (en) Method for detecting snow in remote sensing image
Dai Image acquisition technology for unmanned aerial vehicles based on YOLO-Illustrated by the case of wind turbine blade inspection
CN116843946A (en) A method and device for identifying the main structural planes of tunnel rock mass based on image recognition
CN116071658A (en) SAR image small target detection and recognition method and device based on deep learning
CN114821165A (en) Track detection image acquisition and analysis method
CN110472472B (en) Airport detection method and device based on SAR remote sensing image
Li Gabor wavelet transform combined with area CNN in appearance intelligent detection of stayed cables
CN111767815A (en) A method for identifying water leakage in tunnels
CN117876362B (en) Deep learning-based natural disaster damage assessment method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant