Intelligent classification method for road surface diseases based on double-branch fusion convolutional neural network

By employing various image enhancement strategies and multi-scale pyramid processing, combined with an integrated dual-branch convolutional neural network, high-precision classification of road surface defects was achieved. This solved the problems of difficulty in simultaneously considering local details and global information and unstable classification results in existing technologies, thus improving the stability and accuracy of classification.

CN123160965APending Publication Date: 2026-11-24SHAANXI EXPRESSWAY ENG TESTING INSPECTION & TESTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611583852.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-13
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing pavement damage classification methods based on convolutional neural networks struggle to capture both local details and global features simultaneously. Furthermore, the classification results are susceptible to uneven lighting, texture noise, and angle variations, leading to unstable classification accuracy and underutilization of complementary advantages.

Method used

Multiple image enhancement strategies are employed to preprocess road images, construct a multi-scale image pyramid, and utilize an integrated dual-branch fusion convolutional neural network for feature extraction and cross-branch feature interaction. The system combines category-specific confidence and predicted distribution sharpness for dual-weighted fusion.

Benefits of technology

It improves the stability and accuracy of pavement distress classification, makes full use of the complementary advantages of different enhancement strategies, and solves the limitations of single network structures in feature extraction and classification accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160965A_ABST
    Figure CN123160965A_ABST
Patent Text Reader

Abstract

This application relates to an intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network, belonging to the field of image recognition technology. The method includes: enhancing road surface images using multiple image enhancement strategies to construct a multi-scale image pyramid for each enhanced image; integrating each pyramid into a dual-branch fusion convolutional neural network, performing feature extraction, cross-branch interaction, and multi-scale fusion to output a sub-classification probability vector corresponding to each multi-scale image pyramid; and performing a double-weighted fusion of multiple sub-classification probability vectors based on the category-specific confidence weights of each enhancement strategy for each defect category and the predicted distribution sharpness weights of each sub-classification probability vector to output the final defect category corresponding to the road surface image. This application solves the technical problems in road surface defect classification, such as the difficulty in simultaneously considering local details and global information, the impact of image quality fluctuations on classification stability, and the ineffective integration of the advantages of multiple enhancement strategies, which limit classification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image recognition technology, and in particular to an intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network. Background Technology

[0002] Road surface defect detection and classification are core aspects of highway maintenance and management, playing a crucial role in ensuring traffic safety and extending road lifespan. With the development of computer vision technology, automatic road surface defect classification methods based on convolutional neural networks have been gradually applied to image acquisition systems mounted on road inspection vehicles. These methods typically use a single deep convolutional network to extract features from the acquired road surface images, and utilize fully connected layers and a Softmax classifier to output defect category predictions, thus reducing the workload of manual interpretation to some extent.

[0003] However, existing pavement distress classification methods based on convolutional neural networks still have significant shortcomings in practical applications. Firstly, the morphological differences between various distresses such as transverse cracks, longitudinal cracks, network cracks, and potholes are significant. The scale range between local texture details such as crack edges and global spatial features such as the overall outline of the distressed area is large. A single network structure cannot simultaneously and fully capture these two types of complementary information during feature extraction, resulting in inconsistent classification accuracy for various distresses. Secondly, pavement images are affected by factors such as uneven lighting, asphalt surface texture noise, and changes in shooting angle during acquisition. Classification results obtained by directly inputting a single image into the network for a single inference are prone to deviation due to image quality fluctuations, leading to insufficient classification stability. Third, to mitigate the impact of image quality fluctuations, multiple image enhancement strategies are often used to preprocess the same road surface image before classification. However, different enhancement strategies have significant differences in their recognition effects on different disease categories. Existing methods often use simple averaging or majority voting strategies when fusing classification results from multiple enhanced images, without fully considering the differences in the recognition expertise of each enhancement strategy for various diseases and the confidence level of a single prediction result. As a result, the complementary advantages between the enhancement strategies cannot be effectively integrated, and the overall classification performance is difficult to further improve. Summary of the Invention

[0004] This application provides an intelligent classification method for pavement defects based on a dual-branch fusion convolutional neural network. It improves the technical problem that in pavement defect image classification, the morphological differences of different defects such as transverse cracks, longitudinal cracks, network cracks, and potholes are significant. Local texture details such as crack edges and global spatial features such as the overall outline of the defect area are difficult to be fully extracted simultaneously in the same network. Furthermore, pavement images are affected by factors such as uneven lighting, asphalt texture noise, and changes in shooting angle. The classification results of a single inference are prone to deviation with fluctuations in image quality, resulting in unstable classification accuracy.

[0005] This application discloses the following technical solution:

[0006] This application provides a method for intelligent classification of pavement defects based on a dual-branch fusion convolutional neural network, the method comprising: Multiple image enhancement strategies are employed to enhance the road surface images to be classified, resulting in multiple enhanced road surface images. Construct a multi-scale image pyramid for each enhanced road surface image to obtain multiple multi-scale image pyramids; The multiple multi-scale image pyramids are respectively input into a pre-trained integrated dual-branch fusion convolutional neural network. The integrated dual-branch fusion convolutional neural network performs feature extraction, cross-branch feature interaction and multi-scale fusion on each multi-scale image pyramid, and outputs the sub-classification probability vector corresponding to each multi-scale image pyramid. Based on the category-specific confidence weights for each disease category and the prediction distribution sharpness weights for each sub-class probability vector for each image enhancement strategy, the multiple sub-class probability vectors are double-weighted and fused to output the final disease category corresponding to the road surface image.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages: The technical solution of this application provides an intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network. First, it enhances the road surface images to be classified by using multiple image enhancement strategies to obtain multiple enhanced road surface images. This achieves complementary preprocessing of the original images from multiple dimensions such as contrast enhancement, noise suppression, and rotation expansion, enriching the expression angle of the input information and solving the problem of unstable classification results caused by image quality fluctuations such as uneven lighting and texture noise when a single image is directly input into the network for a single inference.

[0008] Furthermore, by constructing a multi-scale image pyramid for each enhanced road surface image, the network achieves layer-by-layer representation of the same image at different spatial scales. This enables the network to simultaneously focus on the local texture details of crack edges and the global spatial structure of the overall contour of the disease area, solving the problems that local details and global information are difficult to be fully extracted simultaneously under a single-scale input and that the classification accuracy of different types of diseases varies.

[0009] Furthermore, by inputting multiple multi-scale image pyramids into a pre-trained integrated dual-branch fusion convolutional neural network, the differences in structural design and feature expression focus between the two branches are utilized to extract complementary deep features. Through cross-branch feature interaction and multi-scale fusion, the effective integration of feature information from different sources is achieved, solving the problem that a single network structure cannot comprehensively express the features of various diseases and has limited recognition capabilities.

[0010] Finally, by applying a dual-weighted fusion of multiple subclass probability vectors based on the category-specific confidence weights for each disease category and the prediction distribution sharpness weights for each subclass probability vector according to each image enhancement strategy, the differential utilization of the differences in identification expertise of different enhancement strategies in each category and the level of confidence of a single prediction is achieved. This solves the problem that traditional fusion strategies such as simple averaging or majority voting fail to fully explore the complementary advantages of each enhancement strategy and the potential of multi-strategy joint inference is not effectively realized.

[0011] In summary, this application employs various image enhancement strategies and multi-scale image pyramid processing, utilizing an integrated dual-branch fusion convolutional neural network for feature extraction and cross-branch fusion. It then employs a dual-weighted fusion based on category-specific confidence and predicted distribution sharpness to output the final disease category. This approach fully leverages the complementary advantages of different enhancement strategies, solving the technical problem of a single network's inability to simultaneously capture local details and global information, thus limiting classification accuracy. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a flowchart illustrating the intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network provided in this application embodiment.

[0014] Figure 2 The flowchart of the dual-weighted fusion decision-making process of the intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network provided in the embodiments of this application is shown. Detailed Implementation

[0015] This application provides an intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network. It addresses the technical problem that, due to the difficulty in simultaneously considering local details and global information within a single network, while various image enhancement and multi-scale processing methods can capture complementary features from different angles and improve classification stability, different enhancement strategies have significantly different recognition strengths for different defect categories. Furthermore, existing fusion methods do not fully consider the specific recognition advantages of each strategy for each category and the differences in confidence of single predictions, thus failing to fully tap the complementary potential of multiple strategies and multi-scale methods and making it difficult to further improve the overall classification accuracy.

[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. It should be noted that the numerical values ​​in the embodiments are for illustrative purposes only and do not constitute a limitation on this application.

[0017] Example 1, as shown in the appendix Figure 1 As shown, this application provides an intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network, the method comprising the following steps: S100: Multiple image enhancement strategies are used to enhance the road surface images to be classified, resulting in multiple enhanced road surface images.

[0018] In this embodiment, road surface images are affected by factors such as uneven lighting, asphalt texture noise, and changes in shooting angle during the acquisition process. The visual features of the same defect appear significantly different in different images, and the results of classifying a single image directly into the network are prone to deviation due to fluctuations in image quality. In order to improve image quality from multiple perspectives and enrich the expressive dimensions of input information, multiple complementary enhancement strategies need to be used to process the same road surface image separately to obtain a set of enhanced images.

[0019] Step S100 in the method provided in this application embodiment includes: An adaptive histogram equalization strategy is used to enhance the road surface image to be classified, resulting in a first enhanced image. A Gaussian filtering strategy is then used to further enhance the image, resulting in a second enhanced image. Using the center point of the road surface image to be classified as the rotation center, the image is rotated by multiple preset angles to obtain multiple rotated images, which are then used as a third enhanced image. Finally, the first, second, and third enhanced images are combined to form a set of enhanced road surface images. Detailed explanation follows: Adaptive histogram equalization (AHE) is a local contrast enhancement method that divides an image into multiple non-overlapping blocks, independently calculates the cumulative distribution function of the gray-level histogram for each block, performs equalization processing, and then stitches the enhanced blocks back together to form a complete image. AHE can effectively improve the problem of localized overexposure or over-brightness caused by uneven illumination in road surface images, and enhance the contrast between cracks and the background.

[0020] Gaussian filtering is an image smoothing method based on two-dimensional Gaussian convolution kernels. It suppresses high-frequency noise and granular interference caused by asphalt texture in road images by weighted averaging of each pixel and its neighboring pixels, while preserving low-frequency structural information of crack edges and disease contours.

[0021] The rotation expansion strategy uses the center point of the road image as the rotation center and rotates the image by a preset angle to generate multiple images at different angles. This enhances the network's robustness to changes in shooting angle and expands the diversity of input images.

[0022] The three enhancement strategies complement each other in the original image from three dimensions: contrast, smoothing and noise reduction, and angle diversity, so that the subsequent network can capture the multi-dimensional features of road surface defects from different enhancement perspectives.

[0023] In this step, the road surface image to be classified is first processed using an adaptive histogram equalization strategy. After converting the image from RGB color space to LAB color space, only the L channel is locally enhanced for contrast, and then it is converted back to RGB color space to obtain the first enhanced image.

[0024] Meanwhile, the road surface images to be classified are processed using a Gaussian filtering strategy. A two-dimensional Gaussian convolution kernel is constructed, and weighted summation operations are performed on the R, G, and B channels respectively before merging to obtain the second enhanced image.

[0025] Then, using the center point of the road surface image as the rotation center, it is rotated at preset angles of 90°, 180°, and 270° respectively, and these four images, along with the original image, are used as the third enhanced image. The first, second, and third enhanced images, totaling six images, are then output as multiple enhanced road surface images.

[0026] Step S100 in the method provided in this application embodiment further includes: The road surface image to be classified is converted from the RGB color space to the LAB color space. The L channel image, representing brightness information, is extracted from the LAB color space, while the A and B channels, representing color contrast information, are retained. The L channel image is evenly divided into multiple non-overlapping image blocks. A grayscale histogram is calculated for each image block, and the cumulative distribution function is calculated based on the grayscale histogram. The cumulative distribution function is used to enhance the local contrast of each image block. The enhanced image blocks are then stitched together in their original positions to obtain the enhanced L channel image. The enhanced L channel image is then merged with the A and B channel images to obtain the merged LAB image. Finally, the merged LAB image is converted back to the RGB color space to obtain the first enhanced image. Detailed explanation follows: The LAB color space is a color representation model that separates luminance and color information. The L channel represents luminance, while the A and B channels represent the contrasting dimensions of green-red and yellow-blue, respectively. Enhancing the contrast of only the L channel avoids introducing color distortion during the enhancement process, preserving the authenticity of color information such as oil stains and road markings in road images.

[0027] The cumulative distribution function is a monotonically increasing function obtained by accumulating the frequencies of each gray level within an image block. Using it as a gray-level mapping function can transform the original gray-level distribution into a uniform distribution, thereby achieving contrast balance.

[0028] Image block stitching is the process of recombinating multiple non-overlapping image blocks, after local contrast enhancement, into a complete image according to their original spatial positions. Bilinear interpolation is used at the boundaries of each image block to eliminate stitching artifacts. The image block size is set to 128×128 pixels. This is because, at a resolution of 2048×2048, a block size of 128×128 strikes a balance between local contrast enhancement and the naturalness of inter-block stitching. If the block size is too small, the grayscale distribution within each block will not be sufficient to reflect the road surface texture features; if it is too large, the local enhancement effect will be insignificant.

[0029] In this step, the road image to be classified is first converted from the RGB color space to the LAB color space, and the L channel image is extracted while the A and B channels remain unchanged. The L channel image is divided into 128×128 pixel non-overlapping image blocks. For each image block, a gray-level histogram and cumulative distribution function are calculated. The cumulative distribution function is used to remap the gray levels of each pixel within the image block to achieve local contrast enhancement. The enhanced image blocks are then stitched together according to their original spatial positions to form a complete enhanced L channel image. This enhanced L channel image is then merged with the original A and B channel images and converted back to the RGB color space to obtain the first enhanced image.

[0030] Step S100 in the method provided in this application embodiment further includes: A two-dimensional Gaussian convolution kernel is constructed, with a size of K×K pixels, where K is an odd number greater than 1. The weight values ​​of each element in the two-dimensional Gaussian convolution kernel are calculated according to a two-dimensional Gaussian distribution function, and the weight values ​​of pixels farther away from the center of the two-dimensional Gaussian convolution kernel are smaller. The two-dimensional Gaussian convolution kernel is slid across each pixel of the road image to be classified. For each pixel, the pixel values ​​of the pixels in the neighborhood covered by the two-dimensional Gaussian convolution kernel are weighted and summed with the weight values ​​at the corresponding positions in the two-dimensional Gaussian convolution kernel. The weighted sum is used as the filtered pixel value of that pixel. The same weighted summation operation is performed on the R, G, and B channels of the road surface image to be classified, and the results of the three-channel filtering are merged to obtain the second enhanced image. The Gaussian filtering strategy is used to suppress high-frequency noise and granular interference generated by asphalt texture in the road surface image, while preserving low-frequency structural information of crack edges and disease contours. A detailed explanation follows: The two-dimensional Gaussian convolution kernel is a K×K pixel square weight matrix. Each element is calculated according to a two-dimensional Gaussian distribution function, with the largest weight at the center and decreasing weights further away. K is an odd number greater than 1 to ensure the kernel has a clearly defined center pixel. In this scheme, K is set to 5, based on the fact that a 5×5 kernel can cover the typical scale of asphalt texture particles. The standard deviation σ of the Gaussian distribution is set to 1.2, making the weight of the center pixel approximately 2 to 3 times that of its neighbors. This suppresses high-frequency noise while avoiding excessive smoothing that could blur crack edges. The reason K must be greater than 1 is that a K of 1 cannot achieve neighborhood weighted averaging, thus failing to suppress asphalt texture noise effectively.

[0031] Weighted summation multiplies the pixel values ​​within the neighborhood covered by the Gaussian convolution kernel by their corresponding weights within the kernel, and then sums these results to obtain the new value for the center pixel after filtering. This process utilizes the weighted contribution of neighboring pixels to suppress random noise. By performing filtering operations independently on the R, G, and B channels and then merging the results, the consistency of color information across each channel can be maintained.

[0032] In this step, a 5×5 two-dimensional Gaussian convolution kernel is constructed with a standard deviation σ of 1.2. The weights of each element within the kernel are calculated and normalized according to a two-dimensional Gaussian distribution function. The convolution kernel is slid across each pixel of the road surface image to be classified, and neighborhood weighted summation is performed on the R, G, and B channels respectively. The filtered results of the three channels are then combined to obtain the second enhanced image.

[0033] For example, taking a road surface image with a resolution of 2048×2048 pixels as an example, the original image contains local shadows and asphalt particle noise. After adaptive histogram equalization, the crack contrast in the shadowed areas of the first enhanced image is significantly improved. After 5×5 Gaussian filtering, the asphalt texture particles in the second enhanced image are effectively suppressed, and the crack edges remain clear. Rotating the image by 90°, 180°, and 270° around the image center, these images, along with the original image, form four third enhanced images. The final output consists of one first enhanced image, one second enhanced image, and four third enhanced images, for a total of six enhanced road surface images.

[0034] This step preprocesses the original road surface image using a variety of complementary image enhancement strategies, enriching the expression of input information from three dimensions: contrast, noise suppression, and angle diversity. This helps improve the subsequent classification network's ability to adapt to image quality fluctuations and provides a more robust input foundation for multi-scale feature extraction and dual-branch fusion.

[0035] S200: Construct a multi-scale image pyramid for each enhanced road surface image to obtain multiple multi-scale image pyramids.

[0036] In this embodiment, after obtaining multiple road surface images processed by different enhancement strategies, the local edge texture details of crack-type defects such as transverse and longitudinal cracks, as well as the overall spatial distribution contours of defects such as network cracks and potholes, are difficult to be fully perceived simultaneously at a single resolution. In order to take into account the feature representation at different scales in the same input, a multi-scale image pyramid needs to be constructed for each enhanced image, so that the network can extract features on image layers of different resolutions.

[0037] Step S200 in the method provided in this application embodiment includes: The enhanced road surface image is scaled to a preset size, and the pixel values ​​of the scaled enhanced image are normalized to obtain a normalized enhanced image. This normalized enhanced image is used as the first layer of a multi-scale image pyramid. The first layer is downsampled multiple times using a preset scaling factor, with each downsampling yielding one layer. The first layer and the layers obtained from each downsampling together constitute the multi-scale image pyramid corresponding to the enhanced road surface image. The above operations are performed on all enhanced road surface images to obtain multiple multi-scale image pyramids corresponding one-to-one with the multiple enhanced road surface images. A detailed explanation follows: A multi-scale image pyramid is a hierarchical structure composed of layers of images at different resolutions generated by progressive downsampling of the same image. The bottom layer represents the original resolution, with each subsequent layer decreasing in resolution. This pyramid structure enables the network to extract features at different spatial scales. The bottom layer captures local details such as crack edges, while the top layer captures global structural information such as the overall outline of the affected area. The preset size involves uniformly scaling the enhanced road surface image to the target size in pixels. In this scheme, 1024×1024 pixels is used. This is based on the fact that scaling a 2048×2048 original resolution image to 1024×1024 reduces computation by approximately four times while preserving sufficient resolution for minor defects such as cracks. Furthermore, 1024 is a power of 2, facilitating divisibility in subsequent downsampling.

[0038] Pixel value normalization linearly scales pixel values ​​from the integer range of 0 to 255 to the floating-point range of 0 to 1. This is based on the fact that neural network training and inference typically require input values ​​to be within a small floating-point range, which is beneficial for stable gradient propagation. The preset scaling factor is the downsampling ratio between adjacent pyramid layers. In this scheme, it is set to 0.5, meaning that the width and height of each layer are 0.5 times that of the layer below. This is based on the fact that a 2x scaling transformation can produce a sufficiently significant resolution difference between adjacent layers, allowing the features captured by each layer to have obvious scale discrimination.

[0039] Four pyramid layers were chosen, downsampling from 1024×1024 three times at a factor of 0.5 to 128×128, spanning approximately eight times the scale. This range covers the scale of typical pavement distresses, from millimeter-level crack widths to meter-level pothole diameters. Too few layers would result in insufficient scale coverage, while too many would increase redundant calculations. Bilinear interpolation was used for downsampling because it is simple to calculate, produces good smoothness, and does not introduce additional high-frequency artifacts.

[0040] In this step, all the enhanced road surface images output from the previous steps are first scaled to 1024×1024 pixels, and then the pixel values ​​are normalized from 0 to 255 to the range of 0 to 1, resulting in a normalized enhanced image as the first layer of the pyramid. The first layer is then downsampled using bilinear interpolation with a scaling factor of 0.5 to obtain the second layer, and the second layer is downsampled again to obtain the third layer, and so on, constructing a total of four pyramid layers. The same construction operation is performed on all enhanced road surface images, resulting in six multi-scale image pyramids corresponding one-to-one with the six enhanced images.

[0041] For example, taking a road surface image with a resolution of 2048×2048 pixels as an example, 6 enhanced images are output. Each enhanced image is scaled to 1024×1024 pixels and normalized to form the first layer of the pyramid. The second layer (512×512 pixels), the third layer (256×256 pixels), and the fourth layer (128×128 pixels) are obtained by successively downsampling with a scaling factor of 0.5. Each enhanced image constructs a 4-layer pyramid, resulting in a total of 6 multi-scale image pyramids with 24 image layers.

[0042] This step constructs a multi-scale image pyramid for each enhanced image, expanding a single image into a hierarchical representation with multiple resolutions. This facilitates subsequent networks in capturing local details and global structural information at different scales, thereby improving the comprehensiveness of feature extraction for different morphological diseases.

[0043] S300: Input the multiple multi-scale image pyramids into a pre-trained integrated dual-branch fusion convolutional neural network. The integrated dual-branch fusion convolutional neural network performs feature extraction, cross-branch feature interaction, and multi-scale fusion on each multi-scale image pyramid, and outputs the sub-classification probability vector corresponding to each multi-scale image pyramid.

[0044] In this embodiment, after obtaining multiple multi-scale image pyramids, each pyramid contains multiple image layers of different resolutions. It is necessary to extract fusion features from each pyramid that can take into account both local details and global structure. Since a single network structure inherently tends to focus on a particular aspect of feature extraction, it is difficult to comprehensively represent both fine textures and spatial contours simultaneously. Therefore, an ensemble network containing two heterogeneous branches is required to extract features from different perspectives and fuse them through a cross-branch interaction mechanism.

[0045] Step S300 in the method provided in this application embodiment further includes: The pre-trained ensemble dual-branch fusion convolutional neural network includes a first branch network and a second branch network configured in parallel, and also includes a cross-branch feature interaction module, a multi-scale feature fusion module, and a classification output module. The first branch network is a DenseNet201 network, and the second branch network is a MobileNetV2 network. Both the first and second branch networks include a multi-channel attention mechanism module. The cross-branch feature interaction module includes a 1×1 convolutional layer, and the multi-scale feature fusion module includes a fully connected layer. The classification output module includes a Dropout layer and a Softmax classification layer. For each image layer in a multi-scale image pyramid, the DenseNet201 network performs attention-enhanced feature extraction on the image layer and outputs a first intermediate feature map, and the MobileNetV2 network performs attention-enhanced feature extraction on the image layer and outputs a second intermediate feature map, wherein the spatial size of the first intermediate feature map is the same as the spatial size of the second intermediate feature map; The first intermediate feature map and the second intermediate feature map are concatenated along the channel dimension. The concatenated feature map is then subjected to 1×1 convolution for dimensionality reduction. The dimensionality-reduced feature map is then split along the channel dimension into a first branch supplementary feature and a second branch supplementary feature. The first branch supplementary feature is added element-wise to the first intermediate feature map to obtain a first enhanced feature map. The second branch supplementary feature is added element-wise to the second intermediate feature map to obtain a second enhanced feature map. Global average pooling is performed on the first enhanced feature map to obtain a first feature vector, and global average pooling is performed on the second enhanced feature map to obtain a second feature vector. The first feature vector and the second feature vector are concatenated in parallel along the channel dimension to obtain the image layer fusion feature vector of the image layer. The image layer fusion feature vectors corresponding to each image layer in the multi-scale image pyramid are concatenated in parallel along the channel dimension. The concatenated feature vector is then compressed through a fully connected layer to obtain the fusion feature vector of the multi-scale image pyramid. The fusion feature vector is then passed through a Dropout layer and a Softmax classification layer in sequence to output the sub-classification probability vector corresponding to the multi-scale image pyramid. Detailed explanation is as follows: The integrated dual-branch fusion convolutional neural network is an integrated network structure that includes two heterogeneous branches configured in parallel and a cross-branch interaction mechanism. The first branch is a DenseNet201 network, which achieves deep feature reuse through dense connections and has a strong ability to extract local detail features such as crack edges. The second branch is a MobileNetV2 network, which maintains lightweight characteristics while having good global semantic representation capabilities through an inverted residual structure.

[0046] The two branches are complementary in feature representation, and their integration can take into account both local details and global structure. The multi-channel attention mechanism module is used to adaptively weight each channel of the feature map. A channel description vector is obtained by global average pooling of each channel, which is then used to generate an attention weight vector through one-dimensional convolution and a sigmoid activation function. This weight vector is then multiplied channel-by-channel with the original feature map, allowing the network to automatically focus on channel features that are more important for classification. One-dimensional convolution performs local cross-channel interactions along the channel dimension, with a computational cost far less than the fully connected approach, and the range of cross-channel interactions can be controlled by the kernel size.

[0047] The first intermediate feature map is the output of the DenseNet201 branch, downsampled by attention enhancement and 2×2 average pooling. The second intermediate feature map is the output of the MobileNetV2 branch, downsampled by attention enhancement. Both maps maintain the same spatial dimensions to facilitate subsequent concatenation. The cross-branch feature interaction module contains a 1×1 convolutional layer that concatenates the intermediate feature maps from the two branches along the channel dimension, performs convolutional dimensionality reduction, then splits the dimensionality-reduced feature map into supplementary features for each branch, and adds each feature map element-wise to its respective original feature map.

[0048] This mechanism allows the two branches to exchange their extracted feature information, supplementing each other's potentially missed features and achieving effective information transfer between branches. The number of dimensionality reduction channels is set to 1024, based on the fact that the sum of the output channels of the two branches is 1920 + 1280 = 3200. Direct concatenation results in a high feature dimension; compression to 1024 via 1×1 convolution preserves key interactive information while controlling subsequent computational load. During splitting, 512 channels are evenly distributed to each of the two branches, ensuring both receive equal amounts of interactive information and preventing one branch's information from being overwhelmed by the other's features due to excessive weighting.

[0049] The image layer fusion feature vector is obtained by taking the first and second enhanced feature maps of a single image layer, performing global average pooling to obtain two feature vectors, and then concatenating them in parallel along the channel dimension. This vector fuses the complementary features of the two branches of the layer after cross-branch interactive enhancement. The multi-scale feature fusion module contains a fully connected layer that concatenates the fusion feature vectors of all image layers in the pyramid along the channel dimension. This fully connected layer then performs feature compression, effectively integrating features from different scales into a single fusion feature vector.

[0050] The classification output module contains a Dropout layer and a Softmax classification layer. The fused feature vector is passed through these two layers sequentially, outputting the predicted probability distribution for each disease category. The Dropout layer is disabled during inference but used during training to prevent overfitting. The sub-classification probability vector is a vector composed of the predicted probabilities of each disease category output from the network inference of a single multi-scale image pyramid. The vector length is equal to the total number of disease categories, and the sum of its elements is 1.

[0051] In this step, each image layer from the multi-scale image pyramid output in the previous step is simultaneously input into the DenseNet201 branch and the MobileNetV2 branch. Within each branch, features are first extracted using their respective truncation structures, and then adaptively weighted by a multi-channel attention mechanism module to output an intermediate feature map.

[0052] The outputs of the two branches undergo 1×1 convolutional dimensionality reduction and splitting via a cross-branch interaction module to generate supplementary features. These supplementary features are then added element-wise to the original intermediate feature maps of each branch to obtain enhanced feature maps. The two enhanced feature maps of each image layer are then concatenated in parallel after global average pooling to form the fusion feature vector for that layer. The fusion feature vectors of all layers in the pyramid are concatenated in parallel, compressed by a fully connected layer, and then processed by Dropout and Softmax to output the sub-classification probability vector of the pyramid. This process is repeated for all multi-scale image pyramids to obtain multiple sub-classification probability vectors for subsequent double-weighted fusion.

[0053] Step S300 in the method provided in this application embodiment further includes: The pre-training process of the integrated dual-branch fusion convolutional neural network includes: First, independently pre-training the DenseNet201 network and the MobileNetV2 network: initializing the parameters of the DenseNet201 network and the MobileNetV2 network using the ImageNet dataset, fine-tuning the DenseNet201 network and the MobileNetV2 network respectively on a road damage dataset, updating the parameters of the DenseNet201 network and the MobileNetV2 network with the cross-entropy loss function as the training objective, until the cross-entropy loss functions of the DenseNet201 network and the MobileNetV2 network converge on the validation set, thus obtaining the independently pre-trained DenseNet201 network and the independently pre-trained MobileNetV2 network. In the second stage, after the independently pre-trained DenseNet201 network and the independently pre-trained MobileNetV2 network, a 1×1 convolutional layer, a fully connected layer, and a Softmax classification layer corresponding to the dimensionality reduction are added to form a complete integrated dual-branch fusion convolutional neural network. The parameters of the independently pre-trained DenseNet201 network, except for the multi-channel attention mechanism module, and the parameters of the independently pre-trained MobileNetV2 network, except for the multi-channel attention mechanism module, are fixed. The parameters of the multi-channel attention mechanism module, the cross-branch feature interaction module, the multi-scale feature fusion module, and the classification output module are jointly trained using the road damage dataset, with the cross-entropy loss function as the training objective, until the cross-entropy loss function converges on the validation set, thus obtaining the pre-trained integrated dual-branch fusion convolutional neural network. A detailed explanation follows: Independent pre-training refers to fine-tuning two branches of the network, DenseNet201 and MobileNetV2, separately before building the complete network. Both branches are initialized with weights pre-trained on the ImageNet dataset. This is because ImageNet pre-trained weights provide the network with general image feature extraction capabilities. Fine-tuning using a road damage dataset allows each branch to quickly adapt to the feature distribution of road damage images, thus gaining basic feature extraction capabilities for various types of damage. Independent pre-training uses the cross-entropy loss function as the training objective. The cross-entropy loss function measures the difference between the predicted probability distribution and the true label distribution and is a commonly used optimization objective in classification tasks. Training stops when the cross-entropy loss function of each branch converges on the validation set. The convergence criterion is that the validation loss does not decrease for five consecutive rounds.

[0054] Joint training refers to training a module that, after independent pre-training and integration of the cross-branch interaction module and the fusion classification module, fixes the parameters of both branches except for the multi-channel attention mechanism module, and trains only the parameters of the attention module, interaction module, fusion module, and classification module. This design allows new modules to learn how to effectively integrate features from both branches, while fixing the pre-trained branch parameters avoids large-scale parameter updates from damaging the learned branch-independent feature extraction capabilities. Simultaneously, it concentrates training resources to learn the cross-branch collaboration mechanism, improving training efficiency and stability. Joint training also uses the cross-entropy loss function as the training objective and trains until the validation loss converges.

[0055] In this step, the pre-training process is completed offline. In the first stage, DenseNet201 and MobileNetV2 are initialized using ImageNet pre-trained weights, fine-tuned separately on a road damage dataset, and trained until the validation loss converges. The weights of each branch are then saved. In the second stage, the two independently pre-trained branches are connected to a cross-branch interaction module and a multi-scale fusion module. The parameters of the two branches, except for the attention module, are fixed, and the parameters of the newly added modules are jointly trained until the validation loss converges. The complete network weights are saved as a pre-trained ensemble two-branch fusion convolutional neural network, which is then deployed for online inference.

[0056] Step S300 in the method provided in this application embodiment further includes: The DenseNet201 network performs attention-enhanced feature extraction on the image layer and outputs a first intermediate feature map. The MobileNetV2 network performs attention-enhanced feature extraction on the image layer and outputs a second intermediate feature map. The DenseNet201 network includes multiple densely connected blocks connected in sequence. A multi-channel attention mechanism module is connected after the last densely connected block. A 2×2 average pooling layer is connected after the multi-channel attention mechanism module. The multi-channel attention mechanism module performs global average pooling on each channel of the feature map output by the last densely connected block to obtain a channel description vector. It then performs a one-dimensional convolution operation on the channel description vector to obtain a channel dependency vector. The channel dependency vector is then passed through the Sigmoid activation function to obtain an attention weight vector. Finally, the attention weight vector is multiplied channel by channel with the feature map output by the last densely connected block to obtain an attention-enhanced feature map. The 2×2 average pooling layer performs 2×2 average pooling downsampling on the attention-enhanced feature map and outputs the first intermediate feature map; the MobileNetV2 network includes multiple inverse residual modules connected in sequence, and the multi-channel attention mechanism module is connected after the last inverse residual module; The multi-channel attention mechanism module performs global average pooling on each channel of the feature map output by the last inverse residual module to obtain a channel description vector. It then performs a one-dimensional convolution operation on the channel description vector to obtain a channel dependency vector. This channel dependency vector is then passed through a sigmoid activation function to obtain an attention weight vector. Finally, the attention weight vector is multiplied channel-by-channel with the feature map output by the last inverse residual module to obtain the second intermediate feature map. A detailed explanation follows: Densely connected blocks are the core building blocks of the DenseNet201 network. The layers inside are densely connected in a feedforward manner. The input of each layer contains the output of all the previous layers. By reusing features, the number of parameters is reduced and the gradient vanishing problem is alleviated, so that the network can still maintain effective gradient propagation for local details such as crack edges even when the network is deep.

[0057] The inverse residual module is a core component of the MobileNetV2 network. It first expands low-dimensional features to high dimensions through pointwise convolutions, extracts features in the high-dimensional space using depthwise separable convolutions, and then compresses them back to low dimensions through pointwise convolutions, forming a residual structure that is narrow at both ends and wide in the middle. This balances lightweight design with strong feature representation capabilities, facilitating the efficient capture of the global spatial distribution features of diseased areas. A 2×2 average pooling layer is placed after the attention module of the DenseNet201 branch, reducing the spatial size of the feature map by half to match the size of the intermediate feature map output by the MobileNetV2 branch.

[0058] Model pre-training example: In the first stage, DenseNet201 and MobileNetV2 are initialized using ImageNet pre-trained weights, and fine-tuned on the road damage dataset. The optimizer uses adaptive moment estimation, with an initial learning rate of 0.001, a batch size of 16, and 50 training epochs for each, until the validation loss converges. In the second stage, the two independently pre-trained branches are connected to the cross-branch interaction module and the multi-scale fusion module. The parameters of the two branches are fixed except for the attention module. The optimizer configuration is the same as in the first stage, with a batch size of 16, and 80 training epochs, until the validation loss converges. After training, the model weights with the lowest validation loss are saved as the pre-trained ensemble two-branch fusion convolutional neural network.

[0059] For example, taking a road surface image with a resolution of 2048×2048 pixels as an example, the multi-scale image pyramid corresponding to its output enhancement strategy contains four image layers with resolutions of 1024×1024, 512×512, 256×256, and 128×128, respectively. Taking the first layer 1024×1024 image as an example, it is input into the DenseNet201 branch, passed through densely connected blocks and a multi-channel attention module, and then through 2×2 average pooling to output a first intermediate feature map with 1920 channels and a spatial size of 16×16.

[0060] Simultaneously inputting into the MobileNetV2 branch, after passing through the inverted residual module and the multi-channel attention module, the output has 1280 channels, and the spatial size is the same as the first intermediate feature. Figure 1 The second intermediate feature map is generated. The two intermediate feature maps are concatenated along the channel dimension and then reduced to 1024 channels via a 1×1 convolution. These are then split into 512-channel supplementary features, which are added element-wise to the original feature map to obtain the enhanced feature map. The two enhanced feature maps are then globally averaged and concatenated in parallel to obtain the fused feature vector for this layer. The remaining three layers are processed similarly. The fused feature vectors from the four layers are concatenated in parallel, compressed by a fully connected layer, and then processed by Dropout and Softmax to output the subclassing probability vector of the pyramid.

[0061] This step extracts complementary features from the two heterogeneous branches of the integrated dual-branch fusion convolutional neural network, adaptively enhances important channels using a multi-channel attention mechanism, achieves information transfer between branches through cross-branch feature interaction, and performs multi-scale fusion of features at each layer of the pyramid, which helps to improve the comprehensiveness of feature representation and classification accuracy for different morphological diseases.

[0062] S400: Based on the category-specific confidence weights for each disease category and the prediction distribution sharpness weights for each sub-classification probability vector according to each image enhancement strategy, the multiple sub-classification probability vectors are double-weighted and fused to output the final disease category corresponding to the road surface image.

[0063] In this embodiment, after obtaining multiple sub-classification probability vectors, different enhancement strategies exhibit significant differences in their recognition effects on different disease categories, and the confidence levels of each prediction result vary. To effectively integrate the recognition expertise of each strategy for each disease category and the differences in confidence levels of single predictions, it is necessary to perform a dual-weighted fusion of multiple sub-classification probability vectors based on category-specific confidence and prediction distribution sharpness to output the final classification result that best reflects the true disease category.

[0064] Step S400 in the method provided in this application embodiment further includes: Obtain a pre-generated category-specific confidence matrix, where the number of rows in the category-specific confidence matrix represents the number of image enhancement strategies, and the number of columns represents the number of disease categories. The element in the i-th row and j-th column of the category-specific confidence matrix represents the classification accuracy of the i-th image enhancement strategy for the j-th disease category. For each sub-classification probability vector, extract the maximum probability value and the second-highest probability value from the sub-classification probability vector, and use the difference between the maximum probability value and the second-highest probability value as the prediction distribution sharpness of the sub-classification probability vector. Normalize the prediction distribution sharpness of all sub-classification probability vectors to obtain the prediction distribution sharpness weight of each sub-classification probability vector. For each disease category, the predicted probability of the disease category in each sub-classification probability vector is multiplied by the classification accuracy of the image enhancement strategy corresponding to the sub-classification probability vector for that disease category, and then multiplied by the prediction distribution sharpness weight of the sub-classification probability vector to obtain the weighted contribution value of the sub-classification probability vector to the disease category. The weighted contribution values ​​of all sub-classification probability vectors to the disease category are summed to obtain the comprehensive score of the disease category. The disease category corresponding to the highest comprehensive score among all disease categories is taken as the final disease category corresponding to the road image. The dual-weighted fusion decision process in this step is as follows: Figure 2 As shown, a detailed explanation follows: The category-specific confidence matrix is ​​a two-dimensional matrix with the number of rows equal to the number of image enhancement strategies and the number of disease categories equal to the number of columns. The element in the i-th row and j-th column represents the classification accuracy of the i-th image enhancement strategy for the j-th disease category, used to quantify the differences in recognition expertise of different enhancement strategies for different disease categories. The category-specific confidence matrix is ​​pre-generated during the validation phase and stored in the system database, and is directly accessed during online inference.

[0065] The sharpness of the predicted distribution is the difference between the highest and second-highest probability values ​​in the subclass probability vector, used to measure the confidence level of the prediction result. The larger the difference, the clearer the class distinction boundary and the higher the prediction confidence; the smaller the difference, the greater the risk of class confusion, and it is difficult to make a reliable judgment based on this prediction alone, so its weight in the fusion should be reduced.

[0066] The predicted distribution sharpness weight is a weight coefficient obtained by normalizing the predicted distribution sharpness of all sub-class probability vectors. The sum of the sharpness weights corresponding to each sub-class probability vector is 1. The sub-class probability vector with greater sharpness receives a higher weight and contributes more to the fusion. The normalization process makes the sharpness of different pyramids comparable, and the sum of the weights being 1 ensures that the overall score does not exceed a reasonable range, facilitating subsequent comparisons.

[0067] The weighted contribution value is calculated by multiplying the predicted probability of a single sub-classification probability vector for a given disease category by the classification accuracy of the corresponding image enhancement strategy for that disease category, and then by the prediction distribution sharpness weight of the single sub-classification probability vector. This product represents the weighted contribution of that single sub-classification probability vector to the disease category. This value integrates information from three dimensions: the magnitude of the predicted probability, the strategy's specific recognition expertise, and the prediction confidence.

[0068] The comprehensive score is obtained by summing the weighted contributions of all sub-class probability vectors to a specific disease category. The disease category with the highest score is the final classification result. The advantage of dual-weighted fusion compared to simple averaging is that simple averaging assumes all sub-class probability vectors are equally reliable and equally effective for all categories, while dual-weighted fusion considers both the differences in recognition expertise of different enhancement strategies for different categories and the confidence level of each prediction itself, allowing for a more refined utilization of the complementary advantages of each enhancement strategy.

[0069] In this step, a pre-generated category-specific confidence matrix is ​​loaded from the system database. For each sub-class probability vector output in the previous steps, all its elements are iterated to find the maximum and second-highest probability values, and the difference between the two is calculated as the predicted distribution sharpness of that sub-class probability vector. The predicted distribution sharpness of all sub-class probability vectors is normalized, and the sharpness of each vector is divided by the sum of all sharpnesses to obtain the corresponding sharpness weight.

[0070] For each disease category, iterate through all sub-category probability vectors. Multiply the predicted probability of that category in each vector, the classification accuracy of the corresponding enhancement strategy for that category, and the sharpness weight of that sub-category probability vector to obtain a weighted contribution value. Sum these values ​​to obtain the comprehensive score for that category. Finally, compare the comprehensive scores of all disease categories and output the disease category with the highest score as the final classification result.

[0071] Step S400 in the method provided in this application embodiment further includes: The category-specific confidence matrix is ​​pre-generated as follows: During the validation phase of the integrated dual-branch fusion convolutional neural network, each image enhancement strategy is applied to enhance each validation road image in the validation set to obtain the enhanced validation image set corresponding to each image enhancement strategy; a multi-scale image pyramid is constructed for each enhanced validation image in each enhanced validation image set; and each multi-scale image pyramid is input into the integrated dual-branch fusion convolutional neural network to obtain the classification result corresponding to each validation road image in each enhanced validation image set. For each image enhancement strategy and each disease category, the number of verification pavement images in the enhancement verification image set whose true labels are both the disease category and whose classification results are also the disease category is counted. This number of verification pavement images is divided by the total number of verification pavement images in the enhancement verification image set whose true labels are the disease category to obtain the classification accuracy of the image enhancement strategy for the disease category. The classification accuracy of each image enhancement strategy for each disease category is then used as the element of the corresponding row and column in the category-specific confidence matrix. A detailed explanation follows: The enhanced validation image set is used in the validation phase after the integrated dual-branch fusion convolutional neural network is trained. Each image enhancement strategy is used to enhance each validation pavement image in the validation set to obtain the enhanced validation image set corresponding to each image enhancement strategy. Each enhanced validation image set is used to independently evaluate the classification performance of the image enhancement strategy for each disease category.

[0072] The category-specific confidence matrix is ​​generated during the validation phase. It is based on the premise that the validation set is independent of the training set and contains balanced samples from each category. The classification accuracy obtained on the validation set objectively reflects the true recognition ability of each augmentation strategy for each category. Classification accuracy is defined as the number of validation pavement images in the augmentation validation image set whose true labels are both for a specific disease category and whose classification result is also for that category, divided by the total number of validation pavement images in the augmentation validation image set whose true labels are for that category. Classification accuracy reflects the augmentation strategy's expertise in recognizing a specific category; a higher value indicates that the augmentation strategy's recognition of that category is more reliable.

[0073] In this step, after the model training is complete and convergence is verified, the class-specific confidence matrix is ​​generated offline using the validation set. Each image enhancement strategy is iterated over, and each image in the validation set is enhanced using that strategy, constructing a multi-scale image pyramid. This pyramid is then input into the trained ensemble dual-branch fusion convolutional neural network to obtain the classification results. For each enhancement strategy and each disease category, the ratio of correctly classified samples to the number of true samples is calculated as the classification accuracy, which is then entered into the corresponding position in the class-specific confidence matrix and stored in the system database for online inference.

[0074] For example, taking a road surface image with a resolution of 2048×2048 pixels as an example, its output consists of 6 sub-classification probability vectors. Assume there are 4 types of defects: transverse cracks, longitudinal cracks, network cracks, and potholes. There are 3 image enhancement strategies: adaptive histogram equalization, Gaussian filtering, and rotation expansion. Sub-classification probability vector 1 is the pyramid corresponding to the adaptive histogram equalization strategy, with predicted probabilities of [0.72, 0.08, 0.12, 0.08]. The highest probability of 0.72 corresponds to transverse cracks, and the second highest probability of 0.12 corresponds to network cracks. Sharpness = 0.72. 0.12 = 0.60. Subclass probability vector 2 is the pyramid corresponding to the Gaussian filtering strategy, with predicted probabilities of [0.15, 0.68, 0.10, 0.07]. The highest probability of 0.68 corresponds to a longitudinal split, and the second highest probability of 0.15 corresponds to a transverse split. Sharpness = 0.68. 0.15 = 0.53. Subclass probability vectors 3 to 6 are the four pyramids corresponding to the rotation expansion strategy, with sharpness values ​​of 0.45, 0.50, 0.48, and 0.55, respectively. After normalization of the six sharpness values, the sharpness weights are 0.193, 0.170, 0.145, 0.161, 0.154, and 0.177, respectively.

[0075] In the category-specific confidence matrix, the adaptive histogram equalization strategy achieved a classification accuracy of 0.88 for transverse cracks, 0.45 for longitudinal cracks, 0.62 for network cracks, and 0.51 for crater cracks. The Gaussian filtering strategy achieved a classification accuracy of 0.35 for transverse cracks, 0.86 for longitudinal cracks, 0.58 for network cracks, and 0.44 for crater cracks. The rotation expansion strategy achieved classification accuracies of 0.70, 0.65, 0.78, and 0.72 for each category, respectively. For the transverse crack category, the weighted contribution of sub-classification probability vector 1 is approximately 0.12 (0.72 × 0.88 × 0.193). Adding the contributions of other sub-classification probability vectors yields the comprehensive score. After traversing the four disease categories, assuming the transverse crack has the highest comprehensive score, the final output disease category is transverse crack.

[0076] This step utilizes a dual weighted fusion of category-specific confidence weights and prediction distribution sharpness weights to differentiate the identification expertise of different enhancement strategies across categories and the level of confidence in a single prediction. This approach helps to fully integrate the complementary advantages of each enhancement strategy and improve the accuracy and stability of the final classification results.

[0077] The embodiments of this application, through the specific implementation methods described above, achieve the following technical effects: This application proposes an intelligent pavement distress classification method based on a dual-branch fusion convolutional neural network. It employs various image enhancement strategies to perform contrast enhancement, noise suppression, and rotation expansion on the pavement images to be classified, constructing a multi-scale image pyramid to achieve hierarchical feature representation at different resolutions. The two heterogeneous branches of the integrated dual-branch fusion convolutional neural network extract complementary features, which are then integrated through cross-branch interaction and multi-scale fusion. Finally, multiple sub-classification probability vectors are weighted and fused using category-specific confidence weights and predicted distribution sharpness weights to output the final distress category. This method fully utilizes the complementary advantages of different enhancement strategies and multi-scale features, solving the technical problems in pavement distress classification where local details and global information are difficult to balance, image quality fluctuations affect classification stability, and the classification accuracy is limited due to the ineffective integration of the advantages of multiple enhancement strategies.

[0078] It should be noted that the order of the embodiments in this application is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments of this specification. Additionally, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

Claims

1. A method for intelligent classification of pavement defects based on a dual-branch fusion convolutional neural network, characterized in that, The method includes: Multiple image enhancement strategies are employed to enhance the road surface images to be classified, resulting in multiple enhanced road surface images. Construct a multi-scale image pyramid for each enhanced road surface image to obtain multiple multi-scale image pyramids; The multiple multi-scale image pyramids are respectively input into a pre-trained integrated dual-branch fusion convolutional neural network. The integrated dual-branch fusion convolutional neural network performs feature extraction, cross-branch feature interaction and multi-scale fusion on each multi-scale image pyramid, and outputs the sub-classification probability vector corresponding to each multi-scale image pyramid. Based on the category-specific confidence weights for each disease category and the prediction distribution sharpness weights for each sub-class probability vector for each image enhancement strategy, the multiple sub-class probability vectors are double-weighted and fused to output the final disease category corresponding to the road surface image.

2. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 1, characterized in that, Multiple image enhancement strategies are employed to enhance the road surface images to be classified, resulting in multiple enhanced road surface images, including: An adaptive histogram equalization strategy is used to enhance the road surface image to be classified, resulting in the first enhanced image. A Gaussian filtering strategy is used to enhance the road surface image to be classified, resulting in a second enhanced image; Using the center point of the road surface image to be classified as the rotation center, the road surface image to be classified is rotated by multiple preset angles to obtain multiple rotated images, and the multiple rotated images are used as the third enhanced image; The first enhanced image, the second enhanced image, and the third enhanced image are used as multiple enhanced road surface images.

3. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 2, characterized in that, An adaptive histogram equalization strategy is used to enhance the road surface image to be classified, resulting in a first enhanced image, which includes: The road surface image to be classified is converted from RGB color space to LAB color space. The L channel image representing brightness information is extracted from the LAB color space, while the A channel image and B channel image representing color contrast information are retained. The L-channel image is uniformly divided into multiple non-overlapping image blocks. A gray-level histogram is calculated for each image block. The cumulative distribution function of each image block is calculated based on the gray-level histogram of each image block. The cumulative distribution function is used to enhance the local contrast of each image block. The enhanced image blocks are then stitched together in their original positions to obtain the enhanced L-channel image. The enhanced L-channel image is merged with the A-channel image and the B-channel image to obtain a merged LAB image, and the merged LAB image is converted back to the RGB color space to obtain the first enhanced image.

4. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 2, characterized in that, A Gaussian filtering strategy is used to enhance the road surface image to be classified, resulting in a second enhanced image, including: Construct a two-dimensional Gaussian convolution kernel with a size of K×K pixels, where K is an odd number greater than 1. The weight values ​​of each element in the two-dimensional Gaussian convolution kernel are calculated according to the two-dimensional Gaussian distribution function, and the weight values ​​of pixels farther away from the center of the two-dimensional Gaussian convolution kernel are smaller. The two-dimensional Gaussian convolution kernel is slid across each pixel of the road surface image to be classified. For each pixel, the pixel value of each pixel in the neighborhood covered by the two-dimensional Gaussian convolution kernel is weighted and summed with the weight value of the corresponding position in the two-dimensional Gaussian convolution kernel. The weighted sum is used as the filtered pixel value of that pixel. The same weighted summation operation is performed on the R, G, and B channels of the road surface image to be classified, and the results of the three-channel filtering are merged to obtain the second enhanced image. The Gaussian filtering strategy is used to suppress high-frequency noise and particulate interference generated by asphalt texture in road surface images, while preserving low-frequency structural information of crack edges and disease contours.

5. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 1, characterized in that, Construct a multi-scale image pyramid for each enhanced road surface image, resulting in multiple multi-scale image pyramids, including: Step 1: Scale the enhanced road surface image to a preset size, and normalize the pixel values ​​of the scaled enhanced image to obtain a normalized enhanced image; Step 2: Use the normalized enhanced image as the first layer of the multi-scale image pyramid; Step 3: The first layer is downsampled multiple times with a preset scaling factor. Each downsampling yields one layer. The first layer and the layers obtained from each downsampling are combined to form the multi-scale image pyramid corresponding to the enhanced road surface image. Step 4: Perform the operations from Step 1 to Step 3 on all the enhanced road surface images to obtain multiple multi-scale image pyramids that correspond one-to-one with the multiple enhanced road surface images.

6. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 1, characterized in that, The multiple multi-scale image pyramids are respectively input into a pre-trained ensemble dual-branch fusion convolutional neural network. The ensemble dual-branch fusion convolutional neural network performs feature extraction, cross-branch feature interaction, and multi-scale fusion on each multi-scale image pyramid, and outputs a sub-classification probability vector corresponding to each multi-scale image pyramid, including: The pre-trained ensemble dual-branch fusion convolutional neural network includes a first branch network and a second branch network configured in parallel, and also includes a cross-branch feature interaction module, a multi-scale feature fusion module, and a classification output module. The first branch network is a DenseNet201 network, and the second branch network is a MobileNetV2 network. Both the first and second branch networks include a multi-channel attention mechanism module. The cross-branch feature interaction module includes a 1×1 convolutional layer, and the multi-scale feature fusion module includes a fully connected layer. The classification output module includes a Dropout layer and a Softmax classification layer. For each image layer in a multi-scale image pyramid, the DenseNet201 network performs attention-enhanced feature extraction on the image layer and outputs a first intermediate feature map, and the MobileNetV2 network performs attention-enhanced feature extraction on the image layer and outputs a second intermediate feature map, wherein the spatial size of the first intermediate feature map is the same as the spatial size of the second intermediate feature map; The first intermediate feature map and the second intermediate feature map are concatenated along the channel dimension. The concatenated feature map is then subjected to 1×1 convolution for dimensionality reduction. The dimensionality-reduced feature map is then split along the channel dimension into a first branch supplementary feature and a second branch supplementary feature. The first branch supplementary feature is added element by element to the first intermediate feature map to obtain the first enhanced feature map, and the second branch supplementary feature is added element by element to the second intermediate feature map to obtain the second enhanced feature map. The first enhanced feature map is subjected to global average pooling to obtain a first feature vector, and the second enhanced feature map is subjected to global average pooling to obtain a second feature vector. The first feature vector and the second feature vector are concatenated in parallel along the channel dimension to obtain the image layer fusion feature vector of the image layer. The image layer fusion feature vectors corresponding to each image layer in the multi-scale image pyramid are concatenated in parallel along the channel dimension. The concatenated feature vectors are then compressed through a fully connected layer to obtain the fusion feature vector of the multi-scale image pyramid. The fused feature vector is passed sequentially through a Dropout layer and a Softmax classification layer to output the sub-classification probability vector corresponding to the multi-scale image pyramid.

7. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 6, characterized in that, The pre-training process of an integrated dual-branch fused convolutional neural network includes: In the first stage, the DenseNet201 network and the MobileNetV2 network are pre-trained independently: the parameters of the DenseNet201 network and the MobileNetV2 network are initialized using the ImageNet dataset, and the DenseNet201 network and the MobileNetV2 network are fine-tuned on the road damage dataset. The parameters of the DenseNet201 network and the MobileNetV2 network are updated with the cross-entropy loss function as the training objective until the cross-entropy loss function of the DenseNet201 network and the MobileNetV2 network on the validation set converges, thus obtaining the independently pre-trained DenseNet201 network and the independently pre-trained MobileNetV2 network. In the second stage, after the independently pre-trained DenseNet201 network and the independently pre-trained MobileNetV2 network, a 1×1 convolutional layer, a fully connected layer, and a Softmax classification layer corresponding to the dimensionality reduction are added to form a complete integrated dual-branch fusion convolutional neural network. The parameters of the independently pre-trained DenseNet201 network, except for the multi-channel attention mechanism module, and the parameters of the independently pre-trained MobileNetV2 network, except for the multi-channel attention mechanism module, are fixed. The parameters of the multi-channel attention mechanism module, the cross-branch feature interaction module, the multi-scale feature fusion module, and the classification output module are jointly trained using the road damage dataset, with the cross-entropy loss function as the training objective, until the cross-entropy loss function converges on the validation set, thus obtaining the pre-trained integrated dual-branch fusion convolutional neural network.

8. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 6, characterized in that, The DenseNet201 network performs attention-enhanced feature extraction on the image layer and outputs a first intermediate feature map. The MobileNetV2 network performs attention-enhanced feature extraction on the image layer and outputs a second intermediate feature map, including: The DenseNet201 network contains multiple densely connected blocks connected in sequence. A multi-channel attention mechanism module is connected after the last densely connected block, and a 2×2 average pooling layer is connected after the multi-channel attention mechanism module. The multi-channel attention mechanism module performs global average pooling on each channel of the feature map output by the last densely connected block to obtain a channel description vector. It then performs a one-dimensional convolution operation on the channel description vector to obtain a channel dependency vector. The channel dependency vector is then passed through the Sigmoid activation function to obtain an attention weight vector. Finally, the attention weight vector is multiplied channel by channel with the feature map output by the last densely connected block to obtain an attention-enhanced feature map. The 2×2 average pooling layer performs 2×2 average pooling downsampling on the attention enhancement feature map and outputs the first intermediate feature map. The MobileNetV2 network includes multiple inverted residual modules connected in sequence, with the multi-channel attention mechanism module connected after the last inverted residual module; The multi-channel attention mechanism module performs global average pooling on each channel of the feature map output by the last inverse residual module to obtain a channel description vector. It then performs a one-dimensional convolution operation on the channel description vector to obtain a channel dependency vector. The channel dependency vector is then passed through the Sigmoid activation function to obtain an attention weight vector. Finally, the attention weight vector is multiplied channel by channel with the feature map output by the last inverse residual module to obtain a second intermediate feature map.

9. The intelligent classification method for road surface defects based on a dual-branch fusion convolutional neural network according to claim 1, characterized in that, Based on the category-specific confidence weights for each disease category and the prediction distribution sharpness weights for each sub-classification probability vector for each image enhancement strategy, a double-weighted fusion is performed on multiple sub-classification probability vectors to output the final disease category corresponding to the road surface image, including: Obtain a pre-generated category-specific confidence matrix. The number of rows in the category-specific confidence matrix represents the number of image enhancement strategies, and the number of columns represents the number of disease categories. The element in the i-th row and j-th column of the category-specific confidence matrix represents the classification accuracy of the i-th image enhancement strategy for the j-th disease category. For each subclass probability vector, the maximum probability value and the second largest probability value are extracted from the subclass probability vector, and the difference between the maximum probability value and the second largest probability value is used as the sharpness of the predicted distribution of the subclass probability vector. The predicted distribution sharpness of all sub-class probability vectors is normalized to obtain the predicted distribution sharpness weight of each sub-class probability vector. For each disease category, the predicted probability of the disease category in each sub-classification probability vector is multiplied by the classification accuracy of the image enhancement strategy corresponding to the sub-classification probability vector for the disease category, and then multiplied by the prediction distribution sharpness weight of the sub-classification probability vector to obtain the weighted contribution value of the sub-classification probability vector to the disease category. The weighted contribution values ​​of all sub-class probability vectors to the disease category are summed to obtain the comprehensive score of the disease category; The disease category with the highest overall score among all disease categories is taken as the final disease category corresponding to the road surface image.

10. The intelligent classification method for pavement defects based on a dual-branch fusion convolutional neural network according to claim 9, characterized in that, Category-specific confidence matrices are pre-generated using the following methods: In the verification stage of the integrated dual-branch fusion convolutional neural network, each image enhancement strategy is used to enhance each verification road image in the verification set, resulting in an enhanced verification image set corresponding to each image enhancement strategy. A multi-scale image pyramid is constructed for each enhanced verification image in each enhanced verification image set. Each multi-scale image pyramid is then input into the integrated dual-branch fusion convolutional neural network to obtain the classification result corresponding to each verification road surface image in each enhanced verification image set. For each image enhancement strategy and each disease category, the number of verification pavement images in the enhancement verification image set whose true label is the disease category and whose classification result is also the disease category is counted. The number of verification pavement images is divided by the total number of verification pavement images in the enhancement verification image set whose true label is the disease category to obtain the classification accuracy of the image enhancement strategy for the disease category. The classification accuracy of each image enhancement strategy for each disease category is used as the element of the corresponding row and column in the category-specific confidence matrix.