A method and device for detecting internal defects of highway pavement structure
By combining the detection results of vertical section and horizontal plane neural network models in highway disease identification, and using D-S evidence theory fusion, the existing technology has solved the problem of failure to fully utilize three-dimensional ground penetrating radar data and the high risk of misjudgment, and achieved a better High disease identification accuracy and positioning accuracy.
Patent Information
- Application Number
- CN202410833451.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing highway disease identification methods only rely on longitudinal radar images and fail to make full use of three-dimensional ground penetrating radar data, resulting in a high risk of misjudgment.
A neural network model with two dimensions of vertical section and horizontal plane is used, and the detection results of different dimensions are combined to make a comprehensive judgment. The CP-YOLOX model is used for positioning and the ViT model is used for classification, and the D-S evidence theory is used to fuse the model results.
It improves the accuracy of disease location and identification, makes full use of three-dimensional ground penetrating radar data, and reduces the risk of misjudgment.
Smart Images

Figure CN118396996B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image recognition and processing, and in particular to a method and equipment for detecting internal defects of a highway pavement structure. Background Art
[0002] At present, in the waveform recognition of 3D ground penetrating radar, most of the training and identification of defects are based on one of the three cross-sectional images of the radar, namely the longitudinal section. However, automatic positioning and defect identification only on the longitudinal section image cannot fully utilize the detection data of 3D ground penetrating radar. On the other hand, since the specific appearance of some defect types can only be seen on other sections, judging the internal defect type of the road surface only by the longitudinal section radar image has a high risk of misjudgment. Summary of the invention
[0003] In order to solve the problems that the existing highway defect identification does not fully utilize the detection data of three-dimensional ground penetrating radar, and there is a high risk of misjudgment when judging defects only by longitudinal section radar images, the present invention provides a highway pavement structure internal defect detection method and equipment that comprehensively judges the defect type by combining the detection results of different dimensions at the same location by establishing a neural network model in two dimensions of longitudinal section and horizontal plane.
[0004] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions:
[0005] In a first aspect, the present invention provides a method for detecting internal defects of a highway pavement structure, the method comprising:
[0006] Obtaining longitudinal section radar images and horizontal plane radar images of the road surface;
[0007] Inputting the longitudinal section radar image into a trained longitudinal section positioning model to obtain an abnormal longitudinal section image and position coordinates of the disease;
[0008] Inputting the position coordinates and the horizontal plane radar image into a trained horizontal plane positioning model to obtain an abnormal horizontal plane image of the disease;
[0009] Inputting the abnormal longitudinal section image and the abnormal horizontal plane image into a trained disease recognition model to obtain the type of disease and realize disease detection;
[0010] The longitudinal section positioning model and the horizontal plane positioning model adopt the CP-YOLOX model, and the CP-YOLOX model includes a DarkNet53-SPP network, a Backbone network and a Neck network;
[0011] The disease identification model construction process includes:
[0012] Obtain historical longitudinal section radar images and historical horizontal plane radar images of the road surface, and input them into the trained longitudinal section positioning model and horizontal plane positioning model respectively to obtain longitudinal section abnormality images and horizontal plane abnormality images of historical diseases;
[0013] Classifying abnormal longitudinal section images of historical diseases according to highway disease types, establishing a first data set, and training the constructed first classification model based on the first data set;
[0014] Classify the horizontal surface disease images of historical diseases according to the radar waveform characteristics, establish a second data set, and train the constructed second classification model according to the second data set;
[0015] According to the DS evidence theory, the trained first classification model and the second classification model are fused into the classification layer of the disease recognition model to obtain the constructed disease recognition model;
[0016] The first classification model and the second classification model adopt a ViT model, and the ViT model includes an embedding layer, a feature extraction layer and a classification layer.
[0017] According to a specific implementation, in the above detection method, the training process of the disease recognition model includes:
[0018] Acquiring the location coordinates of the historical disease from the historical longitudinal radar image through the trained longitudinal section positioning model;
[0019] According to the location coordinates of historical diseases, the abnormal longitudinal section images and abnormal horizontal plane images of historical diseases are associated to construct a joint data set;
[0020] The disease recognition model is trained according to the joint data set to obtain a trained disease recognition model.
[0021] According to a specific implementation, in the above-mentioned detection method, before the longitudinal section radar image or the historical longitudinal section radar image is input into the longitudinal section positioning model, random data enhancement is used for preprocessing; before the horizontal plane radar image or the historical horizontal plane radar image is input into the horizontal plane positioning model, random data enhancement is used for preprocessing.
[0022] According to a specific implementation, in the above detection method, the random data enhancement includes randomly cropping the image, randomly scaling the length and width of the image, and randomly distorting the color gamut of the image.
[0023] According to a specific implementation, in the above detection method, the types of highway diseases include cracks, repairs, voids, poor interlayer adhesion and mixture segregation.
[0024] According to a specific implementation, in the above detection method, the radar waveform characteristics include multiple disease combinations, and each disease combination includes a different combination of the highway disease types.
[0025] According to a specific implementation, in the above detection method, a second data set corresponding to the disease combination is constructed based on each disease combination, and the constructed second classification model is trained based on the second data set corresponding to the disease combination to obtain the second classification model corresponding to the disease combination.
[0026] According to a specific implementation, in the above detection method, the constructed disease recognition model is used to identify the highway disease type in the longitudinal section abnormal image, and the highway disease type in the horizontal surface disease image under the corresponding disease combination.
[0027] In a second aspect, the present invention provides an electronic device comprising at least one processor and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the above-mentioned methods for detecting internal defects in a highway pavement structure.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] The present invention improves the positioning accuracy of abnormal waveforms by positioning the radar images of the longitudinal section and the horizontal plane respectively. At the same time, the present invention fuses the horizontal and vertical models through the DS evidence theory, and comprehensively judges the type of disease by combining the detection results of different dimensions at the same position, thereby improving the accuracy of identifying internal structural diseases of the road surface and the accuracy of disease identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of a flow chart of a method for detecting internal defects of a highway pavement structure provided in an embodiment of the present application;
[0031] Figure 2 A schematic diagram of the structure of the CP-YOLOX model provided in the embodiments of the present application;
[0032] Figure 3 A schematic diagram of the overall structure of the ViT model provided in the embodiment of the present application;
[0033] Figure 4 A schematic diagram of the processing flow of the disease identification model provided in the embodiment of the present application;
[0034] Figure 5 A schematic diagram of the change in accuracy of different models before and after fusion provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The present invention is further described in detail below in conjunction with test examples and specific implementation methods. However, this should not be understood as the scope of the above subject matter of the present invention being limited to the following embodiments, and all technologies realized based on the content of the present invention belong to the scope of the present invention.
[0036] The terms "first", "second", etc. in the specification embodiments, claims, and drawings of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product, or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0037] First, the embodiments of the present application provide
[0038] Please refer to Figure 1 , which shows a schematic flow chart of a method for detecting internal defects of a highway pavement structure provided in an embodiment of the present application, the method comprising:
[0039] S1. Obtaining a longitudinal section radar image and a horizontal plane radar image of the road surface.
[0040] S2. Input the longitudinal section radar image into a trained longitudinal section positioning model to obtain an abnormal longitudinal section image and position coordinates of the disease.
[0041] S3. Input the position coordinates and the horizontal plane radar image into a trained horizontal plane positioning model to obtain an abnormal horizontal plane image of the disease.
[0042] S4. Input the abnormal longitudinal section image and the abnormal horizontal plane image into a trained disease recognition model to obtain the type of disease and implement disease detection.
[0043] Among them, the longitudinal section positioning model and the horizontal plane positioning model adopt the CP-YOLOX model; before the longitudinal section radar image or the historical longitudinal section radar image is input into the longitudinal section positioning model, random data enhancement is used for preprocessing; before the horizontal plane radar image or the historical horizontal plane radar image is input into the horizontal plane positioning model, random data enhancement is used for preprocessing.
[0044] In the present application, in order to improve the efficiency and accuracy of pavement structure disease detection, a technical solution that can quickly locate the location of the disease is proposed for ground penetrating radar waveform images. Due to the large number of interference factors in radar waveform images, although the waveform characteristics of the disease can be identified from the radar image, there are still some waveforms that are neither diseases nor completely interference-free. These waveform images will affect the accuracy of data set annotation to a certain extent, and will also affect the accuracy of model training and prediction. Therefore, the longitudinal section positioning model and the horizontal plane positioning model provided in this application are based on the YOLOX model and adopt a deep learning model CP-YOLOX (CSPDarkNet PANYou Only Look Once X) for locating abnormal waveforms of ground penetrating radar. The target of the CP-YOLOX model is the abnormal radar waveform. Its main function is to locate the position of the abnormal waveform of the two horizontal and vertical sections, and to cut out the abnormal radar waveform from the original image according to the output position coordinates, so as to provide data samples for subsequent disease classification and horizontal and vertical model fusion.
[0045] The training process and structure of the longitudinal section positioning model and the horizontal plane positioning model are further described below.
[0046] In a possible implementation, two types of original radar images with resolutions of 1040*208 pixel and 1248*208 pixel are obtained, totaling 3148 images, corresponding to longitudinal lengths of 50m and 60m, width and depth of 0.8m. The 3148 original radar images are divided into 7376 radar images, and then the images are scaled to the 416*416 pixel size required by the model, to obtain 3688 horizontal plane images and longitudinal section images, and data sets are established based on the horizontal plane images and longitudinal section images.
[0047] In order to reduce overfitting and improve the accuracy of the CP-YOLOX model, a data enhancement method is used in the embodiment of the present application. Before the above-mentioned data set is input into the model, the data set needs to be randomly enhanced. Random data enhancement mainly includes: randomly cropping the image; randomly scaling the length and width of the image; randomly distorting the color gamut of the image. These three data enhancement methods are performed simultaneously. In order to ensure that the input image size is 416*416 pixel, the randomly enhanced image also needs to be filled with grayscale values.
[0048] Generally, the YOLOX model uses the DarkNet53-SPP network as the backbone feature extraction network of the model, and the FPN network as the feature enhancement network of the model. Based on the YOLOX, YOLOv4, and YOLOv5 models, this embodiment of the application recombines the different structures of the three models to build a new YOLOX model with CSPDarkNet53-SPP as the backbone feature extraction network and PAN as the feature enhancement network. The model is named CP-YOLOX, please refer to Figure 2 , which shows a schematic diagram of the structure of the CP-YOLOX model provided in the embodiments of the present application.
[0049] Among them, the main function of the Backbone network is to extract features from the input image. The Backbone network is generally composed of the feature extraction part of the classification network, so the selection range of the Backbone network is very wide, such as EfficientNet, MobileNet, DenseNet, ResNet network, etc. The classification layer of these networks is removed, and only the feature extraction part is retained, which can be used as the Backbone network.
[0050] The CSPDarkNet53-SPP network is a backbone feature extraction network built on the basis of the DarkNet53 network and the CSPNet model, which contains 4 CSPLayer modules.
[0051] In addition, the embodiment of the present application also adds a Focus network and an SPP network, and the corresponding DarkNet53 network only contains a residual structure. In addition, DarkNet53 uses a LeakyReLU activation function, while CSPDarkNet53-SPP uses a SiLU activation function.
[0052] Specifically, the Backbone network provided in the embodiments of the present application includes a Focus network, a CBS network, a CSPLayerX network and an SPP network.
[0053] The Focus network is a new structure added to the YOLOv5 model.
[0054] The CBS network is a convolution Conv network, a standardized Batch Norm network, and an activation function SiLU. This network is the most basic structure in the CP-YOLOX model.
[0055] The CSPLayerX network is the main structure of the CSPDarkNet53-SPP network, and its main function is to reduce the amount of calculation while ensuring the model's feature extraction capability. The network divides the input feature layer into two parts through a 1*1 convolution, one part of which is connected to the residual network for feature extraction, and the other part is not processed. The two parts of the feature layer are then stacked, and then 1*1 convolution is used for channel integration, where x refers to the number of cycles of the residual structure Res unit. The CSPLayerX network provided in the embodiment of the present application includes a CBS3 module with a convolution kernel size of 3*3, which mainly determines the number of convolution kernels and reduces the size of the feature layer. Two CBS1 modules are connected to the back to divide the feature map into two parts, one part passes through x residual structures Resunit, and the other part is not processed. The two parts are then stacked and channel integration is performed through 1*1 convolution.
[0056] The SPP network is a spatial pooling layer. The SPP structure first reduces the dimension through 1*1 convolution, then extracts features through 4 maximum pooling layers of different sizes, and then stacks them, and then adjusts the number of channels through 1*1 convolution.
[0057] In addition to the CSPLayer module, the last layer of the CSPDarkNet53-SPP network also adds an SPP network to the two CBS networks.
[0058] The CP-YOLOX model based on the CSPDarkNet53-SPP network and the PAN network built in the embodiment of the present application analyzes the influence of the model size on the model performance and efficiency on this basis. Five models of different sizes are proposed, represented by the symbols Tiny, S, M, L, and X, respectively. The number of residual structure cycles corresponding to each CSPLayer network is 3, 9, 9, and 3 times, respectively, and the corresponding number of convolution kernels is 64, 128, 256, 512, and 1024, respectively. The network has a total of 67 convolution layers. The best model obtained after training and testing is the CP-YOLOX-M model, and the number of residual structure Res unit cycles is 2, 6, 6, and 2 times, respectively, and the number of convolution kernels per layer is 48, 96, 192, 384, and 768, respectively.
[0059] Furthermore, the Neck network in the CP-YOLOX model is used to fuse the three feature layers obtained to improve the efficiency of feature extraction of each feature layer. In the original YOLOX model, the Neck network uses an FPN network, which first upsamples the three input feature layers and then directly outputs them after feature fusion. In the embodiment of the present application, a PAN network is used to replace the FPN network.
[0060] The PAN network is based on the FPN network and further fuses the information between feature layers, that is, it fuses strong semantic features and strong positioning features. After the input radar image passes through the backbone feature extraction network, three feature layers, feat1, feat2, and feat3, are obtained. The three feature layers are first upsampled and feature fused twice in the PAN network, and then downsampled and feature fused twice, to obtain feature layers of three scales after feature enhancement.
[0061] In the embodiment of the present application, the CP-YOLOX model uses an exponential descent method to calculate the learning rate. The exponential descent mainly means that the learning rate will continue to decrease according to an exponential function as the number of iterations (epoch) increases. The formula is as follows:
[0062]
[0063] Among them, lr b is the initial learning rate, γ is the learning rate attenuation coefficient, epoch is the number of training iterations, lr is the learning rate.
[0064] The CP-YOLOX model was initially trained for 200 epochs, i.e., all data were iteratively trained for 200 rounds, divided into two stages of training. The first stage was trained for 100 epochs, and the initial learning rate was set to 1×10 -3 , the decay coefficient γ is 0.97; the second stage is trained for 100 epochs, and the initial learning rate is set to 1×10 -4 , the decay coefficient γ remains unchanged at 0.97. When the loss value of the validation set continues to no longer decrease for 20 epochs, the model training is terminated.
[0065] Furthermore, the optimizer used for training the CP-YOLOX model is the Adam optimizer, in which the parameters of the first-order momentum and the second-order momentum are the default values of 0.9 and 0.999. As mentioned above, the learning rate decrease method adopts an exponential decrease method.
[0066] It should be noted that the longitudinal section radar image and the horizontal plane radar image show different waveform characteristics under different disease types. Therefore, the longitudinal section radar image is the main basis for the identification of diseases, and the horizontal plane radar image is an auxiliary basis for identification.
[0067] The construction and training process of the disease recognition model provided in the embodiment of the present application is further introduced and explained below.
[0068] For the two dimensions of horizontal plane and longitudinal section, a first data set is established according to the longitudinal section disease classification data, and a second data set is established according to the horizontal plane disease classification data. To achieve disease classification, the embodiment of the present application provides a first classification model for longitudinal section disease classification and a second classification model for horizontal plane disease classification. The first / second classification model is constructed based on the VIT model. On the basis of the ViT (Vision Transformer) model, 5 SViT (Simple Vision Transformer) models with different parameter scales are designed and built. The first model and the second model are then trained with the first data set and the second data set, respectively, to obtain the first classification model of the longitudinal section disease classifier and the second classification model of the horizontal plane disease classifier.
[0069] Specifically, there are many types of pavement structure diseases, and the corresponding radar waveform characteristics are also different. In order to reduce manual discrimination errors and improve recognition efficiency, according to the typical disease types, the embodiment of this application divides the waveforms detected by the radar into five types: cracks, repairs, voids, poor interlayer adhesion, and mixture segregation. On this basis, some abnormal radar waveforms that cannot be distinguished are classified as interference, with a total of 6 categories, represented by symbols D1 (Disease 1), D2, D3, D4, D5, and D6, as shown in Table 1.
[0070] Table 1 is the classification table of radar abnormal waveform diseases
[0071] Disease type crack repair empty Poor interlayer adhesion Mixture segregation interference symbol D1 D2 D3 D4 D5 D6
[0072] The waveform characteristics of the same disease in the longitudinal section and horizontal plane radar images are different. The longitudinal section radar image is the main basis for distinguishing the type of disease. The radar waveform characteristics corresponding to different diseases are quite different and can be classified according to Table 1. The classification and naming method of abnormal waveforms of longitudinal section radar is shown in Table 2, where LD1 (Longitudinal Disease 1) indicates cracks.
[0073] Table 2 shows the classification of abnormal waveforms of longitudinal radar
[0074] Disease type Crack D1 Patching D2 Empty D3 Poor interlayer adhesion D4 Mixture Segregation D5 Other interference D6 symbol LD1 LD2 LD3 LD4 LD5 LD6
[0075] These abnormal waveforms are intercepted from the radar image to establish a longitudinal section disease classification data set, i.e., the first data set. Since the input of the classification model is a square image of 224*224 pixels, and the intercepted radar abnormal waveforms have different shapes, in order to ensure the consistency of the image input size, the abnormal waveforms are filled with gray values, and the image size is readjusted in a fixed waveform aspect ratio to ensure the stability of different disease characteristics.
[0076] For horizontal radar images, the waveform features displayed on radar images of different pavement structure diseases may be the same. For example, the waveforms of poor interlayer bonding and mixture segregation are all chaotic. In addition, due to the complex internal structure of the pavement, interference waveforms will appear in the radar image, affecting the observer's judgment of the disease category. For example, the crack features of some waveforms are not obvious, and the type of disease cannot be determined. Such waveform features can be regarded as cracks or interference. Horizontal radar images are mainly used to assist in distinguishing the type of disease, and their categories do not need to be divided according to the type of disease. It is more in line with the actual situation to divide the categories according to the waveform features of the radar. Based on the above reasons, the embodiment of the present application proposes three division schemes to establish a horizontal surface disease classification data set, namely the second data set. Through training and testing of the three data sets, the influence of different division methods on the model detection results is analyzed. The three classification schemes are shown in Table 3, where PD1 (PlaneDisease 1) indicates that all radar waveform images in this category are cracks; PD16 indicates that all radar waveform images in this category can be regarded as cracks or interference; similarly, PD45 indicates that all radar waveform images in this category can be regarded as poor interlayer adhesion or mixture segregation; PD6 indicates that the image in this category cannot determine its possible disease type, and the other symbols are similar. The number of categories corresponding to the three classification schemes is 5, 4, and 3, respectively.
[0077] Table 3 shows the classification method of abnormal waveforms of horizontal radar
[0078]
[0079] Similar to the processing method of abnormal waveforms in longitudinal section, these abnormal waveforms are cut out from the horizontal radar image. In order to ensure the consistency of input size, the horizontal abnormal waveform image is first filled with gray value and then adjusted to 224*224 pixel size to ensure the stability of radar waveform characteristics.
[0080] In order to verify the effectiveness of the fusion of the horizontal plane and longitudinal section model, the defect waveform at the intersection of the horizontal plane and the longitudinal section is synchronously intercepted for model training and testing. First, the longitudinal section radar image is detected by the longitudinal section positioning model, and the position coordinates of the abnormal waveform of the longitudinal section are output. The position coordinates include the length and depth of the abnormal waveform. After that, the position coordinates are analyzed. If the horizontal plane radar image is within its depth range, the radar image within 0.2m before and after the corresponding longitudinal section channel position is intercepted in the horizontal plane radar image, forming a one-to-one correspondence between the abnormal waveform images of the horizontal plane and the longitudinal section.
[0081] Furthermore, the ViT (Vision Transformer) model is an image classification model inspired by the Transformer model in the field of Natural Language Processing (NLP). The ViT model has excellent results in the field of computer vision. The main structure of the model includes three modules, namely the embedding layer, the feature extraction layer, the Transformer Encoder, and the classification layer, the MLP Head. Please refer to Figure 3 , which shows a schematic diagram of the overall structure of the ViT model provided in an embodiment of the present application.
[0082] The ViT model first divides the input abnormal image into image blocks of the same size, then flattens the three-dimensional data of the length, width, and channel of each image block into a one-dimensional vector, and embeds the position information and category information through the Embedding layer; then the processed vector sequence with position information and category information is passed to the Transformer encoding module for feature extraction, and the Transformer encoder is repeated multiple times to better extract image features; finally, the category information is extracted separately from the vector sequence, input into the classification layer for classification, and the category probability is output.
[0083] The data shape at the input of the Transformer encoder is a two-dimensional vector sequence, while the standard image data is three-dimensional data of length, width, and channels, so the image data needs to be processed before it is input into the Transformer encoder. First, the input radar image of size 224*224*1 is divided into 14*14 image blocks, a total of 196 image blocks, and each image block is 16*16 pixels in size; then, each image block is flattened into a one-dimensional vector, and the 16*16 pixel image block is flattened to obtain a one-dimensional vector of length 256. After that, all the image blocks are stacked together to obtain a vector sequence of size 196*256. In addition, a set of vectors specifically used for classification is added to the vector sequence for feature extraction. This vector can be trained together with the network, and its length is 256 dimensions. The vector sequence now becomes 197*256 in size. In order to enable the network to distinguish different regions, it is also necessary to add position information to the vector sequence. The position information is a trainable parameter matrix of 197*256. The adding method is to directly add the position information to the 197*256 vector sequence. The one-dimensional vector of each image block is flattened, with a length of 256 dimensions. The length of the category information is also 256 dimensions. The position information corresponds one-to-one to the 197*256 vector sequence.
[0084] The convolution kernel and its step size in the convolution layer are set to 16*16. In this way, after the image is input into the convolution layer, a feature layer of size 14*14*256 is obtained. Then the first two dimensions of the feature layer are flattened to obtain 196 vector sequences of size 256. The category information and position information of the vector sequence are stacked and added by two sets of trainable parameters.
[0085] The Transformer encoder is the core structure of the ViT model, which is used to extract features from input data. The Transformer encoder contains two residual structures. In the first residual structure, the data is sequentially normalized (Layer Norm), multi-head self-attention module (Multi-Head Attention) and Dropout layer. In the second residual structure, the data is sequentially normalized, multi-layer perceptron and Dropout layer.
[0086] The multi-head self-attention module divides the input data into multiple parts based on the self-attention mechanism, and then performs self-attention calculations on each part of the data. For radar data, before entering the multi-head self-attention module, the input feature vector will be amplified three times through the fully connected layer, and then divided into three parts: query vector, key vector, and value vector in the self-attention mechanism; then the query vector and the key vector are matrix multiplied to obtain the importance score of each feature vector, and then the matrix is multiplied with the value vector after the Softmax layer to output the result. The multi-head self-attention module will divide the data equally according to the set number of heads. In the proposed SViT model, the number of heads is set to 4, that is, the 197*256-dimensional vector sequence will be divided into 4 197*64-dimensional vector sequences and input into the multi-head self-attention module. After the data output by the multi-head self-attention module passes through the Dropout layer, it is residually connected with the input end, and the result is then input into the next residual structure. In the second residual structure, the number of neurons in the first fully connected layer is four times that of the input, that is, 1024 neurons. The number of neurons in the second fully connected layer is 256, which is consistent with the input. The Dropout parameter is set to 0.1.
[0087] The feature extraction part of the ViT model is actually a repeated Transformer encoder structure, and a typical Transformer encoder cycles 12 times in total. The difference between the five SViT models proposed in the embodiments of this application lies in the number of times the Transformer encoder cycles. The number of cycles of the five SViT model encoders are 3, 6, 9, 12, and 15 respectively, and the five models are named SViT-3, SViT-6, SViT-9, SViT-12, and SViT-15 respectively.
[0088] After feature extraction through the Transformer encoder, the output size remains unchanged at 197*256. This includes the category vector 1*256 embedded in the Embedding layer. The category vector has learned the features of the radar image through the Transformer encoder. When classifying diseases, you only need to input the category vector into the classification layer to classify the image. The structure of the classification layer is mainly composed of a fully connected layer.
[0089] The learning rate decrease method during the training of the first / second classification model is an exponential decrease method, which is the same as described above. The classification model is trained for 20 epochs in total, and the initial learning rate is 1×10 -4 , the attenuation coefficient γ is 0.97. When the loss value of the validation set does not decrease for 10 epochs, the training is terminated in advance. The optimizer used for the training of the first / second classification model is the Adam optimizer, and the parameters are the default values 0.9 and 0.999, as described above.
[0090] Furthermore, the training methods of the five SViT models remain consistent, with a random batch size of 32 and a total of 20 epochs.
[0091] The construction and training process of the disease recognition model provided in the embodiment of the present application is further introduced and explained below.
[0092] The disease recognition model mainly fuses the longitudinal section and horizontal plane disease classification models (i.e., the first classification model and the second classification model), integrates the perspectives of the two dimensions in the three-dimensional ground penetrating radar, and discriminates the abnormal waveforms at the same position. In the embodiment of the present application, the fusion method adopts the DS (Dempster-Shafer) evidence theory to probabilistically fuse the horizontal and vertical models at the classification layer. Based on the first classification model, three second classification models were fused respectively, and three horizontal and vertical fusion LP-SViT (Longitudinal Plane Simple Vision Transformer) models were designed and built. The model was tested with radar abnormal waveform images that corresponded one to one with the horizontal and vertical planes. The test results showed that the fused model had a higher accuracy rate in disease recognition. In addition, the three classification methods of abnormal waveforms on the horizontal plane were analyzed, and the impact on the accuracy of the fused model was used to determine the optimal classification scheme for abnormal waveforms on the horizontal plane.
[0093] Data fusion in image classification refers to the comprehensive use of multi-source information to obtain a joint discrimination result. In the recognition of horizontal and vertical radar waveforms, multi-source information refers to the recognition results of the horizontal plane classification model and the longitudinal section classification model. The two results are fused, and the two dimensions of horizontal and vertical are combined to comprehensively discriminate the abnormal waveform category, so as to achieve a more accurate recognition result than a single dimension. The fusion between models can be carried out at multiple levels. A relatively simple fusion method is to fuse different models at the decision layer. The final output result of the classification model is the probability of different categories, and the model takes the category corresponding to the maximum probability as the final output result. Fusion of models at the decision layer is to fuse the probabilities of the final outputs of different models. At present, the main methods used for decision-making layer fusion are DS evidence theory, Bayesian reasoning, etc. The embodiment of the present application fuses the horizontal and vertical models based on DS evidence theory.
[0094] DS evidence theory has the ability to directly express "uncertainty" and "unknown". This information is represented by a mass function and retained during the evidence fusion process, which is very similar to the horizontal surface disease classification model. In the horizontal surface radar image, abnormal waveforms with the same characteristics may correspond to two or more different types of diseases. It is impossible to determine which type of disease the abnormal waveform is only based on the horizontal surface. During model fusion, DS evidence theory retains this "uncertainty". Through DS evidence theory, the results of longitudinal section and horizontal surface model recognition can be used simultaneously to comprehensively judge the disease type of abnormal waveforms at the same location, truly giving play to the multi-dimensional advantages of three-dimensional ground penetrating radar.
[0095] The following two basic concepts are mainly used in model fusion through DS evidence theory: Basic Probability Assignment (BPA) and Dempster synthesis rule.
[0096] (1) Basic Probability Assignment (BPA)
[0097] The basic probability distribution on the recognition frame X is a The function m is called the mass function. The mass function satisfies the following two conditions, namely:
[0098] and ,
[0099] Among them, A is called focal elements;
[0100] (2) Dempster synthesis rule
[0101] Dempster's synthesis rule is also called the evidence synthesis formula. , the Dempster synthesis rule of the two mass functions m1 and m2 on X is:
[0102] ,
[0103] in, K is the normalization constant, and the formula is as follows:
[0104] ,
[0105] According to the DS evidence theory, the trained first classification model and the second classification model are integrated, which is actually to recalculate the output results of the two models through the Dempster synthesis rule, where m 1 ( B )and m 2 ( C ) correspond to the disease probabilities output by the two models respectively, m 1,2 ( A ) represents the results of calculating the disease probability of the two models; B and C represent the data sets input into the two models respectively.
[0106] The abnormal waveforms of the cross-section and horizontal radar are detected separately, so there is no need for a one-to-one correspondence between the horizontal and vertical data sets. In this step, the horizontal and vertical classification models are fused. The fused model detects the radar abnormal waveform images under different dimensions at the same position, so it is necessary to establish a joint data set with a one-to-one correspondence between the horizontal and vertical. The model fusion is based on the first classification model, and different second classification models are fused respectively. The establishment of the joint data set is also based on the longitudinal section radar waveform image. Through the abnormal waveform positioning model, the position coordinates of the abnormal waveform of the longitudinal section are output. On this basis, the abnormal waveform at the junction of the horizontal and vertical is screened out, and the horizontal radar waveform image corresponding to the position is intercepted to form a one-to-one correspondence between the longitudinal section and the horizontal plane waveform image. The specific disease type at each position is manually classified. In the established joint data set, the length of the horizontal plane abnormal waveform is consistent with the corresponding longitudinal section, and the width is 0.2m before and after the corresponding channel of the longitudinal section radar image. If the longitudinal section radar image channel is close to the detection edge, all of the edge ends are intercepted, and 0.2m is intercepted at the other end. Finally, 1,213 pairs of abnormal waveform images with horizontal and vertical correspondence were obtained from 1,020 radar images in the training set and validation set, and 704 pairs of abnormal waveform images with horizontal and vertical correspondence were obtained from 600 radar images in the test set. The abnormal waveform images in the test set were used to verify the difference in accuracy before and after model fusion.
[0107] Specifically, please refer to Figure 4 , which shows a schematic diagram of the processing flow of the disease identification model provided in the embodiment of the present application. Figure 4 As shown in the figure, the longitudinal section abnormal images and horizontal plane abnormal images, which correspond to each other one by one, are respectively input into the trained classification models. The classification models output prediction results respectively, and the results are fused through the DS evidence theory to integrate the information of the two dimensions to identify the disease at the same location.
[0108] The first classification model and the second classification model will detect the radar images of their respective sections and output the probabilities of their different disease categories. In the process of fusion with the second classification model of 5 categories, the probabilities of the 5 disease categories obtained on the horizontal plane and the 6 disease categories obtained on the longitudinal section are calculated through the theory of evidence fusion to obtain the disease probability value that combines the horizontal and longitudinal models. Among them, the disease type with the largest probability value is the final output result of the disease recognition model.
[0109] In one possible implementation, the embodiment of the present application uses an established data set to test different fusion models, and the test results are shown in Table 4. The accuracy of 704 longitudinal section abnormal waveform images in a single longitudinal section classification model is 82.52%. After the longitudinal section classification model is fused with the horizontal plane classification model, the model is tested with paired horizontal and vertical abnormal waveform images. The accuracy rates of the three fused models are 84.51%, 83.66%, and 83.09%, respectively. Compared with the single longitudinal section classification model, the accuracy rates have all been improved, indicating that the fusion of models through DS evidence theory is effective. Among them, the LP5-SViT fusion model has the highest accuracy improvement, with an accuracy improvement of nearly 2%. Figure 5 shown.
[0110] Table 4 shows the change in accuracy before and after SViT model fusion
[0111] Model SViT-6 LP5-SViT LP4-SViT LP3-SViT Accuracy Acc(%) 82.52% 84.51% 83.66% 83.09%
[0112] The test set defects were predicted using the models before and after fusion. The fusion model LP5-SViT slightly reduced the accuracy of the void defect, while improving the recognition of cracks, poor interlayer bonding, and mixture segregation by 1.1%, 3.6%, and 8.9%, respectively. The other two fusion models improved and reduced the accuracy of different disease identification, but overall, the fusion model was more accurate than the single longitudinal section classification model.
[0113] The advantage of three-dimensional ground penetrating radar is that it can observe the internal structure of the road surface from multiple angles, and comprehensively judge the type of damage of abnormal waveforms through different perspectives. Normally, the abnormal waveforms of the longitudinal section and the horizontal plane are detected separately, and the multi-dimensional and multi-perspective advantages of three-dimensional ground penetrating radar are not brought into play. Therefore, the embodiment of the present application integrates the horizontal and vertical models through the DS evidence theory, and comprehensively judges the type of damage by combining the detection results of different dimensions at the same position, thereby improving the accuracy of the identification of internal structural diseases of the road surface and improving the accuracy of the disease identification. At the same time, the embodiment of the present application improves the positioning accuracy of the abnormal waveform by positioning the radar images of the longitudinal section and the horizontal plane respectively.
[0114] An embodiment of the present application also provides an electronic device, which includes a processor, a network interface and a memory, wherein the processor, the network interface and the memory are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the above-mentioned method for detecting internal defects of a highway pavement structure.
[0115] In the embodiments of the present application, the processor may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0116] The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.
[0117] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0118] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0119] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DRRAM).
[0120] The storage media described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memory.
[0121] It should be understood that the system disclosed in the embodiments of the present application can be implemented in other ways. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the communication connection between modules can be through some interfaces, indirect coupling or communication connection of servers or units, which can be electrical or other forms.
[0122] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional unit.
[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0124] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting internal defects of a highway pavement structure, characterized in that: The method comprises: Obtaining longitudinal section radar images and horizontal plane radar images of the road surface; Inputting the longitudinal section radar image into a trained longitudinal section positioning model to obtain an abnormal longitudinal section image and position coordinates of the disease; Inputting the position coordinates and the horizontal plane radar image into a trained horizontal plane positioning model to obtain an abnormal horizontal plane image of the disease; Inputting the abnormal longitudinal section image and the abnormal horizontal plane image into a trained disease recognition model to obtain the type of disease and realize disease detection; The disease identification model construction process includes: Obtain historical longitudinal section radar images and historical horizontal plane radar images of the road surface, and input them into the trained longitudinal section positioning model and horizontal plane positioning model respectively to obtain longitudinal section abnormality images and horizontal plane abnormality images of historical diseases; Classifying abnormal longitudinal section images of historical diseases according to highway disease types, establishing a first data set, and training the constructed first classification model based on the first data set; Classify the horizontal surface disease images of historical diseases according to the radar waveform characteristics, establish a second data set, and train the constructed second classification model according to the second data set; According to the DS evidence theory, the trained first classification model and the second classification model are fused into the classification layer of the disease recognition model to obtain the constructed disease recognition model; The longitudinal section positioning model and the horizontal plane positioning model adopt the CP-YOLOX model, and the CP-YOLOX model includes a CSPDarkNet53-SPP network, a Backbone network and a Neck network; The CSPDarkNet53-SPP network is a backbone feature extraction network built on the basis of the DarkNet53 network and the CSPNet model, which includes 4 CSPLayer modules and uses the SiLU activation function. In addition to the CSPLayer module, the last layer of the CSPDarkNet53-SPP network also adds an SPP network to the two CBS networks. The Backbone network includes a Focus network, a CBS network, a CSPLayerX network and an SPP network; the CBS network is a convolution Conv, a standardized Batch Norm and an activation function SiLU; the CSPLayerX network includes a CBS3 module with a convolution kernel size of 3*3, which is used to determine the number of convolution kernels and reduce the size of the feature layer, followed by two CBS1 modules, which divide the feature map into two parts, one of which passes through x residual structures Res unit and the other is not processed, and then the two parts are stacked, and then channel integration is performed through 1*1 convolution, where x refers to the number of times the residual structure Res unit is cycled; the SPP network is a spatial pooling layer, which is used to reduce the dimension through 1*1 convolution, and then extract features through 4 maximum pooling layers of different sizes, which are then stacked, and the number of channels is adjusted through 1*1 convolution; The Neck network adopts a PAN network to fuse the three feature layers obtained. The three feature layers are first upsampled and feature fused twice in the PAN network, and then downsampled and feature fused twice to obtain feature layers of three scales after feature enhancement. The CP-YOLOX model uses an exponential descent method to calculate the learning rate. The optimizer used for training is the Adam optimizer. Exponential descent mainly means that the learning rate will continue to decrease exponentially as the number of iterations increases. The formula is as follows: , in, lr b is the initial learning rate, γ is the learning rate attenuation coefficient, epoch is the number of training iterations, lr is the learning rate; The first classification model and the second classification model adopt a ViT model, and the ViT model includes an embedding layer, a feature extraction layer and a classification layer; The ViT model first divides the input abnormal image into image blocks of the same size, then flattens the three-dimensional data of the length, width, and channel of each image block into a one-dimensional vector, embeds the position information and category information through embedding layers, and then passes the processed vector sequence with position information and category information to the feature extraction layer for feature extraction, and finally extracts the category information separately from the vector sequence, inputs it into the classification layer for classification, and outputs the category probability; Among them, the feature extraction layer includes two residual structures. In the first residual structure, the data is sequentially subjected to layer standardization, a multi-head self-attention module and a Dropout layer. In the second residual structure, the data is sequentially subjected to layer standardization, a multi-layer perceptron and a Dropout layer. The multi-head self-attention module divides the input data into multiple parts based on the self-attention mechanism, and then performs self-attention calculation on each part of the data. Before the feature data of the abnormal image is input into the multi-head self-attention module, the input feature vector is amplified three times through a fully connected layer, and then divided into three parts, namely, a query vector, a key vector and a value vector, in the self-attention mechanism. After that, the query vector and the key vector are matrix multiplied to obtain the importance score of each feature vector. After passing through the Softmax layer, the matrix is multiplied with the value vector to output the result. The multi-head self-attention module divides the data equally according to the set number of heads. When the first classification model and the second classification model are trained, the learning rate decrease method is an exponential decrease method, and the optimizer used for training is the Adam optimizer; The DS evidence theory includes basic probability distribution and Dempster's synthesis rule; The basic probability distribution includes: The basic probability distribution on the recognition frame X is a The function m is called the mass function, and the mass function satisfies the following two conditions, namely: and , Among them, A is called focal element; The Dempster synthesis rules include: for , the Dempster synthesis rule of the two mass functions m1 and m2 on X is: , in, K is the normalization constant, and the formula is as follows: , According to the DS evidence theory, the trained first classification model and the second classification model are integrated including: The outputs of the two models are recalculated using the Dempster synthesis rule, where m 1 ( B )and m 2 ( C ) correspond to the disease probabilities output by the two models respectively, m 1,2 ( A ) represents the results of calculating the disease probability of the two models, and B and C represent the data sets input into the two models respectively.
2. A method for detecting internal defects of a highway pavement structure according to claim 1, characterized in that: The training process of the disease recognition model includes: Acquiring the location coordinates of the historical disease from the historical longitudinal radar image through the trained longitudinal section positioning model; According to the location coordinates of historical diseases, the abnormal longitudinal section images and abnormal horizontal plane images of historical diseases are associated to construct a joint data set; The disease recognition model is trained according to the joint data set to obtain a trained disease recognition model.
3. A method for detecting internal defects of a highway pavement structure according to any one of claims 1 to 2, characterized in that: Before the longitudinal section radar image or the historical longitudinal section radar image is input into the longitudinal section positioning model, random data enhancement is used for preprocessing; before the horizontal plane radar image or the historical horizontal plane radar image is input into the horizontal plane positioning model, random data enhancement is used for preprocessing.
4. A method for detecting internal defects of a highway pavement structure according to claim 3, characterized in that: The random data enhancement includes randomly cropping the image, randomly scaling the length and width of the image, and randomly distorting the color gamut of the image.
5. A method for detecting internal defects of a highway pavement structure according to claim 1, characterized in that: The types of highway diseases include cracks, repairs, voids, poor interlayer adhesion and mixture segregation.
6. A method for detecting internal defects of a highway pavement structure according to claim 1, characterized in that: The radar waveform features include a plurality of disease combinations, and each disease combination includes a different combination of the highway disease types.
7. A method for detecting internal defects of a highway pavement structure according to claim 6, characterized in that: A second data set corresponding to each disease combination is constructed based on each disease combination, and a second classification model constructed based on the second data set corresponding to the disease combination is trained to obtain a second classification model corresponding to the disease combination.
8. A method for detecting internal defects of a highway pavement structure according to claim 6, characterized in that: The constructed disease recognition model is used to identify the highway disease types in the longitudinal section abnormal images, as well as the highway disease types in the horizontal surface disease images under the corresponding disease combination.
9. An electronic device, characterized in that: The device includes at least one processor and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method for detecting internal defects of a highway pavement structure as described in any one of claims 1 to 8.
Citation Information
Patent Citations
In-service tunnel lining structure defect identification method and system based on deep learning
CN114548278A
Road underground structural defect detection method, medium and system
CN116935215A
