Crack type identification method based on concrete surface crack characteristic conversion
Through preprocessing of concrete surface crack images and characteristic waveform analysis, the type identification of concrete surface cracks is simplified, the problems of low efficiency and high equipment requirements in the existing technology are solved, and high-precision identification of concrete surface cracks is achieved, especially Accurate differentiation of cross cracks.
Patent Information
- Application Number
- CN202410638394.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the detection and classification efficiency of concrete surface cracks is low, the manual inspection efficiency is insufficient, the deep learning method is complex and the calculation workload is large, and the equipment requirements are high, making it difficult to effectively use it at the engineering site.
By obtaining the concrete surface crack image for preprocessing, removing the background, reconnecting the cracks, extracting pixel value characteristic waveforms, and determining the crack type based on local extreme points, the calculation model is simplified, the calculation workload is reduced, and it is suitable for use on engineering sites.
It achieves high-precision identification of concrete surface cracks, especially the accurate distinction of cross cracks, reduces the amount of calculation, is suitable for use on engineering sites, and avoids the high equipment requirements of deep learning methods.
Smart Images

Figure CN118537641A
Abstract
Description
Technical Field
[0001] The invention relates to a crack type identification method based on concrete surface crack feature conversion, belonging to the technical field of civil engineering. Background Art
[0002] Most civil engineering buildings are made of concrete, such as bridges, factories, roads and water conservancy facilities. After long-term operation, these concrete structures often have cracks on the surface, which will seriously affect the service life of the concrete structure. Due to the presence of cracks on the concrete surface, air, water and other substances penetrate into the concrete, causing carbonization of the concrete, which reduces the strength of the concrete structure. For reinforced concrete structures, if the cracks on the concrete surface penetrate into the steel bars, it is easy to cause steel bars to rust, further reducing the strength of the concrete structure, thus leading to safety accidents. Therefore, it is very important to detect concrete surface cracks in time and treat different cracks. In particular, the cross seams (including multiple cross seams) on the concrete surface are the most harmful, and they must be distinguished from other cracks for treatment. At present, the detection and classification methods of concrete surface cracks have too low efficiency in manual inspection. Another image processing method that mainly uses deep learning is relatively complex, has a large computational workload, and has high equipment requirements. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide a crack type identification method based on the conversion of concrete surface crack characteristics, so as to identify cross cracks and other cracks on the concrete surface by analyzing the image characteristics of different types of concrete cracks.
[0004] Preferably, the present invention provides a method for identifying crack types based on crack feature conversion on a concrete surface, comprising: acquiring a crack image on a concrete surface; Preprocessing the concrete surface crack image to obtain a preprocessed concrete surface crack image; Remove the background of the pre-treated concrete surface crack image; Connecting the discontinuities of the cracks in the concrete surface crack image after the background is removed to obtain a reconnected concrete surface crack image; Based on the pixel value characteristic waveform of the reconnected concrete surface crack image, the local extreme point is obtained; Based on the local extreme points, the crack type is determined.
[0005] Preferably, preprocessing the concrete surface crack image to obtain the preprocessed concrete surface crack image includes: The concrete surface crack image is subjected to grayscale processing and filtering to remove the noise of the concrete surface crack image and obtain a smooth concrete surface crack image.
[0006] Preferably, removing the background of the pre-processed concrete surface crack image includes: A closing operation is performed on the pre-processed concrete surface crack image to remove the background of the pre-processed concrete surface crack image.
[0007] Preferably, the crack discontinuities of the concrete surface crack image with the background removed are connected as one to obtain a reconnected concrete surface crack image, including: performing an opening operation on the concrete surface crack image with the background removed, reconnecting the crack discontinuities after the closing operation processing as one to obtain a reconnected concrete surface crack image.
[0008] Preferably, local extreme points are obtained based on the pixel value characteristic waveform of the reconnected concrete surface crack image, including: The characteristic waveforms of pixel values along the x-axis and the y-axis in the reconnected concrete surface crack image are statistically analyzed to obtain local extreme value points.
[0009] Preferably, based on obtaining the local extreme point, the crack type is determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is greater than or equal to the preset X direction threshold and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is greater than or equal to the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a cross crack.
[0010] Preferably, based on obtaining the local extreme point, the crack type is determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is greater than or equal to the preset X direction threshold, and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is less than the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a transverse crack.
[0011] Preferably, based on obtaining the local extreme point, the crack type is determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is less than the preset X direction threshold, and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is greater than or equal to the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a vertical crack.
[0012] Preferably, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods described in the first aspect when executing the program.
[0013] Preferably, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.
[0014] The beneficial effects achieved by the present invention are: The present invention aims to provide a simple and sufficiently accurate method for identifying concrete surface cracks. Different from deep learning, which requires training of a large number of convolutional neural network layers and hyperparameters, the present invention is based on the morphological extraction of various types of concrete surface cracks, thereby greatly reducing the calculation workload of the model and being suitable for use on-site. The method mainly includes converting a color image of concrete surface cracks into a black and white image, filtering the image noise through a filter, and then performing operations such as closing and opening operations on the smoothed image. On this basis, the morphological characteristics of various types of concrete surface cracks, that is, the pixel value characteristic waveforms of the x-axis and y-axis are extracted. By setting the local minimum value standard of the pixel value characteristic waveform, the number of the x-axis and y-axis minimum values of various types of cracks that meet the set standard value is obtained, and the crack type is determined. After identifying and verifying the various types of concrete surface cracks collected, the method of the present invention can accurately identify 6 cross-crack images from 20 concrete surface crack images, with extremely high accuracy and greatly reduced calculation amount. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0016] Figure 1 is a flow chart of some embodiments of the present application; Figure 2 are 20 sample images of cracks in some embodiments of the present application; Figure 3 These are 6 sample images of cross cracks in some embodiments of the present application; Figure 4 is the original image before smoothing in some embodiments of the present application; Figure 5 is an image after smoothing in some embodiments of the present application; Figure 6 is an image after a closing operation in some embodiments of the present application; Figure 7 is an image after an opening operation in some embodiments of the present application; Figure 8 It is the characteristic waveform diagram of the pixel values of the x-axis and y-axis of the crack of the image with cracks; Fig. 9 is the pixel value fluctuation map of the image with cross cracks; Fig.10 It is a graph of the minimum point of the pixel value fluctuation curve of the image. DETAILED DESCRIPTION
[0017] To facilitate the technical solution of the application, some concepts involved in the application are first explained below.
[0018] Most civil engineering projects use concrete structures or components, such as bridges, factories, water conservancy facilities and roads. Due to the release of the heat of hydration of concrete itself, or due to environmental factors in the project, as the service time increases, cracks will inevitably appear on the surface of concrete buildings or components. The presence of cracks will allow air, water and other substances to penetrate into the concrete structure, causing carbonization inside the concrete structure, reducing the strength of the concrete structure, and thus leading to engineering safety accidents. Especially for reinforced concrete components, cracks cause the steel bars in the area to rust, further limiting the service function of the reinforced concrete structure. Generally, concrete surface cracks are divided into transverse cracks, longitudinal cracks and cross cracks according to their different states. Here, cross cracks are generalized cross cracks, that is, including the situation where multiple cracks cross. Cross cracks have a relatively large impact area due to the intersection of multiple cracks, and thus cause greater harm. They need to be separated from other cracks and treated separately.
[0019] The more commonly used methods for detecting and classifying concrete surface cracks were earlier based on manual inspection and classification methods, which require more human resources and are now gradually being replaced by other methods. With the development of computer image and visual processing technology, more and more concrete surface crack detection and classification are using image processing and deep learning technology. Deep learning technology uses convolutional neural networks for image and video processing. After the model is trained to a certain accuracy, it is applied to the purpose of classifying concrete surface cracks. However, since convolutional neural network models often have many neural layers, there are also many hyperparameters that need to be adjusted, the amount of calculation is huge, and the requirements for computer hardware are very high, which makes it difficult to use on-site.
[0020] See also Figure 1The present application discloses a relatively simple method for classifying cross cracks on concrete surfaces with low equipment requirements and considerable accuracy. Based on the difference in morphological characteristics between cross cracks and other cracks, a smooth image is obtained by first converting a color image into a black and white image, then adjusting the image contrast and filtering the noise of the image. The smooth image after filtering the noise is processed by closing and opening operations to process the cracks in the smooth image, and then the pixel value characteristic waveform along the x-axis and the pixel value characteristic waveform of the smooth image are statistically analyzed to obtain local extreme value points and make judgments. For this example, if the local extreme value point of the pixel value characteristic waveform in the x-direction is greater than or equal to the X-direction threshold and the local extreme value point of the pixel value characteristic waveform in the y-axis direction is greater than or equal to the Y-direction threshold, the X-direction threshold can be set to 5 and the Y-direction threshold can be set to 4, then the cracks in the corresponding smooth image are judged as cross cracks. For the transverse cracks and longitudinal cracks on the concrete surface in the smooth image, from the perspective of the pixel value characteristic wave morphology, they only have a trough with a rapidly decreasing pixel value in one direction of the X-direction and the Y-direction, which is significantly different from the characteristic waveform of the cross cracks. Therefore, according to the number of local extreme value points of the pixel value characteristic waveforms of different concrete surface cracks in the x-axis and y-axis directions in the smoothed image, we can easily determine which concrete surface cracks are cross cracks and which are other types of cracks. Figure 1 shown.
[0021] The cross-crack identification based on crack morphological characteristics proposed in the present invention can effectively avoid the shortcomings of large amount of calculation and high equipment requirements of methods such as deep learning, while having sufficient accuracy and being more suitable for use on engineering sites, and therefore has more practical significance.
[0022] The 20 collected colored concrete surface crack photos (including 6 cross crack photos, 7 transverse crack photos, and 7 longitudinal crack photos) were identified, and the algorithm described in the present invention perfectly distinguished all 6 cross crack photos. The total concrete surface crack photos and 6 cross crack photos are shown in Figure 2. Figure 2 shown.
[0023] The specific implementation of each step is described in detail below: 1. Read the concrete surface crack color map and gray it, then use a filter to smooth the image and filter out the noise on the image. The result is as follows: Figure 4 and Figure 5 shown.
[0024] 2. First, perform a closing operation on the smoothed image to remove the background of the crack image; then perform an opening operation to reconnect the crack discontinuities after the closing operation. Figure 6 and Figure 7 shown.
[0025] 3. Then, the image pixel value characteristic waveform is calculated along the X direction and the Y direction to obtain the x-axis and y-axis pixel value characteristic waveforms of the processed smoothed image, such as Figure 8 shown.
[0026] As mentioned above, since this image is a vertical crack on the concrete surface, it can be seen that the image pixel value has obvious troughs at the corresponding position of the crack along the y-axis, while the fluctuation of the image pixel value on the x-axis is very small. If the image is a horizontal crack, the image pixel value pattern is exactly the opposite of the vertical crack. There will be obvious troughs on the x-axis image pixel value, while the image pixel value fluctuation on the y-axis is very small. In the case of cross cracks on the concrete surface, there will be obvious fluctuations in the image pixel value on both the x-axis and the y-axis, such as Fig. 9 shown.
[0027] 4. Then set the local minimum standard of the fluctuation curve, use this standard to filter the local minimum values, and change the number of local minimum values by adjusting the set standard value of the local minimum value, such as Fig.10 shown.
[0028] 5. Use the judgment index to determine whether it is a cross crack. If it is a cross crack, the indicator value 1 is returned, and if it is not a cross crack, the indicator value 0 is returned. For this example, the judgment criteria are set to the number of minimum points in the x-axis direction is greater than 5, and the number of minimum points in the y-axis direction is greater than 4.
[0029] 6. Repeat the above process for each image and perform identification in a loop. All 20 images are judged, and the present invention accurately identifies and displays the cross crack images of all 6 concrete surfaces, such as Figure 3 The calculation results show the rationality and accuracy of the identification method based on the conversion of concrete surface crack characteristics into waveforms proposed by the present invention.
[0030] The present invention proposes a method for distinguishing cross seams on the concrete surface by extracting pixel value feature values based on the image features of the transverse seams, longitudinal seams and cross seams on the concrete surface. The method has low requirements on computing equipment, is simple, and has accuracy that can meet actual needs, and is very suitable for use on engineering sites.
[0031] In an embodiment of the present application, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
[0032] In an embodiment of the present application, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0033] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0034] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention invented herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not invented by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0035] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific implementation methods of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the protection scope of the present application.
Claims
1. A crack type identification method based on concrete surface crack feature conversion, characterized in that: include: Acquire crack images on concrete surface; Preprocessing the concrete surface crack image to obtain a preprocessed concrete surface crack image; Remove the background of the pre-treated concrete surface crack image; Connecting the discontinuities of the cracks in the concrete surface crack image after the background is removed to obtain a reconnected concrete surface crack image; Based on the pixel value characteristic waveform of the reconnected concrete surface crack image, the local extreme point is obtained; Based on the local extreme points, the crack type is determined.
2. A crack type identification method based on concrete surface crack feature conversion according to claim 1, characterized in that: Preprocessing the concrete surface crack image to obtain the preprocessed concrete surface crack image includes: The concrete surface crack image is subjected to grayscale processing and filtering to remove the noise of the concrete surface crack image and obtain a smooth concrete surface crack image.
3. A crack type identification method based on concrete surface crack feature conversion according to claim 1 or 2, characterized in that: Remove the background of the pre-processed concrete surface crack image, including: A closing operation is performed on the pre-processed concrete surface crack image to remove the background of the pre-processed concrete surface crack image.
4. The method for identifying crack types based on crack feature conversion of concrete surface according to claim 3 is characterized in that: The crack discontinuities of the concrete surface crack image after the background is removed are connected as one, and a reconnected concrete surface crack image is obtained, including: performing an opening operation on the concrete surface crack image after the background is removed, and reconnecting the crack discontinuities after the closing operation to obtain a reconnected concrete surface crack image.
5. The method for identifying crack types based on crack feature conversion of concrete surface according to claim 4 is characterized in that: Based on the pixel value characteristic waveform of the reconnected concrete surface crack image, the local extreme points are obtained, including: The characteristic waveforms of pixel values along the x-axis and the y-axis in the reconnected concrete surface crack image are statistically analyzed to obtain local extreme value points.
6. A crack type identification method based on concrete surface crack feature conversion according to claim 5, characterized in that: Based on the local extreme points, the crack types are determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is greater than or equal to the preset X direction threshold and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is greater than or equal to the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a cross crack.
7. The method for identifying crack types based on crack feature conversion of concrete surface according to claim 5, characterized in that: Based on the local extreme points, the crack types are determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is greater than or equal to the preset X direction threshold, and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is less than the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a transverse crack.
8. The method for identifying crack types based on crack feature conversion on concrete surface according to claim 5 is characterized in that: Based on the local extreme points, the crack types are determined, including: If the local extreme value point of the characteristic waveform of the pixel value in the X direction in the reconnected concrete surface crack image is less than the preset X direction threshold, and the local extreme value point of the characteristic waveform of the pixel value in the Y direction in the reconnected concrete surface crack image is greater than or equal to the preset Y direction threshold, then the crack in the corresponding reconnected concrete surface crack image is judged as a vertical crack.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
