CN105469099A - Sparse-representation-classification-based pavement crack detection and identification method - Google Patents

Sparse-representation-classification-based pavement crack detection and identification method Download PDF

Info

Publication number
CN105469099A
CN105469099A CN201510810541.5A CN201510810541A CN105469099A CN 105469099 A CN105469099 A CN 105469099A CN 201510810541 A CN201510810541 A CN 201510810541A CN 105469099 A CN105469099 A CN 105469099A
Authority
CN
China
Prior art keywords
sub
block
blocks
classification
crack
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
CN201510810541.5A
Other languages
Chinese (zh)
Other versions
CN105469099B (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 University of Science and Technology
Original Assignee
Nanjing University of Science and 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 University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201510810541.5A priority Critical patent/CN105469099B/en
Publication of CN105469099A publication Critical patent/CN105469099A/en
Application granted granted Critical
Publication of CN105469099B publication Critical patent/CN105469099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • G06F18/2136Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on sparsity criteria, e.g. with an overcomplete basis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • 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/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/513Sparse representations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

本发明提供了一种基于稀疏表示分类的路面裂缝检测和识别方法,通过引入了稀疏表示分类器(Sparse?Representation-based?Classifier,即SRC),选取有效的子块高阶矩特征,避免了对图像进行预处理和后处理,简化了检测步骤,提高了运行效率。具体包括:训练集(子块)特征向量的提取及归一化、将测试图像分块提取特征并使用SRC进行分类、根据子块分类结果的映射编码识别裂缝类型。本发明提出的方法相比于传统的裂缝检测识别方法具有更高的识别精度和执行效率。

The present invention provides a pavement crack detection and recognition method based on sparse representation classification, by introducing a sparse representation classifier (Sparse? Representation-based? Classifier, namely SRC), selecting effective sub-block high-order moment features, avoiding The image is preprocessed and postprocessed, which simplifies the detection steps and improves the operating efficiency. Specifically, it includes: extraction and normalization of the feature vector of the training set (sub-block), extracting features from the test image into blocks and using SRC for classification, and identifying crack types according to the mapping code of the sub-block classification results. Compared with the traditional crack detection and recognition method, the method proposed by the invention has higher recognition accuracy and execution efficiency.

Description

基于稀疏表示分类的路面裂缝检测和识别方法Pavement Crack Detection and Recognition Method Based on Sparse Representation Classification

技术领域technical field

本发明涉及计算机视觉和模式识别领域,主要是将机器学习的方法用于路面裂缝的检测和识别,具体而言涉及一种基于稀疏表示分类的路面裂缝检测和识别方法。The invention relates to the fields of computer vision and pattern recognition, mainly uses machine learning methods for detection and recognition of road surface cracks, and in particular relates to a method for detection and recognition of road surface cracks based on sparse representation classification.

背景技术Background technique

裂缝是路面最常见的病害,及时准确的发现路面裂缝对高负荷的公路的养护管理至关重要。通过人工视觉检测,需要大量的人力物力,且检测结果带有人的主观性。计算机的快速发展使得人们可以使用电脑完成路面病害的自动检测。Cracks are the most common disease on pavement, timely and accurate detection of pavement cracks is very important for the maintenance and management of high-load roads. Through artificial vision detection, a lot of manpower and material resources are required, and the detection results are subjective. The rapid development of computers has enabled people to use computers to complete automatic detection of road surface diseases.

传统的路面裂缝检测是基于图像的处理和分析,随后一些跨领域的方法也被提出,用以刻画、增强复杂环境下的裂缝特征,为裂缝检测引入了新的思路。如结合模糊集理论的方法、基于人工种群的检测策略、利用目标点最小生成树的检测算法、基于分数阶微分的算法。随着模式识别技术的快速发展,机器学习的方法也被应用于路面裂缝的检测和识别。Traditional pavement crack detection is based on image processing and analysis, and then some cross-field methods have also been proposed to describe and enhance crack characteristics in complex environments, introducing new ideas for crack detection. For example, the method combined with fuzzy set theory, the detection strategy based on artificial population, the detection algorithm using the minimum spanning tree of the target point, and the algorithm based on fractional differential. With the rapid development of pattern recognition technology, machine learning methods have also been applied to the detection and identification of pavement cracks.

模式识别又常称作模式分类,从处理问题的性质和解决问题的方法等角度,模式识别分为有监督的分类(SupervisedClassification)和无监督的分类(UnsupervisedClassification)两种。二者的主要差别在于,各实验样本所属的类别是否预先已知;一般说来,有监督的分类往往需要提供大量已知类别的样本。Pattern recognition is also often called pattern classification. From the perspective of the nature of the problem and the method of solving the problem, pattern recognition is divided into supervised classification (Supervised Classification) and unsupervised classification (Unsupervised Classification). The main difference between the two lies in whether the category of each experimental sample is known in advance; generally speaking, supervised classification often requires a large number of samples of known categories.

近年来各种模式识别方法被应用与路面裂缝的检测和识别,由于实际采集的路面图像噪声成分复杂,许多方法需要进行预处理消除部分噪声的影响,不仅步骤复杂、执行效率低,而且模式识别效果很大程度依赖于图像预处理。In recent years, various pattern recognition methods have been applied to the detection and identification of pavement cracks. Due to the complex noise components of the actually collected pavement images, many methods require preprocessing to eliminate the influence of part of the noise. The effect depends heavily on image preprocessing.

发明内容Contents of the invention

本发明目的在于提供一种基于稀疏表示分类的路面裂缝检测和识别方法,以克服传统方法普遍存在检测精度低、耗时长的缺点。The purpose of the present invention is to provide a pavement crack detection and recognition method based on sparse representation classification, so as to overcome the common shortcomings of low detection accuracy and long time consumption in traditional methods.

本发明的上述目的通过独立权利要求的技术特征实现,从属权利要求以另选或有利的方式发展独立权利要求的技术特征。The above objects of the invention are achieved by the technical features of the independent claims, which the dependent claims develop in an alternative or advantageous manner.

为达成上述目的,本发明提出一种基于稀疏表示分类的路面裂缝检测和识别方法,包括以下步骤:In order to achieve the above object, the present invention proposes a pavement crack detection and recognition method based on sparse representation classification, which includes the following steps:

1)选取训练集,提取训练集的特征向量集并归一化;1) Select the training set, extract the feature vector set of the training set and normalize;

2)对训练集的子块进行标注,分为非裂缝子块和裂缝子块;2) mark the sub-blocks of the training set, and divide them into non-crack sub-blocks and crack sub-blocks;

3)将测试图片分为指定大小的子块,提取每个子块的特征并归一化;3) Divide the test picture into sub-blocks of specified size, extract the features of each sub-block and normalize;

4)根据测试集特征向量,使用SRC对图像的各个子块进行分类,得到子块4) According to the feature vector of the test set, use SRC to classify each sub-block of the image to obtain the sub-block

的类型矩阵;type matrix;

5)对子块类型矩阵进行横向和纵向的映射编码并进行编码增强;5) performing horizontal and vertical mapping coding on the sub-block type matrix and performing coding enhancement;

6)利用步骤5)处理过的编码进行裂缝类型识别。6) Use the code processed in step 5) to identify the type of fracture.

应当理解,前述构思以及在下面更加详细地描述的额外构思的所有组合只要在这样的构思不相互矛盾的情况下都可以被视为本公开的发明主题的一部分。另外,所要求保护的主题的所有组合都被视为本公开的发明主题的一部分。It should be understood that all combinations of the foregoing concepts, as well as additional concepts described in more detail below, may be considered part of the inventive subject matter of the present disclosure, provided such concepts are not mutually inconsistent. Additionally, all combinations of claimed subject matter are considered a part of the inventive subject matter of this disclosure.

结合附图从下面的描述中可以更加全面地理解本发明教导的前述和其他方面、实施例和特征。本发明的其他附加方面例如示例性实施方式的特征和/或有益效果将在下面的描述中显见,或通过根据本发明教导的具体实施方式的实践中得知。The foregoing and other aspects, embodiments and features of the present teachings can be more fully understood from the following description when taken in conjunction with the accompanying drawings. Other additional aspects of the invention, such as the features and/or advantages of the exemplary embodiments, will be apparent from the description below, or learned by practice of specific embodiments in accordance with the teachings of the invention.

附图说明Description of drawings

附图不意在按比例绘制。在附图中,在各个图中示出的每个相同或近似相同的组成部分可以用相同的标号表示。为了清晰起见,在每个图中,并非每个组成部分均被标记。现在,将通过例子并参考附图来描述本发明的各个方面的实施例,其中:The figures are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures may be represented by a like reference numeral. For purposes of clarity, not every component may be labeled in every drawing. Embodiments of the various aspects of the invention will now be described by way of example with reference to the accompanying drawings, in which:

图1是本发明某些实施例的基于稀疏表示分类的路面裂缝检测和识别流程图。Fig. 1 is a flowchart of pavement crack detection and identification based on sparse representation classification according to some embodiments of the present invention.

图2是本发明某些实施例的裂缝识别流程图。Figure 2 is a flowchart of fracture identification in some embodiments of the present invention.

图3是本发明某些实施例的子块分类矩阵的映射编码和编码增强示例图。中间为子块类型矩阵,中间的加粗部分为垂直编码,缩小字体的为水平编码,最外围加粗的为编码增强后的新编码。Fig. 3 is an example diagram of mapping encoding and encoding enhancement of a sub-block classification matrix in some embodiments of the present invention. The middle is the sub-block type matrix, the bold part in the middle is the vertical code, the one with the reduced font is the horizontal code, and the outermost bold part is the new code after code enhancement.

图4是裂缝识别效果示意图,“o”表示偏纵向裂缝,“x”表示网状裂缝,“*”表示偏横向裂缝。Figure 4 is a schematic diagram of the crack identification effect, "o" indicates longitudinal cracks, "x" indicates network cracks, and "*" indicates transverse cracks.

图5是裂缝类型示意图。Figure 5 is a schematic diagram of crack types.

具体实施方式detailed description

为了更了解本发明的技术内容,特举具体实施例并配合所附图式说明如下。In order to better understand the technical content of the present invention, specific embodiments are given together with the attached drawings for description as follows.

在本公开中参照附图来描述本发明的各方面,附图中示出了许多说明的实施例。本公开的实施例不必定意在包括本发明的所有方面。应当理解,上面介绍的多种构思和实施例,以及下面更加详细地描述的那些构思和实施方式可以以很多方式中任意一种来实施,这是因为本发明所公开的构思和实施例并不限于任何实施方式。另外,本发明公开的一些方面可以单独使用,或者与本发明公开的其他方面的任何适当组合来使用。Aspects of the invention are described in this disclosure with reference to the accompanying drawings, which show a number of illustrated embodiments. Embodiments of the present disclosure are not necessarily intended to include all aspects of the invention. It should be appreciated that the various concepts and embodiments described above, as well as those described in more detail below, can be implemented in any of numerous ways, since the concepts and embodiments disclosed herein are not limited to any implementation. In addition, some aspects of the present disclosure may be used alone or in any suitable combination with other aspects of the present disclosure.

根据本发明的实施例,本发明的基于稀疏表示分类的路面裂缝检测和识别方法,通过引入了稀疏表示分类器,并且使用图像子块的高阶矩特征作为分类器分类的依据,不需要对图像进行预处理,在执行效率和识别精度上有了很大的提升。其具体实现主要包括训练集(子块)特征向量的提取及归一化、将测试图像分块提取特征并使用SRC进行分类、根据子块分类结果的映射编码识别裂缝类型三个部分。According to the embodiment of the present invention, the pavement crack detection and recognition method based on sparse representation classification of the present invention introduces a sparse representation classifier and uses the high-order moment features of image sub-blocks as the basis for classifier classification, without the need for Image preprocessing has greatly improved execution efficiency and recognition accuracy. Its specific implementation mainly includes the extraction and normalization of the feature vectors of the training set (sub-block), extracting features from the test image into blocks and classifying them using SRC, and identifying crack types according to the mapping code of the sub-block classification results.

下面结合附图,对本发明的一些示范性实施例加以说明。Some exemplary embodiments of the present invention will be described below with reference to the accompanying drawings.

根据本发明的实施例,一种基于似物性估计的快速行人检测方法,用以克服现有基于滑动窗口的行人检测方法检测速度过慢的问题。结合图1所示,该方法的实现大致包括以下6个步骤:According to an embodiment of the present invention, a fast pedestrian detection method based on object-likeness estimation is used to overcome the problem of too slow detection speed of the existing sliding window-based pedestrian detection method. As shown in Figure 1, the implementation of this method roughly includes the following six steps:

1)选取训练集,提取训练集的特征向量集并归一化;1) Select the training set, extract the feature vector set of the training set and normalize;

2)对训练集的子块进行标注,分为非裂缝子块和裂缝子块;2) mark the sub-blocks of the training set, and divide them into non-crack sub-blocks and crack sub-blocks;

3)将测试图片分为指定大小的子块,提取每个子块的特征并归一化;3) Divide the test picture into sub-blocks of specified size, extract the features of each sub-block and normalize;

4)根据测试集特征向量,使用SRC对图像的各个子块进行分类,得到子块4) According to the feature vector of the test set, use SRC to classify each sub-block of the image to obtain the sub-block

的类型矩阵;type matrix;

5)对子块类型矩阵进行横向和纵向的映射编码并进行编码增强;5) performing horizontal and vertical mapping coding on the sub-block type matrix and performing coding enhancement;

6)利用步骤5)处理过的编码进行裂缝类型识别。6) Use the code processed in step 5) to identify the type of fracture.

上述方法中,所述步骤1)具体为:In the above method, the step 1) is specifically:

11)在采集到的图片中选取多幅图片分为指定大小的子块n×n,子块分为裂缝子块和非裂缝子块;11) Select multiple pictures from the collected pictures and divide them into sub-blocks of specified size n×n, and the sub-blocks are divided into crack sub-blocks and non-crack sub-blocks;

子块过大时,局部特征(细小的裂缝)可能被忽略,导致检测不出来含有裂缝的子块,召回率降低。子块过小时,除了处理起来数据量过大,效率降低以外,会把一些噪声误判为裂缝,降低了精确率;为了保证精确率和召回率,子块大小设为75*75。When the sub-block is too large, local features (small cracks) may be ignored, resulting in the sub-blocks containing cracks not being detected, and the recall rate is reduced. If the sub-block is too small, in addition to the large amount of data to be processed, the efficiency will be reduced, and some noise will be misjudged as cracks, which will reduce the precision rate; in order to ensure the precision and recall rate, the sub-block size is set to 75*75.

12)在步骤11)的子块中选取m(m≥100)个子块作为训练集,提取子块的特征向量(stdM3M4),std为标准差,M3、M4为子块图像的三阶矩特征和四阶矩特征;12) Select m (m≥100) sub-blocks in the sub-blocks of step 11) as the training set, extract the feature vector (stdM3M4) of the sub-block, std is the standard deviation, and M3 and M4 are the third-order moment features of the sub-block image and fourth moment features;

使用矩特征为分类器的特征,使得分类器对噪声相当鲁棒,不需要进行预处理,提高了运行效率。Using the moment feature as the feature of the classifier makes the classifier quite robust to noise, does not require preprocessing, and improves operating efficiency.

13)对每个子块的特征向量进行归一化;13) normalize the feature vector of each sub-block;

上述方法中,所述步骤12)具体为:In the above method, the step 12) is specifically:

121)假设子块为l(n×n),子块的标准差特征std提取方法如公式(1);121) Assuming that the sub-block is l(n×n), the standard deviation feature std extraction method of the sub-block is as formula (1);

sthe s tt dd == ΣΣ ii == 11 nno -- ΣΣ jj == 11 nno (( ll (( ii ,, jj )) -- mm ee aa nno sthe s )) 22 nno 22 -- 11 -- -- -- (( 11 ))

其中, m e a n s = Σ i = 1 n Σ j = 1 n l ( i , j ) n 2 ; in, m e a no the s = Σ i = 1 no Σ j = 1 no l ( i , j ) no 2 ;

123)子块的矩特征提取方法如公式(2),k=3时为三阶矩特征,k=4时为四阶矩特征。123) The moment feature extraction method of the sub-block is as formula (2). When k=3, it is the third-order moment feature, and when k=4, it is the fourth-order moment feature.

mm kk == ΣΣ ii == 11 nno ΣΣ jj == 11 nno (( ll (( ii ,, jj )) -- mm ee aa nno sthe s )) kk nno 22 -- -- -- (( 22 ))

上述方法中,所述步骤2)具体为:In the above method, the step 2) is specifically:

21)对测试集的子块进行标注,分为非裂缝子块和裂缝子块;21) mark the sub-blocks of the test set, and divide them into non-crack sub-blocks and crack sub-blocks;

22)根据标注的groundtruth,将每个测试集的子块的标签设为0和1,0表示非裂缝子块,1表示裂缝子块。22) According to the labeled groundtruth, set the sub-block labels of each test set to 0 and 1, 0 indicates a non-cracked sub-block, and 1 indicates a cracked sub-block.

5、根据权利要求4所述的基于稀疏表示分类的路面裂缝检测和识别方法,其特征在于,所述步骤3)具体包括以下步骤:5. The method for detecting and identifying pavement cracks based on sparse representation classification according to claim 4, wherein said step 3) specifically comprises the following steps:

31)将测试图片P(W×L)分为指定大小的子块,子块大小和步骤11)相同,得到K=M×N(M=W/n,N=L/n)个子块;31) Divide the test picture P(W×L) into sub-blocks of specified size, the size of the sub-blocks is the same as in step 11), and obtain K=M×N (M=W/n, N=L/n) sub-blocks;

32)提取每个子块的特征组成向量(stdM3M4);32) Extract the feature composition vector (stdM3M4) of each sub-block;

33)特征向量归一化;33) Eigenvector normalization;

上述方法中,所述步骤4)具体为:In the above method, the step 4) is specifically:

41)对于不同类型的路面,按照步骤1)提取训练集的特征向量集;41) For different types of road surfaces, extract the feature vector set of the training set according to step 1);

42)使用SRC完成测试图片的K个子块的分类。42) Use SRC to complete the classification of the K sub-blocks of the test picture.

43)根据步骤42)的分类结果得到子块类型矩阵p(M×N),表示测试图片各个子块的分类情况,p(i,j)(i=0、1……M;j=0、1……N)为0或1,0表示非裂缝子块,1表示裂缝子块。43) According to the classification result of step 42), the sub-block type matrix p(M×N) is obtained, which represents the classification of each sub-block of the test picture, p(i, j) (i=0, 1...M; j=0 , 1...N) are 0 or 1, 0 means non-crack sub-block, 1 means crack sub-block.

如图2所示,上述方法中,所述步骤5)具体为:As shown in Figure 2, in the above method, the step 5) is specifically:

51)对步骤43)中的子块类型矩阵p(M×N),在水平方向和垂直方向进行映射编码。51) For the sub-block type matrix p (M×N) in step 43), perform mapping coding in the horizontal direction and the vertical direction.

xi表示子块类型矩阵中第i列1的个数,yj表示子块类型矩阵第j行中1的个数。如图3示例所示;x i represents the number of 1s in the i-th column of the sub-block type matrix, and y j represents the number of 1s in the j-th row of the sub-block type matrix. As shown in the example in Figure 3;

52)以xi为例,选定一个范围X=[xi-dxi+d],d为增强距离参数,按公式(3)进行编码增强,得到新的水平编码。52) Take x i as an example, select a range X=[x id x i+d ], d is the enhanced distance parameter, perform encoding enhancement according to formula (3), and obtain a new horizontal encoding.

xi=max(X)-min(X)(3)x i =max(X)-min(X)(3)

如图3所示,示例中d选取1;As shown in Figure 3, in the example d selects 1;

53)垂直编码增强方法和水平编码类似。53) The vertical coding enhancement method is similar to the horizontal coding.

如图4所示,上述方法中,所述步骤1)具体为:As shown in Figure 4, in the above method, the step 1) is specifically:

61)统计子块标签为1的个数sum;61) Count the number sum of sub-block labels as 1;

62)如果sum为0,此图像类型为正常路面,无裂缝,输出结果,方法结束;62) If the sum is 0, the image type is a normal road surface without cracks, output the result, and the method ends;

63)如果sum不为0,分别求出水平编码和垂直编码的标准差stdx和stdy,执行步骤64)和步骤65);63) If sum is not 0, find the standard deviation stdx and stdy of horizontal coding and vertical coding respectively, perform step 64) and step 65);

64)通过stdx和stdy求出两个值在直角坐标系中与水平轴的夹角θ,如公式(4);64) Calculate the angle θ between the two values in the Cartesian coordinate system and the horizontal axis by stdx and stdy, as in formula (4);

θθ == arcsinarcsin (( sthe s tt dd ythe y // stdystdy 22 ++ stdxstdx 22 )) -- -- -- (( 44 ))

65)根据公式(5)对图像类型进行裂缝类型识别。65) Perform crack type identification on the image type according to formula (5).

偏向性的裂缝表示在此方向上的裂缝居多,而网状裂纹没有明显的偏向。如图6所示,前三幅图为偏横向裂缝,最后一幅图为网状裂缝。The biased cracks indicate that there are mostly cracks in this direction, while the network cracks have no obvious bias. As shown in Fig. 6, the first three pictures show partial lateral fractures, and the last picture shows network cracks.

综上所述,本发明提供了一种基于稀疏表示分类的路面裂缝检测和识别方法。把机器学习的方法应用于路面裂缝的检测和识别,普遍存在检测精度低、耗时长的缺点,针对这一问题,本发明引入了稀疏表示分类器(SparseRepresentation-basedClassifier,即SRC),通过选取有效的子块高阶矩特征,避免了对图像进行预处理和后处理,简化了检测步骤,提高了运行效率。具体包括:训练集(子块)特征向量的提取及归一化、将测试图像分块提取特征并使用SRC进行分类、根据子块分类结果的映射编码识别裂缝类型。本发明提出的方法相比于传统的裂缝检车识别方法具有更高的识别精度和执行效率。To sum up, the present invention provides a pavement crack detection and recognition method based on sparse representation classification. Applying the method of machine learning to the detection and identification of pavement cracks generally has the disadvantages of low detection accuracy and long time consumption. To solve this problem, the present invention introduces a sparse representation classifier (Sparse Representation-based Classifier, namely SRC), by selecting an effective The sub-block high-order moment feature avoids image preprocessing and postprocessing, simplifies the detection steps, and improves operating efficiency. Specifically, it includes: extraction and normalization of the feature vector of the training set (sub-block), extracting features from the test image into blocks and using SRC for classification, and identifying crack types according to the mapping code of the sub-block classification results. Compared with the traditional crack detection vehicle identification method, the method proposed by the invention has higher identification accuracy and execution efficiency.

虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art of the present invention can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.

Claims (8)

1. A pavement crack detection and identification method based on sparse representation classification is characterized by comprising the following steps:
1) selecting a training set, extracting a feature vector set of the training set and normalizing;
2) labeling the sub-blocks of the training set, and dividing the sub-blocks into non-crack sub-blocks and crack sub-blocks;
3) dividing the test picture into subblocks with specified sizes, extracting the characteristics of each subblock and normalizing;
4) classifying each sub-block of the image by using SRC according to the characteristic vector of the test set to obtain a type matrix of the sub-block;
5) carrying out horizontal and longitudinal mapping coding on the sub-block type matrix and carrying out coding enhancement;
6) and identifying the crack type by using the code processed in the step 5).
2. The sparse representation classification-based pavement crack detection and identification method according to claim 1, wherein the step 1) specifically comprises the following steps:
11) selecting a plurality of pictures from the collected pictures to be divided into subblocks of n multiplied by n with specified sizes, wherein the subblocks are divided into crack subblocks and non-crack subblocks;
12) selecting M subblocks with the number being more than or equal to 100 from the subblocks in the step 11) as a training set, extracting a feature vector (stdM3M4) of the subblocks, wherein std is a standard deviation, and M3 and M4 are third-order moment features and fourth-order moment features of subblock images;
13) the feature vectors of each sub-block are normalized.
3. The pavement crack detection and identification method based on sparse representation classification as claimed in claim 2, wherein the step 12) comprises the following steps:
121) assuming that the subblock is l and the size of the subblock is n multiplied by n, the method for extracting the standard deviation feature std of the subblock is as shown in the formula (1);
s t d = Σ i = 1 n Σ j = 1 n ( l ( i , j ) - m e a n s ) 2 n 2 - 1 - - - ( 1 )
wherein, m e a n s = Σ i = 1 n Σ j = 1 n l ( i , j ) n 2 ;
122) the moment feature extraction method of the sub-blocks is as in formula (2), wherein when k is 3, the moment feature is a third-order moment feature, and when k is 4, the moment feature is a fourth-order moment feature:
m k = Σ i = 1 n Σ j = 1 n ( l ( i , j ) - m e a n s ) k n 2 . - - - ( 2 )
4. the pavement crack detection and identification method based on sparse representation classification as claimed in claim 3, wherein the step 2) specifically comprises the following steps:
21) labeling the sub-blocks of the test set, and dividing the sub-blocks into non-crack sub-blocks and crack sub-blocks;
22) the labels of the sub-blocks of each test set are set to 0 and 1 according to the labeled grountruth, with 0 representing a non-fractured sub-block and 1 representing a fractured sub-block.
5. The pavement crack detection and identification method based on sparse representation classification as claimed in claim 4, wherein the step 3) specifically comprises the following steps:
31) dividing the test picture P with the size of W multiplied by L into subblocks with the specified size, wherein the subblock size is the same as that in the step 11), and obtaining K multiplied by N subblocks, M multiplied by W/N, and N multiplied by L/N;
32) extracting a feature composition vector (stdM3M4) of each sub-block;
33) and normalizing the feature vector.
6. The pavement crack detection and identification method based on sparse representation classification as claimed in claim 5, wherein the step 4) specifically comprises the following steps:
41) for different types of pavements, extracting a feature vector set of a training set according to the step 1);
42) finishing classification of K sub-blocks of the test picture by using the SRC;
43) obtaining a sub-block type matrix p (M × N) according to the classification result in step 42), which represents the classification condition of each sub-block of the test picture, where p (i, j) is 0 or 1,0 represents a non-crack sub-block, 1 represents a crack sub-block, and i is 0,1, 2.
7. The pavement crack detection and identification method based on sparse representation classification as claimed in claim 6, wherein the step 5) specifically comprises the following steps:
51) mapping and coding the subblock type matrix p (M × N) in the step 43) in the horizontal direction and the vertical direction to obtain horizontal codes (x)1x2……xN) And vertical coding (y)1y2……yM);
xiIndicates the number of i-th column 1 in the subblock type matrix, yjIndicating the number of 1's in the jth row of the subblock type matrix.
52) For xiSelecting a range of X ═ Xi-dxi+d]D is an enhancement distance parameter, and coding enhancement is carried out according to a formula (3) to obtain a new horizontal code:
xi=max(X)-min(X)(3)
53) vertical coding enhancement is performed in the same manner as horizontal coding described above.
8. The pavement crack detection and identification method based on sparse representation classification as claimed in claim 7, wherein the step 6) specifically comprises the following steps:
61) counting the number sum of sub-block labels of 1;
62) if sum is 0, the image type is a normal road surface, no crack exists, a result is output, and the method is ended;
63) if sum is not 0, finding the standard deviations stdx and stdy of the horizontal encoding and the vertical encoding, respectively, and performing step 64) and step 65);
64) and (3) calculating an included angle theta between the two values and a horizontal axis in the rectangular coordinate system through stdx and stdy, as shown in a formula (4):
θ = arcsin ( s t d y / stdy 2 + stdx 2 ) - - - ( 4 )
65) and (3) identifying the type of the image according to a formula (5):
CN201510810541.5A 2015-11-20 2015-11-20 Pavement crack detection and identification method based on sparse representation classification Active CN105469099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510810541.5A CN105469099B (en) 2015-11-20 2015-11-20 Pavement crack detection and identification method based on sparse representation classification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510810541.5A CN105469099B (en) 2015-11-20 2015-11-20 Pavement crack detection and identification method based on sparse representation classification

Publications (2)

Publication Number Publication Date
CN105469099A true CN105469099A (en) 2016-04-06
CN105469099B CN105469099B (en) 2019-12-27

Family

ID=55606770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510810541.5A Active CN105469099B (en) 2015-11-20 2015-11-20 Pavement crack detection and identification method based on sparse representation classification

Country Status (1)

Country Link
CN (1) CN105469099B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106826832A (en) * 2017-02-27 2017-06-13 广东工业大学 A kind of welding robot and its weld seam path learning method, system
CN108288063A (en) * 2018-01-09 2018-07-17 交通运输部公路科学研究所 The meteorology on road surface determines method, apparatus and system
CN108764301A (en) * 2018-05-07 2018-11-06 石家庄铁道大学 A kind of distress in concrete detection method based on reversed rarefaction representation
CN115100173A (en) * 2022-07-11 2022-09-23 西北工业大学 Geometric attribute detection and crack identification method of road pavement image cracks based on deep convolutional neural network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510261A (en) * 2009-03-23 2009-08-19 哈尔滨工业大学 Highway pavement diseases characteristic extracting method based on sparse resolution theory
US20090316988A1 (en) * 2008-06-18 2009-12-24 Samsung Electronics Co., Ltd. System and method for class-specific object segmentation of image data
CN104392224A (en) * 2014-12-04 2015-03-04 西南交通大学 Crack detection method for road surface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316988A1 (en) * 2008-06-18 2009-12-24 Samsung Electronics Co., Ltd. System and method for class-specific object segmentation of image data
CN101510261A (en) * 2009-03-23 2009-08-19 哈尔滨工业大学 Highway pavement diseases characteristic extracting method based on sparse resolution theory
CN104392224A (en) * 2014-12-04 2015-03-04 西南交通大学 Crack detection method for road surface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钱彬 等: "基于稀疏自编码的路面裂缝", 《北京理工大学学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106826832A (en) * 2017-02-27 2017-06-13 广东工业大学 A kind of welding robot and its weld seam path learning method, system
CN108288063A (en) * 2018-01-09 2018-07-17 交通运输部公路科学研究所 The meteorology on road surface determines method, apparatus and system
CN108764301A (en) * 2018-05-07 2018-11-06 石家庄铁道大学 A kind of distress in concrete detection method based on reversed rarefaction representation
CN115100173A (en) * 2022-07-11 2022-09-23 西北工业大学 Geometric attribute detection and crack identification method of road pavement image cracks based on deep convolutional neural network
CN115100173B (en) * 2022-07-11 2024-02-27 西北工业大学 Road pavement image crack geometric property detection and crack identification method based on deep convolutional neural network

Also Published As

Publication number Publication date
CN105469099B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN110018524B (en) A vision-attribute-based X-ray security inspection contraband identification method
CN102184405B (en) Image Acquisition and Analysis Method
CN102096821B (en) Number plate identification method under strong interference environment on basis of complex network theory
CN107092829B (en) Malicious code detection method based on image matching
CN114998852A (en) Intelligent detection method for road pavement diseases based on deep learning
CN104182985B (en) Remote sensing image change detection method
CN103617435A (en) Image sorting method and system for active learning
CN108961230B (en) Identification and extraction method for structural surface crack characteristics
CN108520215B (en) Single-sample face recognition method based on multi-scale joint feature encoder
CN105513039A (en) Charged insulator string icing bridging degree intelligent image analysis method
CN103439348A (en) Remote controller key defect detection method based on difference image method
CN108520278A (en) A Detection Method and Evaluation Method for Pavement Cracks Based on Random Forest
CN105469099B (en) Pavement crack detection and identification method based on sparse representation classification
CN106682278B (en) Device and method for determining accuracy of supersonic flow field prediction based on image processing
CN105046241B (en) Target level method for detecting change of remote sensing image based on RBM models
CN104751175B (en) SAR image multiclass mark scene classification method based on Incremental support vector machine
CN105389799B (en) SAR image object detection method based on sketch map and low-rank decomposition
CN102411711A (en) A Finger Vein Recognition Method Based on Personalized Weights
CN105023027A (en) Sole trace pattern image retrieval method based on multi-feedback mechanism
CN104680545A (en) Method for detecting existence of salient objects in optical images
CN102542543A (en) Block similarity-based interactive image segmenting method
CN103093243A (en) High resolution panchromatic remote sensing image cloud discriminating method
CN104268557B (en) Polarization SAR sorting technique based on coorinated training and depth S VM
Kaur et al. A methodology for the performance analysis of cluster based image segmentation
Wu et al. [Retracted] Deep Learning‐Based Crack Monitoring for Ultra‐High Performance Concrete (UHPC)

Legal Events

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