A method for identifying and measuring concrete cracks using drones
By marking and preprocessing cracks on surface images of concrete collected by drones, distinguishing real cracks from pseudo-cracks, and measuring the size and cross-section morphological parameters of cracks, the problems of identification errors and neglect of cross-section status in the existing technology are solved. Improved safety assessment and maintenance efficiency of concrete structures.
Patent Information
- Application Number
- CN202410285593.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-03-13
AI Technical Summary
When existing technology uses drones to measure concrete cracks, it is difficult to effectively distinguish between real cracks and pseudo cracks, leading to safety assessment errors and increased maintenance costs. At the same time, the crack cross-section status is ignored, affecting the accuracy of structural health assessment.
By marking and preprocessing cracks on surface images of concrete collected by drones, we can distinguish real cracks from pseudo-cracks, and measure the size and cross-section morphological parameters of cracks, including physical length, width, depth, cross-section roughness and defectiveness. Evaluate the crack damage status and adjust the image resolution if necessary to improve identification accuracy.
It effectively reduces the occurrence rate of false cracks being recognized as real cracks, improves the accuracy and completeness of crack identification, reduces structural safety hazards and maintenance costs, and ensures the effectiveness of maintenance measures.
Smart Images

Figure CN118135439B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of concrete crack identification, and specifically relates to a method for identifying and measuring concrete cracks by using an unmanned aerial vehicle. Background Art
[0002] Cracks are one of the common forms of damage in concrete structures. Regularly measuring concrete cracks can assess the safety and stability of concrete structures, which helps engineers understand the impact of cracks on structural strength and stiffness so as to take appropriate repair and reinforcement measures.
[0003] Since drones can cover a large area in a shorter period of time and can easily fly over obstacles and high-altitude areas, they can complete gap measurements more quickly, saving time and labor costs. At the same time, drone measurements can prevent people from directly contacting dangerous areas, thereby reducing safety risks. This has led to the use of drones for concrete at this stage. In order to improve the safety and accuracy of concrete gap measurement, drones equipped with high-definition cameras are now basically selected for crack measurement.
[0004] However, in the prior art, when using drones to measure concrete cracks, crack measurement is performed immediately when cracks are identified from the concrete surface image, ignoring the distinction between real cracks and pseudo cracks. Pseudo cracks are easily mistakenly identified as real cracks, which may lead to a wrong assessment of the safety of the concrete structure, resulting in unnecessary maintenance or repair work, thereby increasing maintenance costs. On the other hand, if real cracks are not identified in time, potential safety hazards of the concrete structure may be ignored, resulting in an increased risk of accidents.
[0005] In addition, the existing technology only focuses on the size of the cracks when using drones to measure concrete cracks, but not the cross-sectional state of the cracks, which makes the analysis of the degree of crack damage relatively one-sided, resulting in incomplete crack measurement data, affecting the accurate assessment of the health status of the concrete structure. At the same time, the cross-sectional state of the cracks can provide important information on the stress state of the structure and the crack formation mechanism. If only the size of the cracks is paid attention to without paying attention to their cross-sectional state, the root cause of the crack formation may be ignored, resulting in the maintenance measures not solving the structural problems from the root. Summary of the invention
[0006] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method for identifying and measuring concrete cracks using a drone, which effectively solves the problems existing in the prior art.
[0007] The present invention proposes a method for identifying and measuring concrete cracks using an unmanned aerial vehicle, comprising the following steps: (1) marking cracks in a concrete surface image collected by the unmanned aerial vehicle, and preprocessing the concrete surface image after marking.
[0008] (2) Differentiate between real cracks and false cracks at each crack marked in the surface image of pretreated concrete.
[0009] (3) Based on the differentiation results, the real cracks are located and marked in the concrete surface image to obtain a real crack marking image.
[0010] (4) The size parameters of the cracks are measured based on the real crack annotated images, including physical length, physical width, physical depth and depth uniformity.
[0011] (5) The real crack image is focused on the cross-sectional area of the real crack, and the cross-sectional morphological parameters of the crack are extracted from it, including cross-sectional roughness and cross-sectional defect degree.
[0012] (6) Evaluate the crack damage state based on the size parameters and cross-sectional morphology parameters of the actual crack.
[0013] As a further innovation of the present invention, the method further includes adjusting the resolution of the concrete surface image before preprocessing the concrete surface image, wherein the specific implementation process of the resolution adjustment is as follows: (11) counting the number of crack areas marked in the concrete surface image, and extracting the image boundary contour and the boundary contour of each crack area from the concrete surface image respectively, thereby obtaining the area of the concrete surface image and the area of each crack area.
[0014] (12) The crack distribution density ρ is calculated based on the number of crack areas and the area of the concrete surface image.
[0015] (13) The crack ratio is calculated by combining the area of each crack region with the area of the concrete surface image. The specific calculation formula is: where s i represents the area of the i-th crack region, i represents the number of the marked crack region, i=1,2,......,n, n represents the number of marked crack regions, and S0 represents the area of the concrete surface image.
[0016] (14) Import the crack distribution density and crack ratio into the formula The crack distribution density η is obtained, where ρ 参考 Represents the reference crack distribution density.
[0017] (15) Matching the crack distribution density with the predefined adaptation resolutions corresponding to various crack distribution densities to obtain the adaptation resolution corresponding to the crack distribution density.
[0018] (16) Obtain the resolution of the collected concrete surface image and compare it with the adapted resolution corresponding to the fine density of the crack distribution, thereby judging the expression The judgment result P of whether the resolution needs to be adjusted is obtained, where RR represents the resolution of the collected concrete surface image, and RR A It represents the adaptation resolution corresponding to the crack distribution density, p=0 means no adjustment is required, p=1 means adjustment is required, χ0 represents the set resolution proximity threshold, and e represents the natural constant.
[0019] (17) When it is determined that the resolution needs to be adjusted, the resolution of the collected concrete surface image is compared with the adaptive resolution corresponding to the crack distribution density, and the resolution adjustment method and adjustment ratio are analyzed, and then the resolution of the concrete surface image is adaptively adjusted according to the resolution adjustment method and adjustment ratio.
[0020] As a further innovation of the present invention, the analytical process of the resolution adjustment method and the adjustment ratio is as follows: (171) The resolution of the collected concrete surface image is calculated to be different from the adapted resolution corresponding to the fineness of the crack distribution, and a difference sign is obtained, and then the difference sign is used according to the analytical expression The resolution adjustment method F is obtained.
[0021] (172) The ratio of the resolution of the collected concrete surface image to the adapted resolution corresponding to the crack distribution density is calculated to obtain a ratio as a resolution adjustment ratio.
[0022] As a further innovation of the present invention, the implementation of distinguishing between real cracks and false cracks is as follows: (21) focusing on each crack area in the pre-processed concrete surface image in the order of crack markings and performing image segmentation.
[0023] (22) Extract crack ripples from each crack region after segmentation, calculate the crack ripple rate, and perform branch detection on each crack region after segmentation to calculate the crack branching degree.
[0024] (23) Based on the crack corrugation rate and crack branching degree of each crack area, the analytical formula Analyze the falseness of cracks in various crack areas.
[0025] (24) The false degree of crack presentation in each crack area is compared with a set threshold. If the false degree of crack presentation in a crack area is greater than the set threshold, the crack at that location is identified as a false crack. Otherwise, the crack at that location is identified as a true crack.
[0026] As a further innovation of the present invention, the measurement process of the physical length in the size parameter is as follows: converting the real crack marking image into a grayscale image, and performing binarization processing on the grayscale image.
[0027] The closed contour of the crack is extracted from the processed grayscale image, and the perimeter of the closed contour of the crack is calculated. The perimeter is divided by 2 to obtain the length of the crack at the pixel level.
[0028] The distance at which the drone collects the concrete surface image is obtained as the object distance L, and the focal length of the camera on the drone and the actual size of the long side of the camera lens are obtained to calculate the scale coefficient. Where d represents the actual size of the long side of the camera lens, f represents the focal length of the camera, and D represents the number of pixels represented on the long side of the camera lens.
[0029] The physical length of the crack is calculated based on the length of the crack at the pixel level and the scale factor.
[0030] As a further innovation of the present invention, the measurement process of the physical width in the size parameter is as follows: the largest inscribed circle is marked from the closed contour of the crack, and the diameter of the largest inscribed circle is measured as the width of the crack at the pixel level.
[0031] The physical width of the crack is calculated based on the crack width at the pixel level and the scale factor.
[0032] As a further innovation of the present invention, the measurement process of the physical depth in the size parameter is as follows: points are evenly distributed from the closed contour of the crack, and the crack depth is collected at each distributed point, and the crack depth detected at each point is compared, and the maximum crack depth is selected as the depth of the crack at the pixel level.
[0033] The physical depth of the crack is calculated based on the crack depth at the pixel level and the scale factor.
[0034] As a further innovation of the present invention, the measurement process of the depth uniformity in the size parameter is as follows: the crack depths detected at each point in the crack closure contour are compared, and the maximum depth and the minimum depth are selected therefrom.
[0035] Importing the maximum and minimum depths into expressions Get the uniformity of crack depth.
[0036] As a further innovation of the present invention, the specific extraction process of the cross-sectional morphological parameters is as follows: (51) The grayscale gradient of each pixel point is obtained from the crack cross-sectional area image, and the crack cross-sectional area is evenly divided into sub-areas, thereby extracting the texture depth of each sub-area.
[0037] (52) The grayscale gradient of each pixel is compared, and the texture depth of each sub-region is compared. The cross-sectional roughness is calculated by the formula Get the cross-sectional roughness SR, SG max SG minRespectively represent the maximum grayscale gradient, the minimum grayscale gradient, TD max , TD min They represent the maximum texture depth and the minimum texture depth respectively, U represents the set constant, and U>1.
[0038] (53) The defective region is marked from the crack cross-sectional area image, and the boundary contour of the defective region is extracted to obtain the area of the defective region.
[0039] (54) The defect area is divided by the crack cross-sectional area to obtain the cross-sectional defect degree.
[0040] As a further innovation of the present invention, the evaluation process of the crack damage state is as follows: the size parameters and cross-sectional morphology parameters of the real crack are introduced into the expression The crack damage degree φ is obtained, where DU represents the depth uniformity, SD represents the cross-sectional defect degree, l, w, and h represent the physical length, physical width, and physical depth of the crack, respectively, and V 参考 Indicates the reference volume.
[0041] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. The present invention marks cracks in concrete surface images collected by drones, and distinguishes between real cracks and pseudo-cracks in the marked cracks, thereby achieving effective identification before crack measurement, thereby greatly reducing the incidence of false cracks being mistakenly identified as real cracks, avoiding incorrect assessment of the safety of concrete structures, and reducing maintenance costs to a certain extent. At the same time, it also maximizes the timeliness of identifying real cracks, which is conducive to reducing the neglect of potential safety hazards of concrete structures and avoiding an increase in the risk of concrete accidents.
[0042] 2. When screening out real cracks based on the distinction between real cracks and false cracks, the present invention not only measures the size of the real cracks but also pays attention to the cross-sectional state of the cracks. On the one hand, it makes the crack measurement data more complete, avoids one-sided analysis of the degree of crack damage, and is beneficial to improving the accuracy of the assessment of the health status of the concrete structure. On the other hand, it helps to obtain the root cause of the crack formation, thereby providing clear direction and measures for concrete crack repair, ensuring lasting repair effects and reducing future maintenance costs.
[0043] 3. Before distinguishing between real cracks and false cracks at each crack marked in the concrete surface image, the present invention also adjusts the resolution of the concrete surface image based on the distribution density of the cracks, which can more accurately distinguish and measure each crack, help to improve the measurement accuracy, and also to a certain extent avoid the loss of cracks caused by low resolution. Furthermore, it also facilitates the preprocessing of the concrete surface image before crack measurement, which is beneficial to improving the preprocessing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0045] Figure 1 It is a schematic diagram of the implementation steps of the present invention.
[0046] Figure 2 It is a schematic diagram of the crack closure profile in the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] See also Figure 1 As shown, the present invention proposes a method for identifying and measuring concrete cracks using a drone, comprising the following steps: (1) marking cracks in a concrete surface image collected by the drone, and preprocessing the concrete surface image after marking.
[0049] Applied to the above-mentioned embodiment, preprocessing of the concrete surface image includes operations such as image denoising, graying, edge detection, and image enhancement. Through image preprocessing, cracks can be more prominent in the concrete surface image, which can improve the accuracy, efficiency, and reliability of crack detection and measurement, and provide a more reliable data basis for subsequent structural evaluation and maintenance work.
[0050] In a preferred implementation of the above scheme, the method further includes adjusting the resolution of the concrete surface image before preprocessing the concrete surface image, wherein the specific implementation process of the resolution adjustment is as follows: (11) counting the number of crack areas marked in the concrete surface image, and extracting the image boundary contour and the boundary contour of each crack area from the concrete surface image, thereby obtaining the area of the concrete surface image and the area of each crack area.
[0051] (12) The crack distribution density ρ is calculated based on the number of crack areas and the area of the concrete surface image.
[0052] (13) The crack ratio is calculated by combining the area of each crack region with the area of the concrete surface image. The specific calculation formula is: where s i represents the area of the i-th crack region, i represents the number of the marked crack region, i=1,2,......,n, n represents the number of marked crack regions, and S0 represents the area of the concrete surface image.
[0053] (14) Import the crack distribution density and crack ratio into the formula The crack distribution density η is obtained, where ρ 参考 Represents the reference crack distribution density, where the greater the crack distribution density, the greater the crack proportion and the greater the crack distribution density.
[0054] (15) Matching the crack distribution density with the predefined adaptation resolutions corresponding to various crack distribution densities to obtain the adaptation resolution corresponding to the crack distribution density.
[0055] It is important to know that there is a certain correspondence between the crack distribution of concrete and the image resolution. Specifically, when the cracks are small and densely distributed, a higher image resolution may be required to capture the subtle crack details; if the cracks are large or sparsely distributed, the high-resolution image may contain a large number of unnecessary details and may be affected by noise and other interference. You can consider reducing the image resolution to remove these unnecessary details, speed up the processing speed, reduce the impact of noise, and improve the accuracy of crack recognition and segmentation. In addition, high-resolution images usually require more storage space. Reducing the resolution can reduce the size of the image and save storage space. It can be seen that when performing crack extraction analysis, the image resolution is not the larger the better, but needs to be adapted and adjusted according to the distribution of the cracks, so as to facilitate image preprocessing.
[0056] (16) Obtain the resolution of the collected concrete surface image and compare it with the adapted resolution corresponding to the crack distribution density, thereby judging the expression The judgment result P of whether the resolution needs to be adjusted is obtained, where RR represents the resolution of the collected concrete surface image, and RR A represents the adaptation resolution corresponding to the crack distribution density, p=0 means no adjustment is required, p=1 means adjustment is required, χ0 represents the set resolution proximity threshold, illustratively, χ0=0.8, and e represents a natural constant.
[0057] It should be added that the adaptation resolution corresponding to the various crack distribution densities mentioned above can be determined through experimental research. By processing and analyzing crack images with different densities, the detection and measurement accuracy at different resolutions can be evaluated, thereby determining the adaptation resolution. Numerical simulation can also be used to simulate images of cracks with different densities, and process and analyze them at different resolutions to evaluate the adaptation resolution.
[0058] (17) When it is determined that the resolution needs to be adjusted, the resolution of the collected concrete surface image is compared with the adaptive resolution corresponding to the crack distribution density, and the resolution adjustment method and adjustment ratio are analyzed, and then the resolution of the concrete surface image is adaptively adjusted according to the resolution adjustment method and adjustment ratio.
[0059] In a specific embodiment, the analytical process of the resolution adjustment method and the adjustment ratio is as follows: (171) The resolution of the collected concrete surface image is calculated to be different from the adapted resolution corresponding to the crack distribution density to obtain a difference sign, and then the difference sign is used to calculate the difference using the analytical formula The resolution adjustment method F is obtained.
[0060] It should be noted that the resolution adjustment can be achieved by image scaling, wherein image scaling can reduce the resolution, and image scaling can increase the resolution.
[0061] (172) The ratio of the resolution of the collected concrete surface image to the adapted resolution corresponding to the crack distribution density is calculated to obtain a ratio as a resolution adjustment ratio.
[0062] The present invention can maintain the aspect ratio by adjusting the resolution in a scaling ratio when it is necessary to adjust the resolution, and can ensure that the image will not be deformed or distorted during the scaling process, thereby improving the quality and clarity of the image.
[0063] Before distinguishing between real cracks and false cracks at each crack marked in the concrete surface image, the present invention also adjusts the resolution of the concrete surface image based on the distribution density of the cracks, which can more accurately distinguish and measure each crack, help to improve the measurement accuracy, and also to a certain extent avoid the loss of cracks caused by low resolution. Furthermore, it also facilitates the preprocessing of the concrete surface image before crack measurement, which is beneficial to improving the preprocessing efficiency.
[0064] (2) Differentiate between real cracks and false cracks for each crack marked in the pre-processed concrete surface image. The specific implementation is as follows: (21) Focus on each crack area in the pre-processed concrete surface image in the order in which the cracks are marked, and perform image segmentation to separate the crack from the background and make it a separate object in the image. In addition, image segmentation can be threshold segmentation, edge detection, etc.
[0065] The above-mentioned image segmentation can help locate the crack area on the concrete surface, accurately extract the crack from the image, and improve the contrast between the crack and the background, which helps to ensure that the subsequent measurement process is only focused on the crack area, thereby improving the accuracy of the measurement.
[0066] (22) Extract crack ripples from each crack region after segmentation, and calculate the crack ripple ratio, where the ripple ratio refers to the ratio of the crack surface ripple length to the crack length. The crack surface ripple length refers to the average or maximum value of the distance between the crest and the trough on the crack surface. The crack length refers to the actual length of the crack, that is, the distance from one end point to another. A higher ripple ratio indicates that the crack surface has more ripples, and vice versa. At the same time, branch detection is performed on each crack region after segmentation, and the crack branching degree is calculated, where the branching degree usually refers to the ratio of the number of crack branches to the crack length. The crack branching degree detection can be achieved by traversing the pixels of the crack and detecting branch points or branch connections.
[0067] It should be noted that pseudo-cracks in concrete refer to a feature that appears on the surface of concrete and looks like a crack, but is not actually a real crack caused by the shrinkage or expansion of concrete. These pseudo-cracks are usually caused by factors such as temperature changes on the surface of concrete, material shrinkage, or construction operations. Generally speaking, pseudo-cracks usually have irregular shapes, and their shapes may be curved, branched, or wavy. Compared with typical concrete cracks, the morphology of pseudo-cracks is more complex. Therefore, the present invention distinguishes between real cracks and pseudo-cracks by extracting the wavy state and branching state of the cracks.
[0068] (23) Based on the crack corrugation rate and crack branching degree of each crack area, the analytical formula The false degree of crack presentation in each crack area is analyzed. The greater the crack corrugation rate and the greater the crack branching degree, the greater the false degree of crack presentation.
[0069] (24) The false degree of crack presentation in each crack area is compared with a set threshold. If the false degree of crack presentation in a crack area is greater than the set threshold, for example, the threshold is set to 0.85, then the crack at that location is identified as a false crack, otherwise, the crack at that location is identified as a true crack.
[0070] The present invention marks cracks in concrete surface images collected by drones and distinguishes between real cracks and pseudo-cracks in the marked cracks, thereby achieving effective identification before crack measurement, thereby greatly reducing the incidence of false cracks being mistakenly identified as real cracks, avoiding incorrect assessment of the safety of concrete structures, and reducing maintenance costs to a certain extent. At the same time, it also maximizes the timeliness of identifying real cracks, which is conducive to reducing the neglect of potential safety hazards of concrete structures and avoiding an increase in the risk of concrete accidents.
[0071] (3) Based on the differentiation results, the real cracks are located and marked in the concrete surface image to obtain a real crack marking image.
[0072] (4) Based on the real crack annotated image, the size parameters of the crack are measured, including physical length, physical width, physical depth and depth uniformity. The measurement process of the physical length in the size parameters is as follows: the real crack annotated image is converted into a grayscale image, and the grayscale image is binarized.
[0073] Extract the crack closure contour from the processed grayscale image, see Figure 2 As shown, the perimeter of the closed contour of the crack is calculated and divided by 2 to obtain the length of the crack at the pixel level.
[0074] The distance at which the drone collects the concrete surface image is obtained as the object distance L, and the focal length of the camera on the drone and the actual size of the long side of the camera lens are obtained to calculate the scale coefficient. Where d represents the actual size of the long side of the camera lens, f represents the focal length of the camera, and D represents the number of pixels represented on the long side of the camera lens.
[0075] The physical length of the crack is calculated based on the length of the crack at the pixel level and the scale coefficient. Specifically, the total number of pixels in the length and width directions of the crack target in the crack image can be counted and multiplied by the scale coefficient to obtain the physical length of the crack.
[0076] Furthermore, the measurement process of the physical width in the size parameter is as follows: mark the largest inscribed circle from the crack closure contour, and measure the diameter of the largest inscribed circle as the width of the crack at the pixel level.
[0077] The length of the above crack at the pixel level and the maximum inscribed circle are calculated as follows:
[0078] The first step is to use the cv2.cvtCol or function to convert the image into a grayscale image.
[0079] In the second step, the cv2.threshold function binarizes the image obtained in the first step.
[0080] The third step is to use the cv2.findContours function to find the contours in the image.
[0081] Step 4. Use the cv2.arcLength function to calculate the perimeter of the closed contour. Divide the perimeter by 2 to get the crack length.
[0082] Step 5: Calculate the maximum inscribed circle in the crack contour through Opencv. The specific calculation process is as follows: First, given an initial radius small l_r and a maximum radius big_r, find the radius of the maximum inscribed circle through bisection. The precision parameter represents the tangent bisection accuracy, that is, the length of the interval that is reduced each time during bisection.
[0083] Before each bisection, first calculate the scattered points on the circumference with the current radius small_r, and then use the cv2.pointPolygonTest function to check whether all these scattered points are inside the contour. If any of the scattered points is outside the contour, it means that the current radius is too large and needs to be reduced.
[0084] If all scattered points are inside the contour, update the current radius to half_r and continue the binary division. If the current radius is inside the contour, it means that there may be a larger inscribed circle radius, so update small_r to half_r; otherwise, it means that the current radius is too large and big_r needs to be updated to half_r.
[0085] Finally, the radius of the largest inscribed circle found is returned.
[0086] The physical width of the crack is calculated based on the width of the crack at the pixel level and the scale coefficient. The specific method can refer to the calculation method of the physical length of the crack.
[0087] Furthermore, the measurement process of the physical depth in the size parameter is as follows: points are evenly distributed from the closed contour of the crack, and the crack depth is collected at each distributed point, and the crack depth detected at each point is compared, and the maximum crack depth is selected as the depth of the crack at the pixel level.
[0088] It is important to know that the crack depth can be collected by adjusting the angle of the concrete surface image and using stereo vision technology to estimate the crack depth, or by using three-dimensional information equipment to collect three-dimensional crack images in the actual crack area, thereby obtaining the depth of each point in the crack closure contour.
[0089] The physical depth of the crack is calculated based on the depth and scale factor of the crack at the pixel level. The specific method can refer to the calculation method of the physical length of the crack.
[0090] Further, the measurement process of the depth uniformity in the size parameter is as follows: the crack depths detected at each point in the crack closure contour are compared, and the maximum depth and the minimum depth are selected therefrom.
[0091] Importing the maximum and minimum depths into expressions The depth uniformity of the crack is obtained, wherein the smaller the difference between the maximum depth and the minimum depth is, the greater the depth uniformity is.
[0092] It should be understood that the uneven depth distribution of concrete cracks may indicate that there are different degrees of stress concentration, deformation or material damage in the concrete structure, so that the more uneven the depth distribution of concrete cracks is, the greater the degree of damage of the cracks in the concrete structure may be.
[0093] (5) Focusing the real crack image on the cross-sectional area of the real crack, extracting the cross-sectional morphological parameters of the crack, including cross-sectional roughness and cross-sectional defect degree, wherein the specific extraction process of the cross-sectional morphological parameters is as follows: (51) Obtaining the grayscale gradient of each pixel from the crack cross-sectional area image, wherein the grayscale gradient refers to the rate of change of the grayscale value of each pixel in the image, that is, the spatial change of the grayscale, and evenly dividing the crack cross-sectional area into sub-regions, thereby extracting the texture depth of each sub-region, wherein the texture depth represents the complexity or degree of change of the surface texture in the image.
[0094] The grayscale gradient mentioned above can be calculated using common edge detection algorithms such as Sobel operator, Prewitt operator, Scharr operator, etc., and the texture depth can be calculated using texture features such as local binary patterns and grayscale co-occurrence matrices.
[0095] (52) The grayscale gradient of each pixel is compared, and the texture depth of each sub-region is compared. The cross-sectional roughness is calculated by the formula Get the cross-section roughness SR, SG max SG min Respectively represent the maximum grayscale gradient, the minimum grayscale gradient, TD max , TD min They represent the maximum texture depth and the minimum texture depth respectively, U represents a set constant, and U>1, and U=2 in an exemplary manner.
[0096] Generally, the greater the difference in the grayscale gradient of each pixel in the fracture cross-section image, the more dramatic the grayscale change on the image surface, which may indicate a rougher cross-section and a more uneven texture depth distribution, which usually leads to an increase in roughness.
[0097] (53) The defective region is marked from the crack cross-sectional area image, and the boundary contour of the defective region is extracted to obtain the area of the defective region.
[0098] (54) The defect area is divided by the crack cross-sectional area to obtain the cross-sectional defect degree.
[0099] (6) The crack damage state is evaluated based on the size parameters and cross-sectional morphology parameters of the real crack. The evaluation process of the crack damage state is as follows: The size parameters and cross-sectional morphology parameters of the real crack are introduced into the expression The crack damage degree φ is obtained, where DU represents the depth uniformity, SD represents the cross-sectional defect degree, l, w, and h represent the physical length, physical width, and physical depth of the crack, respectively, and V 参考 Indicates the reference volume.
[0100] Before distinguishing between real cracks and false cracks at each crack marked in the concrete surface image, the present invention also adjusts the resolution of the concrete surface image based on the distribution density of the cracks, which can more accurately distinguish and measure each crack, help to improve the measurement accuracy, and also to a certain extent avoid the loss of cracks caused by low resolution. Furthermore, it also facilitates the preprocessing of the concrete surface image before crack measurement, which is beneficial to improving the processing efficiency.
[0101] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.
Claims
1. A method for identifying and measuring concrete cracks using an unmanned aerial vehicle, characterized in that ,include: (1) Cracks are marked on the concrete surface images collected by UAV, and the concrete surface images are preprocessed after marking; (2) Differentiate between real cracks and false cracks at each crack marked in the surface image of pretreated concrete; (3) Based on the differentiation results, the real cracks are located and marked in the concrete surface image to obtain a real crack marking image; (4) Measure the size parameters of the cracks based on the real crack annotated images, including physical length, physical width, physical depth, and depth uniformity; (5) Focusing the real crack image on the cross-sectional area of the real crack, and extracting the cross-sectional morphological parameters of the crack, including cross-sectional roughness and cross-sectional defect degree; (6) Evaluate the crack damage state based on the size parameters and cross-sectional morphology parameters of the actual crack.
2. The method for concrete crack identification and measurement using a drone as claimed in claim 1, characterized in that: The method of preprocessing the concrete surface image also includes adjusting the resolution of the concrete surface image, wherein the specific execution process of the resolution adjustment is as follows: (11) Counting the number of crack regions marked in the concrete surface image, and extracting the image boundary contour and the boundary contour of each crack region from the concrete surface image, thereby obtaining the area of the concrete surface image and the area of each crack region; (12) Calculate the crack distribution density based on the number of crack areas and the area of the concrete surface image ; (13) The crack ratio is calculated by combining the area of each crack region with the area of the concrete surface image. The specific calculation formula is: ,in Indicates The area of the crack region, Indicates the number of the marked crack area, , Indicates the number of marked crack areas, Represents the area of the concrete surface image; (14) Import the crack distribution density and crack ratio into the formula Get the crack distribution density ,in represents the reference crack distribution density; (15) matching the fracture distribution density with the predefined adaptation resolutions corresponding to various fracture distribution densities to obtain the adaptation resolution corresponding to the fracture distribution density; (16) Obtain the resolution of the collected concrete surface image and compare it with the adapted resolution corresponding to the crack distribution density, thereby judging the expression Get the result of whether the resolution needs to be adjusted , where Indicates the resolution of the collected concrete surface image, represents the adaptation resolution corresponding to the crack distribution density, Indicates that no adjustment is required. Indicates the need for adjustment. Indicates the set resolution proximity threshold, represents a natural constant; (17) When it is judged that the resolution needs to be adjusted, the resolution of the collected concrete surface image is compared with the adaptive resolution corresponding to the crack distribution density, and the resolution adjustment method and adjustment ratio are analyzed, and then the resolution of the concrete surface image is adaptively adjusted according to the resolution adjustment method and adjustment ratio.
3. The method for concrete crack identification and measurement using a drone as claimed in claim 2, characterized in that: The resolution adjustment method and the analysis process of the adjustment ratio are shown in the following steps: (171) The resolution of the collected concrete surface image is subtracted from the adapted resolution corresponding to the crack distribution density to obtain the difference sign, and then the analytical expression is used according to the difference sign. Get the resolution adjustment method ; (172) The ratio of the resolution of the collected concrete surface image to the adapted resolution corresponding to the crack distribution density is calculated to obtain a ratio as the resolution adjustment ratio.
4. The method for concrete crack identification and measurement using a drone as claimed in claim 1, characterized in that: The implementation of distinguishing between real cracks and pseudo cracks is as follows: (21) focusing on each crack area in the pre-processed concrete surface image in the order of crack marking and performing image segmentation; (22) Extract crack ripples from each crack region after segmentation and calculate the crack ripple ratio, where the ripple ratio refers to the ratio of the ripple length on the crack surface to the crack length. The ripple length on the crack surface refers to the average or maximum value of the distance between the crest and the trough on the crack surface. The crack length refers to the actual length of the crack, that is, the distance from one end point to another end point of the crack. A higher ripple ratio indicates that the crack surface has more ripples, and vice versa. At the same time, perform branch detection on each crack region after segmentation and calculate the crack branching degree, where the branching degree usually refers to the ratio of the number of crack branches to the crack length. The crack branching degree detection can be achieved by traversing the pixels of the crack and detecting branch points or branch connections. (23) Based on the crack corrugation rate and crack branching degree of each crack area, the analytical formula Analyze the falseness of cracks in various crack areas; (24) The false degree of crack presentation in each crack area is compared with a set threshold. If the false degree of crack presentation in a crack area is greater than the set threshold, the crack at that location is identified as a pseudo-crack. Otherwise, the crack at that location is identified as a real crack.
5. The method for concrete crack identification and measurement using a drone as claimed in claim 1, characterized in that: The measurement process of the physical length in the size parameters is as follows: Convert the real crack annotation image into a grayscale image and perform binarization on the grayscale image; Extract the closed contour of the crack from the processed grayscale image, and calculate the perimeter of the closed contour of the crack. Divide the perimeter by 2 to get the length of the crack at the pixel level. Get the distance at which the drone collects the concrete surface image as the object distance , and obtain the focal length of the camera on the drone and the actual size of the long side of the camera lens, and then calculate the scale coefficient , where Indicates the actual size of the long side of the camera lens. represents the focal length of the camera, It is expressed as the number of pixels represented on the long side of the camera lens; The physical length of the crack is calculated based on the length of the crack at the pixel level and the scale factor.
6. The method for identifying and measuring concrete cracks using an unmanned aerial vehicle as claimed in claim 5, characterized in that: The measurement process of the physical width in the size parameters is as follows: The largest inscribed circle is marked from the crack closure contour, and the diameter of the largest inscribed circle is measured as the width of the crack at the pixel level; The physical width of the crack is calculated based on the crack width at the pixel level and the scale factor.
7. The method for identifying and measuring concrete cracks using an unmanned aerial vehicle as claimed in claim 5, characterized in that: The measurement process of the physical depth in the size parameter is as follows: Points are evenly distributed from the closed contour of the crack, and the crack depth is collected at each of the distributed points. The crack depths detected at each point are compared, and the maximum crack depth is selected as the crack depth at the pixel level; The physical depth of the crack is calculated based on the crack depth at the pixel level and the scale factor.
8. The method for identifying and measuring concrete cracks using an unmanned aerial vehicle as claimed in claim 7, characterized in that: The measurement process of the depth uniformity in the size parameter is as follows: The crack depths detected at each point in the crack closure contour are compared, and the maximum depth and the minimum depth are selected; Importing the maximum and minimum depths into expressions , and obtain the uniformity of crack depth.
9. The method for concrete crack identification and measurement using a drone as claimed in claim 1, characterized in that: The specific extraction process of the cross-sectional morphological parameters is as follows: (51) Obtaining the grayscale gradient of each pixel from the crack cross-section area image, and evenly dividing the crack cross-section area into sub-areas, thereby extracting the texture depth of each sub-area; (52) The grayscale gradient of each pixel is compared, and the texture depth of each sub-region is compared. The cross-sectional roughness is calculated by the formula , and the cross-sectional roughness is obtained , , Respectively represent the maximum grayscale gradient and the minimum grayscale gradient, , Respectively represent the maximum texture depth and the minimum texture depth, represents a set constant, and >1; (53) marking the defect region from the crack cross-section region image and extracting the boundary contour of the defect region, thereby obtaining the area of the defect region; (54) The defect area is divided by the crack cross-sectional area to obtain the cross-sectional defect degree.
10. The method for concrete crack identification and measurement using a drone as claimed in claim 9, characterized in that: The evaluation process of the crack damage status is as follows: Import the size parameters and cross-sectional morphology parameters of the real crack into the expression , get the crack damage degree , where Indicates the depth uniformity, Indicates the degree of cross-sectional defect. , , Represent the physical length, physical width and physical depth of the crack respectively, Indicates the reference volume.
