[go: up one dir, main page]

CN108319927A - A kind of method of automatic identification disease - Google Patents

A kind of method of automatic identification disease Download PDF

Info

Publication number
CN108319927A
CN108319927A CN201810148171.7A CN201810148171A CN108319927A CN 108319927 A CN108319927 A CN 108319927A CN 201810148171 A CN201810148171 A CN 201810148171A CN 108319927 A CN108319927 A CN 108319927A
Authority
CN
China
Prior art keywords
disease
data
image
matrix
row
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
CN201810148171.7A
Other languages
Chinese (zh)
Other versions
CN108319927B (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.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
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 Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201810148171.7A priority Critical patent/CN108319927B/en
Publication of CN108319927A publication Critical patent/CN108319927A/en
Application granted granted Critical
Publication of CN108319927B publication Critical patent/CN108319927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • 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
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种自动识别病害的方法,其特征是,包括如下步骤:步骤1)采集探地雷达数据,并进行数据重叠分割;步骤2)对分割后形成的数据矩阵采用行方差和阈值法提取病害位置信息;步骤3)将步骤2)得到的数据进行直方图均衡处理;步骤4)利用二八原则设置阈值,并对直方图均衡后的图像进行二值化;步骤5)对图像每列进行求导,并计算两种相位类型的数量;步骤6)选取数量多的相位类型作为图像伤害类型。本发明所达到的有益效果:实现自动定位病害位置,提取病害特征,实现了高速公路地下常见病害,节省了病害解释员大量的时间和精力,节约成本,符合探地雷达行业病害识别自动化的追求目标,具有很大的现实意义。

The invention discloses a method for automatically identifying diseases, which is characterized in that it comprises the following steps: step 1) collecting ground penetrating radar data, and performing overlapping segmentation of the data; step 2) using row variance and a threshold for the data matrix formed after the segmentation method to extract disease location information; step 3) carry out histogram equalization processing to the data obtained in step 2); step 4) utilize the 28th principle to set the threshold, and carry out binarization to the image after histogram equalization; step 5) image Derivation is performed for each column, and the number of two phase types is calculated; Step 6) Select the phase type with the largest number as the image damage type. The beneficial effects achieved by the present invention: automatically locate the disease location, extract the disease characteristics, realize the common underground diseases of the expressway, save a lot of time and energy of the disease interpreters, save costs, and meet the pursuit of automatic disease identification in the ground penetrating radar industry The goal has great practical significance.

Description

一种自动识别病害的方法A Method for Automatically Identifying Diseases

技术领域technical field

本发明涉及一种自动识别病害的方法,属于病害识别技术领域。The invention relates to a method for automatically identifying diseases and belongs to the technical field of disease identification.

背景技术Background technique

在GPR信号高速公路路基病害解释上,国内外目前使用最多的方法是人工解译图像。但是人工解释图像极大地依赖解释员的经验,主观性强,当数据量较大时,人工解释周期很长,具有一定的滞后性。如何自动识别病害类型并给出反馈,节省解译时间,成为GPR信号公路路基图像解释迫切的需要之一。本发明即立足于GPR数据病害检测分类自动化给出一种新的解决方案。现有的其他专利如专利号CN104698503A为使用偏移校正和克希霍夫波动方程偏移法处理经过预处理后的雷法数据,然后结合地质、环境人工解释数据。这种方法计算量大,并且耗费大量的人力和时间。同样专利号为CN105403883A利用振幅分量找出感兴趣区域,对感兴趣区域进行边缘提取和目标双曲线的定位。该方法适用于管状目标的寻找,且使用人工方法寻找目标体,耗费时间和人力。另如专利号为CN1595195A使用RBF神经网络自动识别雷达数据目标体类别,前提是要对目标体特征进行分析提取,并需要大量的样本数据,而在实际实施过程中大量的样本数据通常难以获得。In the interpretation of roadbed diseases of GPR signal expressway, the most widely used method at home and abroad is manual image interpretation. However, manual interpretation of images relies heavily on the experience of the interpreter and is highly subjective. When the amount of data is large, the manual interpretation cycle is very long and has a certain lag. How to automatically identify the type of disease and give feedback to save interpretation time has become one of the urgent needs of GPR signal road subgrade image interpretation. The present invention provides a new solution based on the automation of GPR data disease detection and classification. Other existing patents such as Patent No. CN104698503A use offset correction and Kirchhoff wave equation offset method to process preprocessed radar data, and then combine geological and environmental manual interpretation data. This method is computationally intensive and consumes a lot of manpower and time. The same patent number is CN105403883A, which uses the amplitude component to find the region of interest, and performs edge extraction and target hyperbola positioning on the region of interest. This method is suitable for searching for tubular targets, and the manual method is used to find the target body, which is time-consuming and labor-intensive. Another example is the patent number CN1595195A, which uses RBF neural network to automatically identify the target category of radar data. The premise is to analyze and extract the characteristics of the target, and a large amount of sample data is required. However, a large amount of sample data is usually difficult to obtain in the actual implementation process.

发明内容Contents of the invention

为解决现有技术的不足,本发明的目的在于提供一种自动识别病害的方法,自动定位病害位置,提取病害特征,实现了高速公路地下常见病害,节省了病害解释员大量的时间和精力。In order to solve the deficiencies of the prior art, the object of the present invention is to provide a method for automatically identifying the disease, automatically locating the position of the disease, extracting the characteristics of the disease, realizing the common diseases of the highway underground, and saving a lot of time and energy for the disease interpreters.

为了实现上述目标,本发明采用如下的技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种自动识别病害的方法,其特征是,包括如下步骤:A method for automatically identifying diseases is characterized in that it comprises the steps of:

步骤1)采集探地雷达数据,并进行数据重叠分割;Step 1) collect ground penetrating radar data, and carry out data overlapping segmentation;

步骤2)对分割后形成的数据矩阵采用行方差和阈值法提取病害位置信息;Step 2) adopt row variance and threshold value method to extract disease position information to the data matrix formed after segmentation;

步骤3)将步骤2)得到的数据进行直方图均衡处理;Step 3) performing histogram equalization processing on the data obtained in step 2);

步骤4)利用二八原则设置阈值,并对直方图均衡后的图像进行二值化;Step 4) utilize the 28th principle to set the threshold, and carry out binarization to the image after histogram equalization;

步骤5)对图像每列进行求导,并计算两种相位类型的数量;Step 5) deriving each column of the image, and calculating the quantity of the two phase types;

步骤6)选取数量多的相位类型作为图像伤害类型。Step 6) Select a large number of phase types as image damage types.

前述的一种自动识别病害的方法,其特征是,所述步骤2)中根据行方差和阈值法得到病害位置,对应位置的矩阵记为I′,矩阵I′的尺寸为P*N,元素灰度值大小为0-255。Aforesaid a kind of method for automatically identifying disease, it is characterized in that, described step 2) obtains disease position according to row variance and threshold value method, the matrix of corresponding position is marked as I ', and the size of matrix I ' is P*N, element The gray value ranges from 0-255.

前述的一种自动识别病害的方法,其特征是,所述矩阵I′的具体内容为:Aforesaid a kind of method for automatically identifying disease is characterized in that, the concrete content of described matrix I ' is:

21)对整个数据进行重叠分割,将大量数据分割成矩阵尺寸为M*N的GPR 实测数据块,M是每道采样数,N是分割后每个图像包含的迹线数,记其中一个数据块为I,I对应着实际环境中的某一个水平位置采集到的GPR数据;21) Overlap and segment the entire data, divide a large amount of data into GPR measured data blocks with a matrix size of M*N, M is the number of samples per channel, N is the number of traces contained in each image after segmentation, and record one of the data The block is I, and I corresponds to the GPR data collected at a certain horizontal position in the actual environment;

22)对实测数据I的像素值映射到0-255范围内,归一化后的数据记为NI;22) The pixel value of the measured data I is mapped to the range of 0-255, and the normalized data is denoted as NI;

23)计算归一化后的数据矩阵NI的行方差,一行共有N个数据,计算这N 个数据方差,得到一个方差数据,并对每一行都计算行方差,数据矩阵共有M 行,最后得到的数据矩阵的行方差数据大小为M*1,形成一个尺寸为M*1的向量NI_v,NI_v中每一个元素代表NI每一行的行方差;23) Calculate the row variance of the normalized data matrix NI. There are N data in one row. Calculate the N data variance to obtain a variance data, and calculate the row variance for each row. The data matrix has M rows in total, and finally get The row variance data size of the data matrix is M*1, forming a vector NI_v with a size of M*1, and each element in NI_v represents the row variance of each row of NI;

24)提取出图像行方差大于阈值T的多个行段记为M1,M2,...Mp′,每个行段的行数记为m1,m2,...,mp′;24) extracting a plurality of line segments whose image line variance is greater than the threshold T is denoted as M1, M2, ... Mp', and the number of lines of each line segment is denoted as m1, m2, ..., mp';

若一块混凝土区域出现了病害,该病害所占行数至少为其中,f 是天线频率,dt是一个迹线上相邻两个数据的采样间隔;If there is a disease in a concrete area, the number of rows occupied by the disease is at least Among them, f is the antenna frequency, and dt is the sampling interval of two adjacent data on a trace;

若m1+m2+...+mp′<m′,则判定该图无病害;If m1+m2+...+mp'<m', it is determined that the graph has no disease;

若m1+m2+...+mp′≥m′,则判定该图有病害;If m1+m2+...+mp'≥m', it is determined that the graph has disease;

对于有病害的GPR图像,找到m1,m2,...,mp′中最大的数记为ma,a∈{1,2,...,p′},其对应的行段为Ma,Ma判定为要找的病害的位置,即从整个图像中抽取出的含有病害的行,每一行包含N个数据,即N列,且Ma矩阵大小为P*N,P为含有病害的行数,记Ma为矩阵I’。For a diseased GPR image, find the largest number among m1, m2,...,mp′ and record it as ma , a∈{1,2,...,p′}, and its corresponding line segment is M a , M a is determined to be the position of the disease to be found, that is, the row containing the disease extracted from the entire image, each row contains N data, that is, N columns, and the size of the M a matrix is P*N, P is the row containing the disease The number of rows, record M a as the matrix I'.

前述的一种自动识别病害的方法,其特征是,所述步骤3)中具体内容为:对于矩阵I′,计算出I′的图像的灰度级数概率分布,进行直方图均衡,将原始图像的灰度直方图从0-255的灰度范围内比较集中的分布变成在0-255灰度范围内的均匀分布,得到经过直方图均衡后的图像记为I″。Aforesaid a kind of method for automatically identifying disease, it is characterized in that, described step 3) in the specific content is: for matrix I ', calculate the gray scale number probability distribution of the image of I ', carry out histogram equalization, the original The grayscale histogram of the image changes from a relatively concentrated distribution in the grayscale range of 0-255 to a uniform distribution in the grayscale range of 0-255, and the obtained image after histogram equalization is denoted as I ".

前述的一种自动识别病害的方法,其特征是,所述步骤4)的具体内容为:对图像进行二值化处理,二值化处理前选用的阈值按照如下方式选取:使用二八原则得到直方图均衡后图像I″的两个阈值记为T2、T3,且T2<T3。将图像I″中灰度值小于T2的元素变为0,灰度值大于T3的元素变为255,灰度值在T2 和T3中间的元素变为127;经过二值化和二八原则处理后的图像矩阵记为Ik。Aforesaid a kind of method for automatically identifying disease, it is characterized in that, the specific content of described step 4) is: carry out binarization process to image, the threshold value selected before binarization process is selected as follows: use 28 principles to get After histogram equalization, the two thresholds of the image I" are recorded as T2 and T3, and T2<T3. The elements with a gray value less than T2 in the image I" are changed to 0, and the elements with a gray value greater than T3 are changed to 255. The element whose degree value is between T2 and T3 becomes 127; the image matrix processed by binarization and 28th principle is recorded as Ik.

前述的一种自动识别病害的方法,其特征是,所述步骤5)的具体内容为:对矩阵Ik的每一列求导得到N个序列,取每个序列的前6个非零值,分别记为 Ik_p1,Ik_p2,Ik_p3,…,Ik_pn;若某个序列非零值个数小于6,则去掉该列的相位序列;矩阵Ik每列元素中像素值由大到小记为-1,像素值由小到大记为1。Aforesaid a kind of method for automatically identifying disease, it is characterized in that, the concrete content of described step 5) is: derivation is obtained N sequences to each column of matrix Ik, gets the first 6 non-zero values of each sequence, respectively It is recorded as Ik_p1, Ik_p2, Ik_p3, ..., Ik_pn; if the number of non-zero values in a certain sequence is less than 6, remove the phase sequence of the column; the pixel value in each column of matrix Ik is recorded as -1 from large to small, and the pixel Values are marked as 1 from small to large.

前述的一种自动识别病害的方法,其特征是,所述步骤6)的内容是:对相邻元素同号的元素只留下一个,使得相位相邻元素之间必定是异号,得到最终标准的相位序列记为Ik_pf1,Ik_pf2,Ik_pf3,…,Ik_pfn,若序列[-1 1 -1]的数量多,则病害归为水或钢筋;若序列[1 -1 1]的数量多,则病害归为空洞或脱空。The aforementioned method for automatically identifying diseases is characterized in that the content of the step 6) is: only one element with the same sign as the adjacent elements is left, so that the adjacent elements of the phase must have different signs, and the final The standard phase sequence is recorded as Ik_pf1, Ik_pf2, Ik_pf3,...,Ik_pfn, if the number of sequence [-1 1 -1] is large, the disease is classified as water or steel; if the number of sequence [1 -1 1] is large, then Diseases are classified as voids or voids.

本发明所达到的有益效果:以当前高速公路地下混凝土结构病害的GPR信号为研究对象,设计给出一种自动识别GPR信号病害类型的算法;采用了结合行方差、直方图均衡、二值化、一阶导数的算法,自动定位病害位置,提取病害特征,实现了高速公路地下常见病害:脱空、空气、含水层的自动识别,具有一定的准确度,节省了病害解释员大量的时间和精力,节约成本,符合探地雷达行业病害识别自动化的追求目标,具有很大的现实意义。The beneficial effects achieved by the present invention: taking the GPR signal of the current highway underground concrete structure disease as the research object, an algorithm for automatically identifying the disease type of the GPR signal is designed; a combination of row variance, histogram equalization, and binarization is used. , first-order derivative algorithm, automatically locate the disease location, extract the disease characteristics, and realize the automatic identification of the common underground diseases of the expressway: void, air, and aquifer, with a certain degree of accuracy, saving a lot of time and time for the disease interpreter It is of great practical significance to save energy and save costs, which is in line with the pursuit goal of automatic disease identification in the ground penetrating radar industry.

附图说明Description of drawings

图1是本发明病害定位及识别流程详图。Fig. 1 is a detailed flow chart of disease location and identification in the present invention.

具体实施方式Detailed ways

下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

本发明涉及的一种自动识别病害的方法,包括如下步骤:A method for automatically identifying diseases that the present invention relates to comprises the following steps:

步骤1)采集探地雷达数据,并进行数据重叠分割;Step 1) collect ground penetrating radar data, and carry out data overlapping segmentation;

步骤2)对分割后形成的数据矩阵采用行方差和阈值法提取病害位置信息:根据行方差和阈值法得到病害位置,对应位置的矩阵记为I′,矩阵I′的尺寸为 P*N,元素灰度值大小为0-255。Step 2) adopt row variance and threshold method to extract disease position information to the data matrix formed after segmentation: obtain disease position according to row variance and threshold method, the matrix of corresponding position is denoted as I ', and the size of matrix I ' is P*N, The element gray value ranges from 0-255.

步骤3)将步骤2)得到的数据进行直方图均衡处理:对于矩阵I′,计算出I′的图像的灰度级数概率分布,进行直方图均衡,目的是将原始图像的灰度直方图从比较集中的某个灰度区间变成在全部灰度范围内的均匀分布,得到经过直方图均衡后的图像记为I″。直方图均衡后的图像对比度更高,病害的纹理特征更加明显。Step 3) carry out histogram equalization processing to the data obtained in step 2): for matrix I ', calculate the gray level probability distribution of the image of I ', carry out histogram equalization, the purpose is to make the gray level histogram of original image From a relatively concentrated gray-scale interval to a uniform distribution in the entire gray-scale range, the image after histogram equalization is recorded as I". The image contrast after histogram equalization is higher, and the texture characteristics of the disease are more obvious .

步骤4)利用二八原则设置阈值,并对直方图均衡后的图像进行二值化:Step 4) Use the 28th principle to set the threshold, and binarize the image after histogram equalization:

对图像进行二值化处理,二值化处理前选用的阈值按照如下方式选取:The image is binarized, and the threshold selected before binarization is selected as follows:

使用二八原则得到直方图均衡后图像I″的两个阈值记为T2、T3,且T2<T3。将图像I″中灰度值小于T2的元素变为0,灰度值大于T3的元素变为255,灰度值在T2和T3中间的元素变为127。本实施例中T2=50,T3=200。Use the two-eighth principle to obtain the two thresholds of the image I" after histogram equalization and record them as T2 and T3, and T2<T3. Change the elements with a gray value less than T2 in the image I" to 0, and elements with a gray value greater than T3 becomes 255, and the element whose gray value is between T2 and T3 becomes 127. In this embodiment, T2=50 and T3=200.

像素值为0和255的区域反映了病害的位置。经过二值化和二八原则处理后的图像矩阵记为Ik。(或者此处T2、T3完全是经过大量的实测数据比较后得到的两个阈值)Areas with pixel values of 0 and 255 reflect the location of the disease. The image matrix processed by binarization and the 28th principle is denoted as Ik. (Or T2 and T3 here are completely two thresholds obtained after comparing a large number of measured data)

步骤5)经过步骤4)将图像像素值极端化的处理,想要到病害的相位信息就简单得多。Step 5) After step 4) the image pixel value is extremized, it is much simpler to obtain the phase information of the disease.

对图像每列进行求导,并计算两种相位类型的数量:对矩阵Ik的每一列求导得到N个序列,取每个序列的前6个非零值,分别记为Ik_p1,Ik_p2,Ik_p3,…, Ik_pn;若某个序列非零值个数小于6,则去掉该列的相位序列。由于Ik每列元素只有三种值(0、127、255),因此像素值由大到小记为-1,像素值由小到大记为1。因此Ik_p1,Ik_p2,Ik_p3,…,Ik_pn的所有元素只有两种情况:1、-1。Derivate each column of the image and calculate the number of two phase types: derivate each column of the matrix Ik to obtain N sequences, take the first 6 non-zero values of each sequence, and record them as Ik_p1, Ik_p2, Ik_p3 ,..., Ik_pn; if the number of non-zero values in a sequence is less than 6, remove the phase sequence of the column. Since each column element of Ik has only three values (0, 127, 255), the pixel value from large to small is recorded as -1, and the pixel value from small to large is recorded as 1. Therefore, all elements of Ik_p1, Ik_p2, Ik_p3, ..., Ik_pn have only two cases: 1, -1.

步骤6)若此算法返回的理想Ik_p1,取前三个元素为[-1 1 -1]或者[1 -1 1],相邻元素之间必是异号。Step 6) If the ideal Ik_p1 returned by this algorithm takes the first three elements as [-1 1 -1] or [1 -1 1], the adjacent elements must have different signs.

但是对于实测数据,灰度值由0变换到255中间往往会有127。而步骤4得到的通常是[-1 1 1 -1 -1 1]、[1 -1 -1 1 1 -1]这种情况,我们规定第2、3个元素,第3、4个元素需要合并,对此,采用后一个元素与前一个元素之间乘积的正负来判断是否合并。例如Ik_p1=[-1 1 1 -1 -1 1],Ik_p1(1)*Ik_p1(2)<0,Ik_p1 保留第1、2个元素;Ik_p1(2)*Ik_p1(3)>0,Ik_p1合并第2、3个元素。以此类推,得到的相位相邻元素之间必定是异号。对Ik_p1,Ik_p2,Ik_p3,…,Ik_pn 都做这种运算,得到最终标准的相位序列记为Ik_pf1,Ik_pf2,Ik_pf3,…,Ik_pfn。But for the measured data, there will often be 127 in the middle of the gray value transformation from 0 to 255. In step 4, the results are usually [-1 1 1 -1 -1 1], [1 -1 -1 1 1 -1]. In this case, we stipulate that the 2nd and 3rd elements, the 3rd and 4th elements need Merge, for this, the positive or negative of the product between the next element and the previous element is used to judge whether to merge. For example, Ik_p1=[-1 1 1 -1 -1 1], Ik_p1(1)*Ik_p1(2)<0, Ik_p1 retains the first and second elements; Ik_p1(2)*Ik_p1(3)>0, Ik_p1 merges The 2nd and 3rd elements. By analogy, the obtained phase adjacent elements must have different signs. Do this operation for Ik_p1, Ik_p2, Ik_p3,...,Ik_pn, and get the final standard phase sequence as Ik_pf1, Ik_pf2, Ik_pf3,...,Ik_pfn.

选取数量多的相位类型作为图像伤害类型:对相邻元素同号的元素只留下一个,使得相位相邻元素之间必定是异号,得到最终标准的相位序列记为Ik_pf1, Ik_pf2,Ik_pf3,…,Ik_pfn,若序列[-1 1 -1]的数量多,则病害归为水(钢筋);若序列[1 -1 1]的数量多,则病害归为空洞或脱空。Select a large number of phase types as the image damage type: leave only one element with the same sign as adjacent elements, so that the phase adjacent elements must have different signs, and the final standard phase sequence is recorded as Ik_pf1, Ik_pf2, Ik_pf3, ..., Ik_pfn, if the number of sequence [-1 1 -1] is large, the disease is classified as water (rebar); if the number of sequence [1 -1 1] is large, the disease is classified as hollow or void.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, some improvements and modifications can also be made. It should also be regarded as the protection scope of the present invention.

Claims (7)

1.一种自动识别病害的方法,其特征是,包括如下步骤:1. A method for automatically identifying a disease, characterized in that it comprises the steps: 步骤1)采集探地雷达数据,并进行数据重叠分割;Step 1) collect ground penetrating radar data, and carry out data overlapping segmentation; 步骤2)对分割后形成的数据矩阵采用行方差和阈值法提取病害位置信息;Step 2) adopt row variance and threshold value method to extract disease position information to the data matrix formed after segmentation; 步骤3)将步骤2)得到的数据进行直方图均衡处理;Step 3) performing histogram equalization processing on the data obtained in step 2); 步骤4)利用二八原则设置阈值,并对直方图均衡后的图像进行二值化;Step 4) utilize the 28th principle to set the threshold, and carry out binarization to the image after histogram equalization; 步骤5)对图像每列进行求导,并计算两种相位类型的数量;Step 5) deriving each column of the image, and calculating the quantity of the two phase types; 步骤6)选取数量多的相位类型作为图像伤害类型。Step 6) Select a large number of phase types as image damage types. 2.根据权利要求1所述的一种自动识别病害的方法,其特征是,所述步骤2)中根据行方差和阈值法得到病害位置,对应位置的矩阵记为I′,阵I′的尺寸为P*N,元素灰度值大小为0-255。2. a kind of method for automatically identifying disease according to claim 1, it is characterized in that, described step 2) obtains disease position according to row variance and threshold value method, the matrix of corresponding position is denoted as I ', the matrix I ' The size is P*N, and the gray value of the element is 0-255. 3.根据权利要求2所述的一种自动识别病害的方法,其特征是,所述矩阵I′的具体内容为:3. a kind of method for automatically identifying disease according to claim 2, is characterized in that, the concrete content of described matrix I ' is: 21)对整个数据进行重叠分割,将大量数据分割成矩阵尺寸为M*N的GPR实测数据块,M是每道采样数,N是分割后每个图像包含的迹线数,记其中一个数据块为I,I对应着实际环境中的某一个水平位置采集到的GPR数据;21) Overlap and segment the entire data, divide a large amount of data into GPR measured data blocks with a matrix size of M*N, M is the number of samples per channel, N is the number of traces contained in each image after segmentation, and record one of the data The block is I, and I corresponds to the GPR data collected at a certain horizontal position in the actual environment; 22)对实测数据I的像素值映射到0-255范围内,归一化后的数据记为NI;22) The pixel value of the measured data I is mapped to the range of 0-255, and the normalized data is denoted as NI; 23)计算归一化后的数据矩阵NI的行方差,一行共有N个数据,计算这N个数据方差,得到一个方差数据,并对每一行都计算行方差,数据矩阵共有M行,最后得到的数据矩阵的行方差数据大小为M*1,形成一个尺寸为M*1的向量NI_v,NI_v中每一个元素代表NI每一行的行方差;23) Calculate the row variance of the normalized data matrix NI, there are N data in one row, calculate the N data variance, get a variance data, and calculate the row variance for each row, the data matrix has M rows, and finally get The row variance data size of the data matrix is M*1, forming a vector NI_v with a size of M*1, and each element in NI_v represents the row variance of each row of NI; 24)提取出图像行方差大于阈值T的多个行段记为M1,M2,...Mp′,每个行段的行数记为m1,m2,...,mp′;24) extracting a plurality of line segments whose image line variance is greater than the threshold T is denoted as M1, M2, ... Mp', and the number of lines of each line segment is denoted as m1, m2, ..., mp'; 若一块混凝土区域出现了病害,该病害所占行数至少为其中,f是天线频率,dt是一个迹线上相邻两个数据的采样间隔;If there is a disease in a concrete area, the number of rows occupied by the disease is at least Among them, f is the antenna frequency, and dt is the sampling interval of two adjacent data on a trace; 若m1+m2+...+mp′<m′,则判定该图无病害;If m1+m2+...+mp'<m', it is determined that the graph has no disease; 若m1+m2+...+mp′≥m′,则判定该图有病害;If m1+m2+...+mp'≥m', it is determined that the graph has disease; 对于有病害的GPR图像,找到m1,m2,...,mp′中最大的数记为ma,a∈{1,2,...,p′},其对应的行段为Ma,Ma判定为要找的病害的位置,即从整个图像中抽取出的含有病害的行,每一行包含N个数据,即N列,且Ma矩阵大小为P*N,P为含有病害的行数,记Ma为矩阵I’。For a diseased GPR image, find the largest number among m1, m2,...,mp′ and record it as ma , a∈{1,2,...,p′}, and its corresponding line segment is M a , M a is determined to be the position of the disease to be found, that is, the row containing the disease extracted from the entire image, each row contains N data, that is, N columns, and the size of the M a matrix is P*N, P is the row containing the disease The number of rows, record M a as the matrix I'. 4.根据权利要求1所述的一种自动识别病害的方法,其特征是,所述步骤3)中具体内容为:对于矩阵I′,计算出I′的图像的灰度级数概率分布,进行直方图均衡,将原始图像的灰度直方图从0-255的灰度范围内比较集中的分布变成在0-255灰度范围内的均匀分布,得到经过直方图均衡后的图像记为I″。4. a kind of method for automatically identifying disease according to claim 1, it is characterized in that, described step 3) in concrete content is: for matrix I ', calculate the gray scale number probability distribution of the image of I ', Perform histogram equalization, change the gray histogram of the original image from a relatively concentrated distribution in the gray scale range of 0-255 to a uniform distribution in the gray scale range of 0-255, and obtain the image after histogram equalization as I ". 5.根据权利要求1所述的一种自动识别病害的方法,其特征是,所述步骤4)的具体内容为:对图像进行二值化处理,二值化处理前选用的阈值按照如下方式选取:5. a kind of method for automatically identifying disease according to claim 1, it is characterized in that, the specific content of described step 4) is: carry out binarization process to image, the threshold value selected before binarization process is as follows Select: 使用二八原则得到直方图均衡后图像I″的两个阈值记为T2、T3,且T2<T3。将图像I″中灰度值小于T2的元素变为0,灰度值大于T3的元素变为255,灰度值在T2和T3中间的元素变为127;Use the two-eighth principle to obtain the two thresholds of the image I" after histogram equalization and record them as T2 and T3, and T2<T3. Change the elements with a gray value less than T2 in the image I" to 0, and elements with a gray value greater than T3 becomes 255, and the element whose gray value is between T2 and T3 becomes 127; 经过二值化和二八原则处理后的图像矩阵记为Ik。The image matrix processed by binarization and the 28th principle is denoted as Ik. 6.根据权利要求5所述的一种自动识别病害的方法,其特征是,所述步骤5)的具体内容为:对矩阵Ik的每一列求导得到N个序列,取每个序列的前6个非零值,分别记为Ik_p1,Ik_p2,Ik_p3,…,Ik_pn;若某个序列非零值个数小于6,则去掉该列的相位序列;矩阵Ik每列元素中像素值由大到小记为-1,像素值由小到大记为1。6. a kind of method for automatically identifying disease according to claim 5, it is characterized in that, the specific content of described step 5) is: obtain N sequences to each column derivation of matrix Ik, get the front of each sequence 6 non-zero values, respectively recorded as Ik_p1, Ik_p2, Ik_p3, ..., Ik_pn; if the number of non-zero values in a certain sequence is less than 6, then remove the phase sequence of the column; the pixel value in each column element of the matrix Ik ranges from large to The small value is recorded as -1, and the pixel value from small to large is recorded as 1. 7.根据权利要求6所述的一种自动识别病害的方法,其特征是,所述步骤6)的内容是:对相邻元素同号的元素只留下一个,使得相位相邻元素之间必定是异号,得到最终标准的相位序列记为Ik_pf1,Ik_pf2,Ik_pf3,…,Ik_pfn,若序列[-1 1 -1]的数量多,则病害归为水或钢筋;若序列[1 -1 1]的数量多,则病害归为空洞或脱空。7. A kind of method for automatic identification of disease according to claim 6, it is characterized in that, the content of described step 6) is: leave only one element of the same sign to adjacent element, make phase adjacent element It must be a different sign, and the final standard phase sequence is recorded as Ik_pf1, Ik_pf2, Ik_pf3,...,Ik_pfn. If the number of sequence [-1 1 -1] is large, the disease is classified as water or steel bar; if the sequence [1 -1 1], the disease is classified as hollow or empty.
CN201810148171.7A 2018-02-13 2018-02-13 A method for automatic identification of diseases Active CN108319927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810148171.7A CN108319927B (en) 2018-02-13 2018-02-13 A method for automatic identification of diseases

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810148171.7A CN108319927B (en) 2018-02-13 2018-02-13 A method for automatic identification of diseases

Publications (2)

Publication Number Publication Date
CN108319927A true CN108319927A (en) 2018-07-24
CN108319927B CN108319927B (en) 2021-11-02

Family

ID=62903515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810148171.7A Active CN108319927B (en) 2018-02-13 2018-02-13 A method for automatic identification of diseases

Country Status (1)

Country Link
CN (1) CN108319927B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784438A (en) * 2018-12-28 2019-05-21 福建华闽通达信息技术有限公司 A kind of bridge maintenance disease record, identification and treatment measures guidance method and system
CN111539293A (en) * 2020-04-17 2020-08-14 北京派得伟业科技发展有限公司 Fruit tree disease diagnosis method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103900957A (en) * 2014-04-28 2014-07-02 内蒙古工业大学 Method for testing interfacial bond behavior of road asphalt mixture
CN104268839A (en) * 2014-09-29 2015-01-07 中国矿业大学(北京) Road disease positioning method based on threshold segmentation
US9026305B2 (en) * 2012-07-19 2015-05-05 Hunter Engineering Company System and method for wheel assembly acoustical evaluation
CN105044779A (en) * 2015-07-14 2015-11-11 中国石油天然气集团公司 Reflecting interface orientation quantitative decision method based on phased receiving directivity and device thereof
CN105160354A (en) * 2015-08-19 2015-12-16 师韵 Apple disease identifying method based on sparse representation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026305B2 (en) * 2012-07-19 2015-05-05 Hunter Engineering Company System and method for wheel assembly acoustical evaluation
CN103900957A (en) * 2014-04-28 2014-07-02 内蒙古工业大学 Method for testing interfacial bond behavior of road asphalt mixture
CN104268839A (en) * 2014-09-29 2015-01-07 中国矿业大学(北京) Road disease positioning method based on threshold segmentation
CN105044779A (en) * 2015-07-14 2015-11-11 中国石油天然气集团公司 Reflecting interface orientation quantitative decision method based on phased receiving directivity and device thereof
CN105160354A (en) * 2015-08-19 2015-12-16 师韵 Apple disease identifying method based on sparse representation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784438A (en) * 2018-12-28 2019-05-21 福建华闽通达信息技术有限公司 A kind of bridge maintenance disease record, identification and treatment measures guidance method and system
CN111539293A (en) * 2020-04-17 2020-08-14 北京派得伟业科技发展有限公司 Fruit tree disease diagnosis method and system

Also Published As

Publication number Publication date
CN108319927B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN110334578B (en) Weak supervision method for automatically extracting high-resolution remote sensing image buildings through image level annotation
CN103870833B (en) The pavement crack estimated based on concavity extracts and assessment method
CN114998852A (en) Intelligent detection method for road pavement diseases based on deep learning
CN102043958B (en) High-definition remote sensing image multi-class target detection and identification method
CN105931253B (en) A kind of image partition method being combined based on semi-supervised learning
CN105205488B (en) Word area detection method based on Harris angle points and stroke width
CN104282026B (en) Distributing homogeneity appraisal procedure based on watershed algorithm and minimum spanning tree
CN101634706B (en) Method for automatically detecting bridge target in high-resolution SAR images
CN107564017B (en) Method for detecting and segmenting urban high-resolution remote sensing image shadow
CN105320942B (en) A kind of road surface breakage detection method based on combined detector
CN104183142A (en) Traffic flow statistics method based on image visual processing technology
CN108960172B (en) Method for identifying GPR image disease type
CN105389799B (en) SAR image object detection method based on sketch map and low-rank decomposition
CN118314157B (en) Remote sensing image intelligent segmentation method based on artificial intelligence
CN107545571A (en) A kind of image detecting method and device
CN114863106B (en) Centrifugal fertilizer spreading particle distribution detection method
CN101908214B (en) Moving Object Detection Method Based on Neighborhood Correlation Background Reconstruction
Shao et al. A kind of pavement crack detection method based on digital image processing
CN112232303B (en) A method for extracting grassland road information based on high-resolution remote sensing images
CN104848917B (en) A kind of image measuring method for water level analysis in glass flume
CN108319927B (en) A method for automatic identification of diseases
CN102496154B (en) Multi-temporal remote sensing image change detecting method based on Makov random field
CN115601544A (en) A Method of Landslide Detection and Segmentation in High Resolution Image
CN101980295A (en) Detection method of the Yellow River&#39;s main slip line based on skewness analysis
CN105740861A (en) A Fast Method of Statistically Connecting Image Labels

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