Next Article in Journal
Comparative Analysis of Vision Transformer Models for Facial Emotion Recognition Using Augmented Balanced Datasets
Next Article in Special Issue
Performance Assessment of Waste Cooking Oil-Modified Asphalt Mixtures
Previous Article in Journal
Investigation and Optimization of EOR Screening by Implementing Machine Learning Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detection Method of Cracks in Expressway Asphalt Pavement Based on Digital Image Processing Technology

1
Henan Province Highway Engineering Bureau Group Co., Ltd., Zhengzhou 450052, China
2
School of Civil Engineering, Henan Polytechnic University, Jiaozuo 454000, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(22), 12270; https://doi.org/10.3390/app132212270
Submission received: 9 October 2023 / Revised: 25 October 2023 / Accepted: 26 October 2023 / Published: 13 November 2023
(This article belongs to the Special Issue Advances in Renewable Asphalt Pavement Materials)

Abstract

:
Considering the limitations of the current pavement crack damage detection methods, this study proposes a method based on digital image processing technology for detecting highway asphalt pavement crack damage. Firstly, a non-subsampled contourlet transform is used to enhance the image of highway asphalt pavement. Secondly, the non-crack regions in the image are screened, and the crack extraction is completed by obtaining and enhancing the crack intensity map. Finally, the features of cracks are extracted and input into the support vector machine for classification and recognition to complete the detection of cracks in highway asphalt pavement. The experimental results show that the proposed method can effectively enhance the quality of a pavement image and precisely extract a crack area from the image with a high level of damage detection accuracy.

1. Introduction

Road traffic has always occupied a pivotal position in many modes of transportation. Compared with the United States, Japan, and other developed countries, China’s highway construction was delayed. The completion of the Shanghai Jiaxing Expressway opened the prelude to China’s highway construction. At present, China has gradually formed a highway network that is compatible with its economy. The development of highways brings convenience to people, but at the same time, it also poses a novel challenge: highway maintenance and management [1,2]. There are many factors in daily life that cause damage to roadways in various forms, such as cracks, pits, et cetera. That damage brings hidden dangers to people’s traffic safety [3]. Therefore, timely and effective pavement damage detection has become the most important part of highway maintenance, in which crack detection of expressway asphalt pavement is a key part.
Zhang Tianjie et al. identified asphalt pavement cracks based on residual neural networks [4]. A set of asphalt pavement images was established, and crack images were cleaned using data-cleaning algorithms. A sample dataset of asphalt pavement crack images was constructed. The image set was divided into training and testing sets in a ratio of 8:2. The residual neural network ResNet50 was used to train the cleaned data, obtain network weights, and then use the trained network to predict the asphalt pavement crack data to complete crack damage detection. However, the image processed by this method still has some noise, which reduces the accuracy of damage detection and is not conducive to subsequent damage detection.
Li Yan proposed a three-dimensional crack detection method for asphalt pavement based on a height intercept product [5]. First, the image is preprocessed using a bilateral filter to achieve a smooth road texture and maintain crack contour features. Then, taking advantage of the fact that the high–low–high degree of the crack contour is greater than the texture area and has strong symmetry, a height difference product operator is designed. This operator could effectively amplify the difference between the crack and non-crack areas, and the corresponding crack mapping image could be obtained through the processing of this operator. Finally, dynamic threshold segmentation and denoising are performed on the mapped image to obtain the final binary image of cracks and achieve crack damage detection. However, this method does not screen for non-crack areas in the image and cannot accurately extract crack areas, which affects the effectiveness of damage detection.
Hu Chengxue et al. proposed a crack detection method for asphalt pavement based on neighborhood and gradient saliency feature fusion [6]. The image was denoised using grayscale correction and morphology. This process involves extracting important features in the image’s vicinity based on the significant differences between pixels and their surrounding arias. Significant features in different directions are obtained through directional adjustable filters, and feature fusion salient maps are generated through convolutional operations. Then, the feature fusion salient map threshold is segmented to obtain suspected crack aggregation areas, introducing a clustering analysis method to select crack candidate regions based on the different geometric features of the clustering region. Finally, a region endpoint search and localization method is proposed, which eliminates subsets of non-endpoint aggregation regions and connects endpoints of different regions, ultimately achieving complete crack extraction. However, this method does not enhance the road surface image, resulting in certain errors in image recognition, inconsistent damage detection results with actual results, and reducing the accuracy of damage detection.
In order to solve the issues in the above methods, a method based on digital image processing technology for detecting cracks in expressway asphalt pavement is proposed. The main steps are as follows:
(1)
Use the nonsubsampled contourlet transform to enhance the image of asphalt pavement on highways, denoise, and select thresholds through principal component analysis;
(2)
Use the Gaussian Laplace operator to filter non-crack images and obtain intensity images based on the non-negative features of cracks;
(3)
Enhance regional information and extract crack features through comparative crack features;
(4)
Use projection features and crack pixel features to classify crack images. The features serve as input vectors for support vector machines, and when combined with classification functions, the detection of crack diseases in highway asphalt pavement is completed;
(5)
Experiments and discussions show the overall effectiveness of the proposed method through image enhancement, crack extraction, and damage detection tests;
(6)
Conclusions.

2. Digital Image Processing

2.1. Image Enhancement Processing of Expressway Asphalt Pavement

The detection method of expressway asphalt pavement crack damage based on digital image processing technology uses the non-subsampled contourlet transform (NSCT) to enhance the image of expressway asphalt pavement.
NSCT can be divided into two translation invariant parts: a non-down sampling pyramid and a non-down sampling directional filter bank. The combination of these two parts ensures the multi-directional and multi-scale analysis characteristics of NSCT. Moreover, the filter banks of these two parts avoid sampling, making NSCT translation invariant. This feature ensures that the NSCT transformed image information is preserved and the frequency domain characteristics of different subbands in the image are clear.
In the actual pavement crack damage detection process, the pavement image that needed to be enhanced not only contains weak signal crack information but also contains different noise levels. Therefore, the road image enhancement algorithm must keep the crack edge information as far as possible, suppress noise, and enhance the contrast between the road background image and the crack [7,8]. The idea of the NSCT image denoising and enhancement algorithm is first to select an appropriate threshold to distinguish noise from weak edge information. Secondly, a suitable threshold function is selected to enhance the contrast of pavement background and crack information [9,10]. Because the frequency domain characteristics of noise are unstable, there is no fixed shape. The frequency distribution of weak edges is relatively stable, and the shape presents a certain geometric structure, so this morphological difference can be used to distinguish the noise and weak edge information in a road image. By incorporating the translation invariance of the NSCT transform, the crack information in the road image can be enhanced and noise minimized.
A pavement image is transformed by NSCT to obtain the subband coefficients of the image. According to these coefficients, the pixels in the image are divided into three categories: strong edge, weak edge, and noise. The classification of strong edges, weak edges, and noise can be determined by the threshold T . This article uses principal component analysis to determine the threshold T . There are many approaches to select the method, and the proposed approach uses the principal component analysis method. In the field of image processing, a standard denoising criterion considers that the information with large changes is the target, the information with small changes is noise, and the size of changes is described by variance. The idea of the PCA method is to project high-dimensional data into a low-dimensional subspace, use new variables with fewer dimensions and mutual independence to reflect most of the information provided by the original variables, and then solve the problem by analyzing the new variables [11,12]. PCA has many different calculation methods. The proposed method calculates the data matrix X covariance matrix of C O V the eigenvalues and eigenvectors of W for solving.
First, the pavement image of order M × N is represented by a matrix as X = [ x 1 , x 2 , , x n ] , using the X standardization process to obtain X . As shown in Formula (1):
X = X X ¯
where X ¯ = X T I / M , I by m × 1 dimensional vector; M is the number of observation indicators of X .
Furthermore, each element in the covariance matrix X of the standardized matrix C O V can be calculated, as shown in Formula (2):
C O V ( i , j ) = ( k = 1 x k i · x k j ) / ( m 1 )
where x k i , x k j standardize matrix X elements.
For the decomposition covariance matrix C O V = U Λ , Λ = d i a g [ λ 1 , λ 2 , , λ n ] by the C O V characteristic value of λ i diagonal matrix is formed; U = [ u 1 , u 2 , , u n ] is the covariance matrix; C O V is the eigenvector corresponding to the eigenvalue.
The formula for calculating the variance contribution rate ι of the standardized matrix is shown in Formula (3):
ι = ( λ 1 , λ 2 , , λ d ) / t r a c e ( C O V )
When the value of ι reaches more than 70%, the main information of d contains a feature vector x i . Before taking x i characteristic values and Λ d = d i a g [ λ 1 , λ 2 , , λ d ] and eigenvectors W d = [ w 1 , w 2 , , w d ] as the base coordinate of the subspace, the principal component Y in the data matrix can be standardized by X to keep d projection on base coordinates, as shown in Formula (4):
Y = W d T X
We apply the first d principal components to estimate the reconstruction model of X , as shown in Formula (5):
X = W Y + X
The proposed method uses the median X ^ of the absolute values of the standardized data matrix as the threshold T for pixel classification in the image. The calculation formula is shown in Formula (6):
T = m e d i a n ( | X ^ | )
where m e d i a n indicates the median value.
Based on the above steps, the threshold value in the NSCT image enhancement algorithm can be determined. In the process of image enhancement, two factors directly determine the enhancement effect: the selection of threshold and the threshold function. A reasonable threshold can distinguish the noise from the image information and enhance the weak edge information of the image.
The calculation formula for the enhancement function g ( x ) used in the proposed method is shown in Formula (7):
g ( x ) = 1 x S E max x ( T / | x | p ) x W E 0 x N o i s e
where x is the pixel value after NSCT decomposition; p is the adjustment coefficient, which can be taken from 0 to 1; S E indicates a strong edge; W E is a weak edge; N o i s e indicates noise. This formula preserves the strong edge of the image, enhances the weak edge, and suppresses the noise.

2.2. Crack Extraction

The crack damage detection method of expressway asphalt pavement based on digital image processing technology mainly extracts cracks through three steps:
(1)
Non-fracture image filtering;
(2)
Intensity image acquisition;
(3)
Regional information enhancement.
First, according to the high-frequency characteristics, the relevant algorithm is used to calculate the target high-frequency signal in the pavement image. The image with a weak target high-frequency signal is a crack-free image, and the processing is skipped. Second, for images with possible cracks, relevant extraction algorithms are designed based on the non-negative features and contrast features of the image crack regions to obtain candidate information on cracks. Then, according to the linear characteristics of the image crack region, relevant algorithms are designed to strengthen the breakpoints and weaken the background noise. Finally, the false information is eliminated, and the cracks in the asphalt pavement image of the expressway are extracted. It should be noted that in order to ensure that the crack information in an image can be accurately captured and analyzed, there are certain requirements for the size or resolution of the image. A larger image size may require more computing resources and storage space, but it can also provide more image information for crack detection. Higher resolution can provide more detailed information, which helps to identify and locate cracks in crack detection more accurately. However, higher resolution also increases the cost of computation and storage. Therefore, it is necessary to ensure that the road surface image resolution used for detection is at least 150 dpi.

2.2.1. Non/Crack Image Filtering

Because in the actual detection, most of the pavement to be treated is damage-free, if the cracks in these pictures are detected directly, it will cause unnecessary errors and affect the speed of batch detection. Therefore, before crack detection, high-frequency features are used to screen damage-free images.
(1)
Zero intersection detection based on high frequency characteristics of cracks
In the image, cracks belong to grayscale abrupt edges, and their grayscale values show a step-like change, which can be considered high-frequency signals. Therefore, this high-frequency feature can be defined as a characteristic of cracks.
The high-frequency features of cracks can be well expressed by edge detection [13,14], and an improved Gaussian Laplacian operator is proposed. The core idea of the Gaussian Laplacian operator [15,16] is to combine the Laplacian operator and the Gaussian smoothing filter to detect the edge of the image. For the pavement crack image, the Gaussian smoothing filter can effectively suppress the impact noise and other signals, which plays a good auxiliary role in the expression of low-frequency information of the crack-free image. The main principle is shown in Formula (8):
F ( x , y ) = 2 [ G ( x , y ) f ( x , y ) ] = 2 G ( x , y ) f ( x , y ) 2 G ( x , y ) = 1 π σ 4 ( x 2 + y 2 2 σ 2 1 ) e x 2 + y 2 2 σ 2
where is a convolution operation [17,18], F ( x , y ) is the image obtained after convolution processing, f ( x , y ) is the original image. Setting k = 1 2 π σ 4 , 2 G ( x , y ) can be separated into two filters h 1 , h 2 . The above equation can be further improved, as shown in Formula (9):
F ( x , y ) = [ h 1 ( x ) h 2 ( y ) + h 2 ( x ) h 2 ( y ) ] f ( x , y )
Because the crack has no fixed direction, a multi-directional convolution template is used to ensure that the edge information in all directions can be effectively detected. The steps are: f ( x , y ) takes the convolution templates of horizontal and vertical, inclined at 45 degrees and inclined 135 degrees for operation, and the results of each template operation are summed. As shown in Formula (10):
d [ i ] ( x , y ) = f ( x + a , y + b ) h 1 ( x ) D [ i ] ( x , y ) = d ( x + c , y + d ) h 3 i ( x )
where i = [ 1 , 2 ] ; by finding d [ i ] , the convolution calculation result can be obtained by the value of F ( x , y ) = i = 1 2 D [ i ] . Taking the template in the horizontal and vertical directions: a = d = 0 , c = b , b [ 8.5 σ / 2 , 8.5 σ / 2 ] . Taking the 45° and 135° formwork: a = c = d = b , b [ 8.5 σ / 2 , 8.5 σ / 2 ] . By summing the convolution results of the four templates, the high-frequency information of each main direction can be obtained, and then the enhanced convolution map can be obtained. After convolution processing, the high-frequency signals (cracks and other edges) of the image appear as zero intersections.
(2)
Damage free image judgment
Considering that some zebra crossings and road signs have strong edge characteristics, but their edges have regular shape and direction characteristics, they can be removed according to the length-width ratio of their edge areas. The basic discrimination formula is shown in Formula (11):
V [ k ] = L [ k ] W [ k ]
Among them, V [ k ] is the aspect ratio of the current connected domain, L [ k ] is the length of connected domain, and W [ k ] is connected domain width. The judgment steps are as follows:
(1)
Calculate the length and width of each connected domain, such as L [ k ] > 4 c o l / 5 or W [ k ] > 4 / 5 r o w (image size is r o w × c o l ), and continue to judge;
(2)
Calculate the V [ k ] value. If satisfied by V [ k ] > 10 or V [ k ] < 0.1 , determine that it is a landmark edge, and delete the entire connection;
(3)
Count the remaining zero crossings N , such as N < c o l / 5 or perhaps N < r o w / 5 , then it is judged that the image is mainly a low-frequency signal, which is a damage-free image, and the processing step is skipped.

2.2.2. Strength Image Acquisition Based on Non-Negative Characteristics of Cracks

After filtering out most of the non-crack images, the intensity image is obtained based on the non-negative characteristics of the crack. In the process of road image achievement, due to the illumination angle of the incident light, cracks appear as darker areas on the image, whose pixel gray values are generally lower than the background pixels nearby and generally have a substantial difference. This feature is defined as the non-negative feature of cracks.
In some complex road sections, some crack areas with large widths will be filled or covered by the dust on the road, resulting in a higher gray value of its pixels than the nearby background pixels. At this time, the gray value of the pixel at the edge of the crack is lower than that of the pixel filled with dust in the middle, which also has a significant difference, so the non-negative feature is also applicable in this case. Non-negative features mainly describe the gray value characteristics of a single crack point in the region. As the most basic and main feature of crack pixels, they can be used to extract the most basic crack information. The schematic diagram of non-negative characteristics is shown in Figure 1:
Figure 1 is a schematic diagram of an image containing a crack area, the size of which is a × b ; the crack area is marked with a circle and a diamond. f ( x , y ) is the current point to be processed; other points in the area can be represented as f ( x + w , y + h ) , where: w [ ( a + 1 ) / 2 , ( a + 1 ) / 2 ] , h [ ( b + 1 ) / 2 , ( b + 1 ) / 2 ] .
f ( x + w , y + h ) includes both cracked pixels and non-cracked pixels. Based on the non-negative characteristics, design-related algorithms are used to obtain the intensity map of the crack image. Considering that cracks are linearly distributed, the width is small, and the closer the point is to the current point, the greater the influence factor on the determination of crack points is, so a distance weight function is introduced. The calculation formula for strength ς i is shown in Formula (12):
ς i = [ f ( x , y ) f ( x + w , y + h ) ] e w 2 + h 2 K
When ς i < 0 , we count the quantity n , e w 2 + h 2 K as the distance influence factor, which is taken according to the size of the selected window K = 64 . Calculated in this way, the influence of edge pixels ς i is weakened, which can highlight the characteristics of the crack area more. Then, we calculate the strength value O of the current point, as shown in Formula (13):
O = | ( i = 0 n ς i ) / N |
Among them, N is the total number of pixels in the region. In actual processing, using a 21 × 21 size window scans the acquired image and calculates the intensity value of each point according to Formulas (12) and (13) as O and the quantity influence factor n . According to the prior knowledge obtained from a large number of experiments, the best threshold suitable for fracture extraction is O < 30 , n > 0.8 N . When the calculated O and n meet the requirements, the value of O can be assigned to the current point f ( x , y ) . Otherwise, the value is assigned to 0.
Non-negative features mainly calculate and screen the differences shown by single crack pixels and then obtain basic candidate crack information, including background noise, non-crack edge signals, and other interference factors. The image obtained after non-negative feature calculation mainly describes the strength information of the original crack image, which is called the crack strength map for short.

2.2.3. Information Enhancement of Fracture Area Based on Contrast Characteristics

In image processing, contrast represents the intensity difference between adjacent regions in the image [19,20]. The contrast of the crack information intensity image is very low, and the spatial correlation of adjacent pixels is high. The target, background, details, and noise in the image exist in a narrow gray range, so it is not meaningful to evaluate the contrast of a crack pixel alone. Candidate crack regions and absolute non-crack regions have been defined in the intensity image. When these regions are mapped to the original image, the crack and background regions have a strong contrast relationship. The contrast relationship between the crack region and the background region is defined as the contrast feature of the crack. Therefore, after obtaining the intensity image, the information on the crack area is enhanced based on the contrast feature.
In image processing, the contrast C between the target area and the background area can be calculated using Formula (14):
C = | B ¯ T B ¯ B | / σ B
where B ¯ T represents the average gray value of the target area, B ¯ B represents the average gray value of the background area, and σ B represents the mean square deviation of the background area. The contrast feature describes the significant difference between the fracture and background areas. Combined with the previous non-negative features, the fracture area and the edge of the landmark can be well distinguished.
According to the relevant mathematical definitions of contrast features, combined with the distribution of gray values in the crack area on the intensity map and the original image, the contrast between the target area and the background area is calculated by calculating the mean gray value and mean square deviation. When calculating the mean grayscale of a region, considering the occurrence of sudden changes in the grayscale values of individual pixels, extreme values are generally removed. The formula for calculating the mean grayscale and mean square deviation of the target region is shown in Formula (15):
M 1 = i = 0 i N F i ( x , y ) F max ( x , y ) F min ( x , y ) N 2 σ 1 = i = 0 i N [ F i ( x , y ) M 1 ] 2 N
The calculation formula for the grayscale mean and mean square deviation of the background area is shown in Formula (16):
M 2 = i = 0 i n f i ( x , y ) f max ( x , y ) f min ( x , y ) n 2 σ 2 = i = 0 i n [ f i ( x , y ) M 2 ] 2 n
where M 1 is the average gray value of the target area Area 1; M 2 is the average gray value of the background Area 2; σ 1 is the mean square deviation of the target Area 1; σ 2 is the mean square deviation of the background Area 2. F i ( x , y ) , F max ( x , y ) and F min ( x , y ) , f i ( x , y ) , f max ( x , y ) , f min ( x , y ) represent the gray value of each pixel in Area 1 and Area 2, the maximum gray value of the region, and the minimum gray value of the region, respectively; N / n is the number of pixels in each area. Based on the characteristics of the crack area in the image, the calculation formula for the contrast C between the target area and the background area is defined as Formula (17):
C = | M 1 M 2 | / σ 1 σ 2 | M 1 M 2 | > T 0 | M 1 M 2 | < T
If Area 1 is a crack area, then | M 1 M 2 | is larger. However, if Area 1 is a non-fracture candidate area, then the value of | M 1 M 2 | is smaller. The proposed method sets an intensity factor T to make a judgment. After obtaining the contrast C , we normalize the grayscale value using the following equation, as shown in Formula (18):
F ( i , j ) = R o u n d [ f ( x , y ) × 255 f max ( x , y ) f min ( x , y ) ]
In the formula, R O U N D [ f ( x , y ) × 255 f max ( x , y ) f min ( x , y ) ] is a rounding function. In actual processing, a 21 × 21 window is used to scan the intensity image, and the contrast corresponding to the current point to be processed is calculated according to the pixel gray value in the original image. The contrast C is smaller when the target area Area 1 in the intensity map corresponds to the non-crack area in the original image. The contrast C is larger when the target area Area 1 in the intensity map corresponds to the crack area in the original image. Normalizing C , the value is assigned to the current point to be processed, effectively enhancing the crack information on the intensity map.

3. Detection of Cracks on Asphalt Pavement of Expressway

Typical damage to asphalt pavement includes cracks, ruts, deflections, potholes, and looseness. Among them, crack damage is one of the most common and representative types of damage to asphalt pavement. The cracks can be divided into four types: transverse cracks, longitudinal cracks, mesh cracks, and cracking.
(1)
The network cracks refer to the irregular network cracks on the road surface, in the form of crisscross cracks, forming crack grids of different sizes, with an area between 0.092 m2 and 9.2 m2;
(2)
The longitudinal cracks are parallel to the middle line of the pavement. The length and width of the cracks depend on the damage to the pavement, and there may be a small number of branch cracks;
(3)
The transverse cracks are perpendicular to the middle line of the pavement, and there may be a small number of branch cracks;
(4)
Cracking is one of the most severe crack damages, generally caused by the long-term rolling of heavy vehicles. Cracks cross each other and form many irregular small cracks.
According to the Technical Specifications for Maintenance of Highway Asphalt Pavement issued by the Ministry of Communications of the People’s Republic of China, evaluation standards are provided for various damage types of asphalt pavement, in which the classification and damage classification of asphalt pavement cracks are given, as shown in Table 1:
There are many methods to describe image features, such as texture description based on a gray histogram, which is an effective method to describe gray images. The image histogram is a normal distribution function, but for the processed binary image, the gray histogram cannot describe the characteristics of the binary image. The proposed method uses three features, the projection feature and the number of crack pixels, to describe the crack image. For a size of M × N ’s crack image B ( i , j ) , the statistical level x direction and perpendicular y direction, the number of crack pixels in the direction receives projection vectors in both the X and Y directions. The calculation formula is shown in Formula (19):
X ( i ) = j = 1 M B ( i , j ) Y ( j ) = j = 1 N B ( i , j )
where i = 1 , 2 , , N , j = 1 , 2 , , M .
According to the statistical results, for longitudinal cracks along the y directional projection x , an obvious peak value will appear on the axis. For transverse cracks, along the horizontal x directional projection x , an obvious peak value will appear on the shaft. According to the projection characteristics of the crack image, the maximum difference value of the median value of each projection vector X n u m and Y n u m are two characteristics of cracks. The calculation formula is shown in Formula (20):
X n u m = max X ( i ) min X ( i ) Y n u m = max Y ( j ) min Y ( j )
The proposed method includes M × N , the third feature. The two eigenvalues can be easily distinguished for transverse and longitudinal cracks, X n u m and Y n u m , but they cannot be effectively distinguished between a mesh crack and craze. Mesh cracks and crazes have a higher pixel count compared to transverse and longitudinal cracks. The number of craze crack pixels exceeds that of a mesh crack, so it is necessary to use the number of crack pixels T n u m to distinguish them. The calculation formula is shown in Formula (21):
T n u m = i = 1 N j = 1 M B ( i , j )
The proposed method selects the above three features as the input vectors of the support vector machine [21,22] to detect the crack damage of expressway asphalt pavement.
Assume that there is a linearly separable set of crack image samples in the feature space T = { ( x 1 , y 1 ) , ( x 2 , y 2 ) , , ( x n , y n ) } , where x i R d is the first in the space i fracture samples of known categories, y i , i = 1 , 2 , , n the category properties of x i . According to the idea of using straight lines to divide categories in two-dimensional space, the straight line for classification in feature space is the classification hyperplane [23,24], which can be expressed as w T x + b = 0 , where w is an n dimensional vector, b is the offset. For | w T x + b | = 1 , the sample points of the condition are closer to the ideal plane than other sample points, so the interval between the sample and the hyperplane is 2 / | | w | | . The classification hyperplane is shown in Figure 2:
In order to find the ideal plane for classification, the gap between the crack sample and the plane should be maximized, that is 2 / | | w | | maximum [25], which can be equivalently expressed as | | w | | 2 / 2 minimum. Therefore, the solution for the optimal classification hyperplane φ ( w ) can be calculated using Formula (22) as follows:
min       φ ( w ) = | | w | | 2 / 2 s . t .       y i ( w T x i + b ) 1 , i = 1 , 2 , , n
where w corresponds to the slope term in the straight line, which is the normal vector in high-dimensional space; b is the intercept term of the hyperplane in high-dimensional space.
The above is the problem of calculating extreme values in convex optimization, which can be solved by the Lagrange multiplier method. Using the Lagrange multiplier method, the functional form of the above equation can be calculated using Formula (23):
L ( w , b , α ) = | | w | | 2 2 i = 1 n α i [ y i ( w T x i + b ) 1 ]
Among them, α i > 0 , as a Lagrange multiplier, to further solve the problem, first calculates the partial derivatives w and b and then makes the derivative result equal to 0. Further results can be obtained, as shown in Formula (24):
w = i = 1 n α i y i x i i = 1 n α i y i = 0
Based on the above formula, the problem of crack damage detection in the original asphalt pavement of highways can be represented by Formula (25):
Q ( α ) = i = 1 n α i 1 2 i , j = 1 n y i y j α i α j ( x i T x j )
After using the Lagrangian method, the above problem can be transformed into the form of Formula (26):
max α   Q ( α ) = i = 1 n α i 1 2 i , j = 1 n y i y j α i α j ( x i T x j ) s . t .   α i > 0 , i = 1 , 2 , , n                               i = 1 n α i y j = 0  
The optimal solution to the optimization problem can be obtained by solving the above equation, with α * representing the optimal solution. According to the KKT condition, there are α i * [ y i ( w T x i + b ) 1 ] = 0 , only when x i satisfies y i ( w T x i + b ) 1 = 0 , α i * 0 . Correspondingly, x i falls on the optimal boundary, which is called the support vector. The weight coefficient w * and offset term b * of the optimal hyperplane can be calculated using Formula (27):
w * = i = 1 n α i * x i b * = w * ( x r + x s ) 2
Among them, x r and x s are any two crack samples in the two categories, belonging to the support vector.
Usually, in the sample set, only a few samples α * have a non-zero value, but most samples α * have a value of zero. Therefore, the best prediction classification plane is determined by α * , which is determined by non-zero samples. These samples are support vectors. The calculation formula for the optimal classification function is shown in Formula (28):
f ( x ) = sgn ( w * x + b * )
The above-extracted fracture features X n u m , Y n u m , T n u m as the input vector x are input into the above classification function to complete the crack damage detection of expressway asphalt pavement.
In summary, the flowchart of the crack detection method for asphalt pavement on highways designed in this article is shown in Figure 3.

4. Experiment and Discussion

In order to verify the overall effectiveness of the digital image processing technology-based crack detection method for expressway asphalt pavement, it is necessary to conduct testing. In this experiment, a Windows 10 system with 32 GB of memory was selected, equipped with an Intel Core i7-14700KF [email protected] GHz. The processor is equipped with an 8-bit 74HC165D model data register, and the simulation software running is Matlab R2019a.
The experimental dataset was created using a randomly collected total of 1000 road surface images, including road crack images (accounting for 75%) and crack-free images (accounting for 25%). Using the Python random sampling algorithm, the dataset is divided into a training set and a testing set, with a ratio of 8:2. The training set is trained to obtain detection results and then compare the detection results with the actual results in the test set to calculate accuracy and recall. Accuracy refers to the proportion of correctly predicted samples to the total number of samples. The calculation method is: accuracy = (true example + true counter-example)/(true example + false positive example + true counter-example + false counter-example). The recall rate refers to the proportion of the number of samples correctly predicted as positive cases (cracks) to the actual number of positive cases (true cases + false negative cases). The calculation method is: recall rate = true example/(true example + false counter-example).
Among them, true positive (TP): the number of samples predicted to be cracks and actually cracked;
True negative (TN): the number of samples predicted to be normal and actually normal;
False positive (FP): the number of samples predicted to be cracks but actually normal;
False negative (FN): the number of samples predicted to be normal but actually cracked.
After obtaining the accuracy and recall rates, we verify the accuracy of different methods for detecting road crack images through the comparative testing F1_score index. The F1_score index is an evaluation indicator that comprehensively considers accuracy and recall. The value range of the F1_score index is between 0 and 1. A higher value approaching 1 indicates a superior performance of the application method, indicating a greater ability to detect road cracks accurately.
The road crack image set used in this test is shown in Figure 4.
It can be seen from the analysis of Figure 4 that the images used for the test include transverse cracks, longitudinal cracks, reticular cracks, and cracking. Due to the influence of acquisition equipment, lighting, and other factors, the image clarity is low. Therefore, the approach to detecting cracks in expressway asphalt pavement is based on digital image processing technology, specifically the literature-based method [4]. The methods in literature [5] and literature [6] expand image enhancement processing, and the results are shown in Figure 5.
Figure 5 shows that after using the method described in reference [4], strip noise ripples are added to the image, resulting in a decrease in image clarity. Upon implementing the method in reference [5], the image shows a slight distortion and serrated noise at the crack edge, which reduces the image quality. After using the method in reference [6], the image shows local exposure, an increase in highlights, and a lack of some details. After using the proposed method, the clarity of the image is enhanced, noise is reduced, and detailed information about cracks can be accurately obtained. The above tests show that the proposed method has good image effects and can enhance the detailed information in the image.
Extracting the crack area of the image is the key technology of crack damage detection. The crack extraction results of the four methods are shown in Figure 6.
According to Figure 6, the proposed method can completely extract the cracks in the image without information loss. The literature [4] and literature [5] methods have also extracted the non-fracture areas in the road. The literature [6] method extracts the missing details of cracks. To sum up, the proposed method has a high fracture extraction accuracy.
The proposed method, literature [4] method, literature [5] method, and literature [6] method are used to test the detection of highway asphalt pavement, and four F1 methods are introduced. The detection accuracy of the F1_score index detection method is shown in Formula (29):
F 1 _ s c o r e = 2 × p r e c i s i o n × r e c a l l p r e c i s i o n + r e c a l l
where p r e c i s i o n represents the accuracy rate; r e c a l l indicates the recall rate.
The detection accuracy of the four methods is shown in Table 2.
Analysis of the data in Table 2 shows that the detection accuracy of the four methods decreased with the increase in the number of images. Under the same number of images, the proposed method shows the F1_score consistently above 0.85, indicating that the proposed method is suitable for large-scale crack damage detection.

5. Conclusions

China’s intelligent transportation system is undergoing a critical development period. The construction of an intelligent transportation system is important for controlling and maintaining basic road facilities and road traffic environments. One of the tasks of the intelligent transportation system is to achieve the high-quality maintenance management of road facilities. Timely detection and repair of pavement damage is vital for road maintenance work. Existing pavement crack damage detection methods have problems such as poor image processing effects, low crack extraction accuracy, and low detection accuracy. A crack damage detection method for expressway asphalt pavement based on digital image processing technology is proposed, which enhances the pavement image, extracts the crack area in the image, and obtains the crack characteristics. The proposed method has a good performance in image processing, crack extraction, and damage detection.

Author Contributions

Conceptualization, H.F. and N.H.; methodology, H.F.; software, H.F.; validation, N.H.; formal analysis, N.H.; investigation, H.F.; resources, H.F. and N.H.; data curation, H.F. and N.H.; writing—original draft preparation, H.F.; writing—review and editing, N.H.; visualization, N.H.; supervision, N.H.; project administration, N.H.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Author Hui Fang was employed by the company Henan Province Highway Engineering Bureau Group Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Guo, J.M.; Markoni, H.; Lee, J.D. BARNet: Boundary Aware Refinement Network for Crack Detection. IEEE Trans. Intell. Transp. Syst. 2021, 23, 7343–7358. [Google Scholar] [CrossRef]
  2. Hu, G.X.; Hu, B.L.; Yang, Z.; Huang, L.; Li, P. Pavement Crack Detection Method Based on Deep Learning Models. Wirel. Commun. Mob. Comput. 2021, 2021, 1–23. [Google Scholar] [CrossRef]
  3. Safaei, N.; Smadi, O.; Safaei, B.; Masoud, A. Efficient Road Crack Detection Based on an Adaptive Pixel-Level Segmentation Algorithm. Transp. Res. Rec. 2021, 2675, 370–381. [Google Scholar] [CrossRef]
  4. Zhang, T.J.; Han, H.H. Research on Identification and Classification of Asphalt Pavement Cracks Using Residual Neural Network. Highway 2021, 66, 24–29. [Google Scholar]
  5. Li, Y. 3D Crack Detection of Asphalt Pavement Based on Product of Height Intercept. J. China Foreign Highw. 2021, 66, 24–29. [Google Scholar]
  6. Hu, C.X.; He, L.; Tao, J.; Wang, M.; Zhang, D. Asphalt Pavement Crack Detection Based on Fusion of Neighborhood and Gradient Salient Features. J. Comput. Aided Des. Comput. Graph. 2022, 34, 245–253. [Google Scholar] [CrossRef]
  7. Tian, L.; Cao, Y.; He, B.; Zhang, Y.; He, C.; Li, D. Image Enhancement Driven by Object Characteristics and Dense Feature Reuse Network for Ship Target Detection in Remote Sensing Imagery. Remote Sens. 2021, 13, 1327. [Google Scholar] [CrossRef]
  8. Xu, Y.; Yang, C.; Sun, B.; Yan, X.; Chen, M. A novel multi-scale fusion framework for detail-preserving low-light image enhancement. Inf. Sci. 2021, 548, 378–397. [Google Scholar] [CrossRef]
  9. Li, X.; Zhou, F.; Tan, H.; Chen, Y.; Zuo, W. Multi-focus Image Fusion Based on Nonsubsampled Contourlet Transform and Residual Removal. Signal Process. 2021, 184, 108062. [Google Scholar] [CrossRef]
  10. Zhang, B.; Wang, M.; Shen, X. Image Haze Removal Algorithm Based on Nonsubsampled Contourlet Transform. IEEE Access 2021, 9, 21708–21720. [Google Scholar] [CrossRef]
  11. Iannucci, L. Chemometrics for Data Interpretation: Application of Principal Components Analysis (PCA) to Multivariate Spectroscopic Measurements. IEEE Instrum. Meas. Mag. 2021, 24, 42–48. [Google Scholar] [CrossRef]
  12. Dai, Y.; Yu, Y.; Wang, X.; Jiang, Z.; Chen, Y.; Chu, K.; Smith, Z.J. Hybrid Principal Component Analysis Denoising Enables Rapid, Label-Free Morpho-Chemical Quantification of Individual Nanoliposomes. Anal. Chem. 2022, 94, 14232–14241. [Google Scholar] [CrossRef]
  13. Kim, S.W.; Ko, K.; Ko, H.; Leung, V.C. Edge-Network-Assisted Real-Time Object Detection Framework for Autonomous Driving. IEEE Netw. 2021, 35, 177–183. [Google Scholar] [CrossRef]
  14. Yu, X.; Wang, Z.; Wang, Y.; Zhang, C. Edge Detection of Agricultural Products Based on Morphologically Improved Canny Algorithm. Math. Probl. Eng. 2021, 2021, 1–10. [Google Scholar] [CrossRef]
  15. Bhowmik, M.; Pusti, S. An extension problem and Hardy’s inequality for the fractional Laplace-Beltrami operator on Riemannian symmetric spaces of noncompact type. J. Funct. Anal. 2022, 282, 109413. [Google Scholar] [CrossRef]
  16. Sekn, A. A generalization of parabolic potentials associated to Laplace–Bessel differential operator and its behavior in the weighted Lebesque spaces. Turk. J. Math. 2021, 45, 566–578. [Google Scholar] [CrossRef]
  17. Guo, X.; Li, H. A Simulation Algorithm for Pavement Crack Detection Based on Ensemble Learning. Comput. Simul. 2022, 39, 121–125. [Google Scholar]
  18. Jin, X.; Tang, P.; Houet, T.; Corpetti, T.; Alvarez-Vanhard, E.G.; Zhang, Z. Sequence Image Interpolation via Separable Convolution Network. Remote Sens. 2021, 13, 296. [Google Scholar] [CrossRef]
  19. Ballesta-Garcia, M.; Peña-Gutiérrez, S.; Val-Martí, A.; Royo, S. Polarimetric Imaging vs. Conventional Imaging: Evaluation of Image Contrast in Fog. Atmosphere 2021, 12, 813. [Google Scholar] [CrossRef]
  20. Lecca, M.; Rizzi, A.; Serapioni, R.P. An Image Contrast Measure Based on Retinex Principles. IEEE Trans. Image Process. 2021, 30, 3543–3554. [Google Scholar] [CrossRef]
  21. Liu, X.B.; Guan, Y.L.; Xu, Q. Support Vector Machine-Based Blind Equalization for High-Order QAM with Short Data Length. IEEE Signal Process. Lett. 2021, 28, 259–263. [Google Scholar] [CrossRef]
  22. Ren, J.; Zhang, B.; Zhu, X.; Li, S. Damaged cable identification in cable-stayed bridge from bridge deck strain measurements using support vector machine. Adv. Struct. Eng. 2022, 25, 754–771. [Google Scholar] [CrossRef]
  23. Li, S.; Xu, T.; Jiang, N.; Yang, H.; Wang, S.; Zhang, Z. Regional Zenith Tropospheric Delay Modeling Based on Least Squares Support Vector Machine Using GNSS and ERA5 Data. Remote Sens. 2021, 13, 1004. [Google Scholar] [CrossRef]
  24. Hao, Z.; Dang, J.; Yan, Y.; Wang, X. A node localization algorithm based on Voronoi diagram and support vector machine for wireless sensor networks. Int. J. Distrib. Sens. Netw. 2021, 17, 155014772199341. [Google Scholar] [CrossRef]
  25. Iqbal, F.; Raziq, A.; Huma, Z.E.; Khan, M.A. An application of least square support vector machine model with parameters optimization for predicting body weight of Harnai sheep breed. Turk. J. Vet. Anim. Sci. 2021, 45, 716–725. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of non-negative characteristics.
Figure 1. Schematic diagram of non-negative characteristics.
Applsci 13 12270 g001
Figure 2. Classification hyperplane.
Figure 2. Classification hyperplane.
Applsci 13 12270 g002
Figure 3. Flow chart of crack detection method for asphalt pavement on highways.
Figure 3. Flow chart of crack detection method for asphalt pavement on highways.
Applsci 13 12270 g003
Figure 4. Crack image set.
Figure 4. Crack image set.
Applsci 13 12270 g004
Figure 5. Image processing results of different methods. (a) Proposed method. (b) Literature [4] method. (c) Literature [5] method. (d) Literature [6] method.
Figure 5. Image processing results of different methods. (a) Proposed method. (b) Literature [4] method. (c) Literature [5] method. (d) Literature [6] method.
Applsci 13 12270 g005
Figure 6. Fracture extraction results of different methods. (1) Proposed method. (2) Literature [4] method. (3) Literature [5] method. (4) Literature [6] method.
Figure 6. Fracture extraction results of different methods. (1) Proposed method. (2) Literature [4] method. (3) Literature [5] method. (4) Literature [6] method.
Applsci 13 12270 g006
Table 1. Classification and damage classification of pavement cracks.
Table 1. Classification and damage classification of pavement cracks.
ClassificationClassificationAppearance DescriptionGrading IndexUnit of Measurement
Transverse cracklightThe seam wall does not fall off or falls off less, and the buttress seam is lessSeam width ≤ 5 mmM2(length × 0.2 m)
heavyThe seam wall falls off more, and there are many branch jointsSeam width > 5 mm
Longitudinal cracklightThe seam wall does not fall off or falls off less, and the buttress seam is lessSeam width ≤ 5 mmM2(length × 0.2 m)
heavyThe seam wall falls off more, and there are many branch jointsSeam width > 5 mm
Reticular fissurelightFine seam, no shedding or less shedding, large block size areaLumpness > 100 cmm2
heavyThe seam is wide, shedding more, and the block is relatively brokenBlock size: 50 cm~100 cm
CrazelightInitial cracking, fine seam, no falling off or deformationFragmentation: 20 cm~100 cmm2
inObvious cracks, wide seams, slight deformationFragmentation of small part of cracks < 20 cm
heavyBroken blocks, wide seams, falling off and serious deformationFragmentation of most cracks < 30 cm
Table 2. Crack damage detection accuracy of different methods.
Table 2. Crack damage detection accuracy of different methods.
Number of Images/PieceF1_Score
Proposed MethodLiterature [4] MethodLiterature [5] MethodLiterature [6] Method
100.9870.9460.9520.944
200.9760.9130.9270.903
300.9120.8540.8720.862
400.8860.8110.8350.827
500.8750.7630.7960.774
600.8630.7250.7550.716
700.8610.6860.7020.643
800.8570.6370.6480.599
900.8540.5920.6110.541
1000.8510.5570.5710.502
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Fang, H.; He, N. Detection Method of Cracks in Expressway Asphalt Pavement Based on Digital Image Processing Technology. Appl. Sci. 2023, 13, 12270. https://doi.org/10.3390/app132212270

AMA Style

Fang H, He N. Detection Method of Cracks in Expressway Asphalt Pavement Based on Digital Image Processing Technology. Applied Sciences. 2023; 13(22):12270. https://doi.org/10.3390/app132212270

Chicago/Turabian Style

Fang, Hui, and Na He. 2023. "Detection Method of Cracks in Expressway Asphalt Pavement Based on Digital Image Processing Technology" Applied Sciences 13, no. 22: 12270. https://doi.org/10.3390/app132212270

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop