Method and device for identifying crack space distribution characteristics based on tunnel lining expansion drawing
Through the method of combining deep learning and traditional image processing, the spatial distribution characteristics of tunnel lining cracks are identified and extracted, which solves the problem of difficulty in obtaining the overall spatial distribution characteristics of tunnel lining cracks and diseases in the existing technology, and achieves efficient and accurate analysis and judgment. , reducing maintenance costs.
Patent Information
- Application Number
- CN202411066062.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-08-05
AI Technical Summary
Existing technology is difficult to efficiently and accurately obtain the overall spatial distribution characteristics of tunnel lining cracks and diseases. In particular, quantitative parameters such as crack length, width, and location cannot be obtained intuitively at the kilometer level, which affects the analysis and judgment of tunnel conditions.
Using methods based on deep learning algorithms and traditional image processing, by obtaining the three-dimensional grid model and panoramic expansion of the tunnel lining, identifying and eliminating misidentified areas, performing image binarization and expansion corrosion processing, extracting the spatial distribution characteristics of cracks, and constructing Kilometer-level fracture spatial distribution and parameter display model.
It achieves efficient and accurate acquisition of the overall spatial distribution characteristics and related parameters of tunnel lining cracking diseases at the kilometer level, improves identification accuracy, reduces maintenance costs, improves processing efficiency, and reduces computing resource consumption.
Smart Images

Figure CN118570217A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tunnel engineering, and in particular to a method and a device for identifying spatial distribution characteristics of cracks based on a tunnel lining development diagram. Background Art
[0002] With the continuous advancement of highway, railway and urban rail transit construction in my country, my country's tunnel engineering has entered a new era of equal emphasis on construction and maintenance, among which the problem of tunnel lining crack damage has attracted much attention. The overall spatial distribution characteristics of crack damage are an indicator that can directly reflect the stability and safety of tunnel lining. Efficiently and accurately obtaining its information to judge the stress condition of the lining is of great significance to ensure the safe operation of the tunnel.
[0003] In engineering, the detection of tunnel lining crack damage is currently generally done by manual drawing, and the results have large errors, which can mislead further research and analysis to a certain extent. In recent years, thanks to the development of computer and artificial intelligence technology, many algorithms and models have been able to achieve rapid and intelligent detection of tunnel lining crack damage. For example, crack recognition of tunnel lining images based on deep learning algorithms; acquisition of crack width, length, and number based on traditional image processing; and acquisition of tunnel lining crack damage location information based on image stitching technology. However, these detection methods cannot efficiently, accurately, intuitively, and comprehensively obtain the overall spatial distribution characteristics of crack damage in the cracked section of the tunnel lining.
[0004] In addition, current research is lacking in the display of specific information on tunnel diseases. In particular, it is impossible to intuitively obtain the overall spatial distribution characteristics and related quantitative parameters of tunnel lining crack damage in three-dimensional space at the kilometer level, such as crack length, crack width, mileage location of cracks, and cross-sectional location of cracks (such as: arch crown / top plate, arch waist / side wall, arch foot), which is not conducive to the subsequent analysis and judgment of tunnel conditions. Summary of the invention
[0005] In order to overcome the deficiencies in the background technology, the present invention discloses a method and a device for identifying spatial distribution characteristics of cracks based on a tunnel lining expansion diagram.
[0006] In order to achieve the above-mentioned invention object, the present invention adopts the following technical scheme: In a first aspect, the present invention provides a method and device for identifying spatial distribution characteristics of cracks based on a tunnel lining development diagram, comprising the following steps: S1. Obtain a three-dimensional grid model of the area to be analyzed in the cracked section of the tunnel lining; S2. panoramically unfold the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic unfolded view of the proposed analysis area of the tunnel lining crack damage section; S3, using a pre-trained crack damage identification model to identify crack damage in the first bottom block of the panoramic expansion map of the intended analysis area of the tunnel lining crack damage section, to obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, remove the misidentified crack area, and then splice the second bottom block step by step to obtain the overall distribution characteristics of the tunnel crack damage; S4, after performing image binarization on the second bottom layer block, the spatial distribution characteristics of cracks in the cracked section of the tunnel are obtained by expansion corrosion and skeleton extraction; S5. Based on the crack spatial distribution characteristics of the damaged section of the tunnel and the crack area results, a kilometer-scale tunnel crack spatial distribution and parameter display model is constructed.
[0007] Specifically, the crack damage disease recognition model is used in step S3 to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining to obtain the second bottom block. Specifically, the storage method of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining is hierarchical storage, including [0,1,...,N] levels, each level of image is composed of 4 lower-level images, and the Nth level image is obtained as the first bottom block; the crack damage disease recognition model is used to identify crack damage diseases in the first bottom block to obtain the second bottom block containing the identified crack area results.
[0008] Specifically, in step S3, eliminating the misidentified crack areas according to the distribution of the crack area results in the second bottom layer block specifically includes: Get the pixel coordinates of the center point of each crack area in the second bottom block, and the number of rows and columns of pixels in the crack area, respectively, in the form of multiple one-dimensional arrays The crack area list is saved in the form of In which: Represents the pixel column coordinates of the center point of the crack area, Represents the pixel row coordinates of the center point of the crack area, represents the number of crack area columns, Represents the number of rows in the crack area; For each crack area list The list is traversed, reading each All crack areas included in the list; traverse all crack areas, enlarge the length and width of the current crack area by the preset judgment multiple r as the judgment area, and then search for other crack areas in the judgment area. If other crack areas exist in the judgment area, keep the crack area, if not, remove the crack area.
[0009] Specifically, if there are other crack areas in the judgment area, the crack area will be retained; if not, the crack area will be eliminated. Specifically, all crack areas except the current crack area are traversed, and the center point of each remaining crack area is compared with the boundary of the judgment area in turn. If the center point is within the boundary of the judgment area, it is considered that there are other crack areas in the judgment area, and the area is retained; otherwise, it is said that the current crack area is an isolated area and is eliminated.
[0010] Specifically, step S3 also includes: after obtaining the second bottom-level block, identifying the gap category of the second bottom-level block; based on the center point of the crack area in the identification result, within the pixel range of each second bottom-level block, using a square traversal frame of a*a pixels to traverse the image of the second bottom-level block; during the traversal process, if the number of center points of the crack area within the traversal frame is greater than a preset crack number threshold f, the image is considered to be a network of cracks; otherwise, the image is considered to be a strip crack.
[0011] Specifically, step S4 specifically includes the following steps: S41, extracting a crack area image using a slicing algorithm in a numpy array according to the boundary of the crack area in the second bottom layer block; S42, obtaining a crack region binary image of the crack region image by an image binarization algorithm; S43, splicing the binary images of the crack regions belonging to the same second bottom layer block according to the coordinates to obtain a binary image bottom layer block; S44, connecting the interruption points of adjacent cracks in the bottom layer block of the binary image by using an expansion and corrosion algorithm, and then extracting the crack region skeleton by using a skeleton extraction algorithm to obtain a crack region skeleton block; The parameter selection and running times of the expansion and corrosion algorithm and the skeleton extraction algorithm are different according to the gap type of the second bottom block; the mesh cracks use N expansion and corrosion and skeleton extraction operations of small structural elements, and the strip cracks use a single expansion and corrosion and skeleton extraction operation of large structural elements; the structural element that only expands a single layer of pixels is a small structural element, and the structural element that expands two layers of pixels or more is a large structural element; S45. The skeleton blocks of the crack area are spliced step by step to obtain the spatial distribution characteristics of the cracks in the damaged section of the tunnel.
[0012] Specifically, step S5 specifically includes: S51, calculate the conversion factor between actual distance and pixel , the unit is m / px ; d The length of the image acquisition range of the cross-section of the inner surface of the design profile, in units of m ; dp is the width of the panoramic expansion image, in units of px ; S52, determining the horizontal and vertical section positions of the cracks according to the coordinates of the crack skeleton endpoints in the crack region skeleton block: When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch foot. When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch waist. When the vertical coordinate y of the crack skeleton endpoint satisfies When , it means the crack is located at the top of the arch; in and It is the dividing point between the arch foot and the arch waist. and is the dividing point between the arch waist and the arch crown, and the horizontal coordinate x of the center point of the crack skeleton represents the longitudinal section position of the crack; S53, calculating the overall crack length in the image according to the skeleton block of the crack area, and constructing a crack spatial distribution and crack length display model for a kilometer-level tunnel; S54. Calculate the average crack width based on the middle crack area of the second bottom layer block, and construct a kilometer-level tunnel crack spatial distribution and crack average width display model.
[0013] Specifically, the step S53 is as follows: The number of black pixels Multiply by the conversion factor a , the crack length of each block is calculated , and then the length of the entire crack is obtained by splicing adjacent cracks, and finally a kilometer-scale tunnel crack spatial distribution and crack length display model is constructed.
[0014] Specifically, the step S54 is as follows: First calculate the second bottom layer block The minimum diagonal length of the rectangle surrounding the black pixel , calculate the crack area The number of black pixels , the crack area is calculated using the ratio method The average crack width , as shown below: , where c is the second bottom layer block The number of the crack area identified in the Then calculate the block according to the following formula The average crack width of the cracks , and finally construct a model to display the spatial distribution of cracks and the average width of cracks in kilometer-scale tunnels.
[0015] In a second aspect, the present invention provides a device for identifying crack spatial distribution characteristics based on a tunnel lining development diagram, comprising the following units: 3D reconstruction unit, used to obtain the 3D mesh model of the area to be analyzed in the cracked section of the tunnel lining; A panoramic expansion diagram construction unit is used to panoramically expand the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic expansion diagram of the proposed analysis area of the tunnel lining crack damage section; A crack damage disease overall distribution feature construction unit is used to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining using a pre-trained crack damage disease recognition model, and obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, the misidentified crack area is eliminated, and then the second bottom block is spliced step by step to obtain the overall distribution characteristics of the tunnel crack damage disease; A crack space distribution feature construction unit for the crack damaged section is used to perform image binarization on the second bottom layer block and then obtain the crack space distribution feature of the crack damaged section of the tunnel through expansion corrosion and skeleton extraction; The crack area result display unit is used to construct a kilometer-level tunnel crack spatial distribution and parameter display model based on the crack spatial distribution characteristics of the tunnel damage section and the crack area results.
[0016] The method for identifying the spatial distribution characteristics of crack damage based on the tunnel lining expansion diagram provided by the present invention comprises the following steps: S1, three-dimensionally reconstructing the image of the proposed analysis area of the tunnel lining crack damage section to obtain a three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section; S2, panoramically expanding the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic expansion diagram of the proposed analysis area of the tunnel lining crack damage section; S3, training a crack damage disease recognition model on the image of the proposed analysis area of the tunnel lining crack damage section to obtain a crack damage disease recognition model; S4, using the crack damage disease recognition model to identify the crack damage disease in the tunnel lining crack damage section. The first bottom block of the panoramic expansion map of the proposed analysis area of the tunnel lining crack damage section is used to identify crack damage to obtain the second bottom block, and the misidentified crack area is eliminated according to the distribution of the crack area results in the second bottom block, and then the second bottom blocks are spliced step by step to obtain the overall distribution characteristics of the tunnel crack damage; S5, the second bottom block is binarized and then the spatial distribution characteristics of the cracks in the tunnel crack damage section are obtained through expansion corrosion and skeleton extraction; S5, according to the spatial distribution characteristics of the cracks in the tunnel crack damage section and the crack area results, a kilometer-level tunnel crack spatial distribution and parameter display model is constructed.
[0017] The present invention is based on a panoramic expansion map of the area to be analyzed in the cracked section of the tunnel lining, and combines a deep learning model of crack damage with a traditional image processing method. It can effectively reduce data redundancy, efficiently and accurately realize multi-scale recognition of cracks, and realize the positioning and extraction of crack damage by deep learning on a large scale, while the traditional image processing realizes the extraction of crack damage parameters on a small scale. The present invention can intuitively obtain the overall spatial distribution characteristics and related quantitative parameters of tunnel lining crack damage in three-dimensional space at the kilometer level, such as crack length, crack width, mileage position of crack, cross-sectional position of crack (such as: arch crown / top plate, arch waist / side wall, arch foot), etc., which provides an important basis for the subsequent specific analysis of crack damage and is of great significance.
[0018] In addition, the method of eliminating misidentified areas of the present invention further improves the accuracy of identifying cracked and damaged areas of the tunnel, avoids unnecessary on-site inspections, and reduces maintenance costs; In addition, the present invention uses a hierarchical storage method for panoramic expansion images to store image data of different details at different levels. When the kilometer-level tunnel images are subsequently processed and analyzed, the high-level images can be preprocessed first to identify the areas of interest or perform preliminary analysis, and then these areas can be gradually enlarged to view more details for detailed processing, which can improve processing efficiency and reduce unnecessary consumption of computing resources; In addition, the process of extracting the spatial distribution characteristics of cracks in the damaged section of the tunnel of the present invention first uses binarization to make the image data volume smaller and the processing speed faster, which can effectively perform large-scale image analysis and processing; and through morphological operations such as expansion and corrosion, noise and small interfering elements can be removed, and at the same time, broken cracks are connected to make the crack characteristics more obvious, and then the basic shape and structure of the cracks can be obtained through skeleton extraction, which is more convenient for analyzing the spatial distribution characteristics of the cracks such as the direction, width, and length, and effectively improves the efficiency of crack analysis in the damaged section.
[0019] In addition, the present invention selects different parameters and runs the expansion corrosion algorithm and the skeleton extraction algorithm according to different crack types, so as to ensure the original shape of the network cracks as much as possible and ensure the connectivity of the strip cracks. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 It is a schematic flow chart of a method for identifying crack spatial distribution characteristics based on a tunnel lining development diagram according to an embodiment of the present invention; Figure 2 is a control point layout marking board style diagram provided by an embodiment of the present invention, wherein Figure 2 (a) is the random pattern 1 of the calibration plate, Figure 2 (b) is the random pattern 2 of the calibration plate; Figure 3 It is a schematic diagram of the total station measurement resection method provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of a three-dimensional grid model of a proposed analysis area of a tunnel lining crack damage section provided by an embodiment of the present invention; Figure 5 It is a schematic diagram of a three-dimensional grid model of a tunnel lining design outline provided by an embodiment of the present invention; Figure 6 It is a panoramic expansion diagram of the proposed analysis area of the tunnel lining crack damage section provided by an embodiment of the present invention; Figure 7 It is a schematic diagram of image annotation of a proposed analysis area of a tunnel lining crack damage section provided by an embodiment of the present invention; Figure 8 is a schematic diagram of storing a panoramic expansion image provided by an embodiment of the present invention; wherein, Figure 8 (a) is an example of a level 17 picture. Figure 8 (b) is an example of a 16-level image; Fig. 9 The present invention provides a schematic diagram of crack identification in a panoramic expansion diagram of a block in a tunnel crack damage area to be analyzed. Fig. 9 (a) A crack area identification situation, Fig. 9 (b) is another crack area identification situation; Fig.10 This is a schematic diagram of determining the crack type by traversing the number of center points of the crack area in the frame provided by an embodiment of the present invention; wherein, Fig.10 (a) is an example of strip cracks. Fig.10 (b) is an example of network cracks; Fig.11 is a schematic diagram of the principle of screening isolated crack areas provided by an embodiment of the present invention; Fig.12 is a schematic diagram of the result of removing isolated areas provided by an embodiment of the present invention; wherein, Fig.12 (a) is before isolated area removal. Fig.12 (b) After the isolated areas are removed; Fig.13 is a schematic diagram of the overall distribution characteristics of tunnel crack damage provided by an embodiment of the present invention; Fig.14 is a diagram of the process of extracting crack spatial distribution characteristics of a crack damaged section of a tunnel provided by an embodiment of the present invention, wherein Fig.14 (a) is the block crack identification result. Fig.14 (b) is the crack damage area identified in the block. Fig.14 (c) is the binary image of the crack damage area identified in the block. Fig.14 (d) is the binary image of crack damage in the block; Fig.15 The present invention provides a process for extracting a skeleton image of crack damage in a panoramic expansion image of a tunnel crack damage area. Fig.15 (a) is the binary image of crack damage in the block. Fig.15 (b) is the image processed by the expansion and corrosion algorithm. Fig.15 (c) is the image processed by the skeleton extraction algorithm; Fig.16 is a crack skeleton recognition result of a panoramic expansion image provided by an embodiment of the present invention; Fig.17 is a kilometer-level tunnel crack spatial distribution and parameter display model provided by an embodiment of the present invention, wherein: Fig.17 (a) is a model showing the spatial distribution and length of cracks in a kilometer-scale tunnel. Fig.17 (b) is a model showing the spatial distribution of cracks and the average width of cracks in a kilometer-scale tunnel; Fig.18 Schematic diagram of a device for identifying crack spatial distribution characteristics based on a tunnel lining development diagram according to an embodiment of the present invention; Fig.19 It is a schematic diagram of a device for identifying spatial distribution characteristics of cracks based on a tunnel lining expansion diagram provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The present invention can be explained in detail through the following embodiments. The purpose of disclosing the present invention is to protect all technical improvements within the scope of the present invention. In the description of the present invention, it should be understood that if there are terms such as "upper", "lower", "front", "back", "left", "right", etc. indicating directions or positional relationships, they only correspond to the drawings of the present application for the convenience of describing the present invention, and do not indicate or imply that the device or element referred to must have a specific direction.
[0023] Embodiment 1
[0024] refer to Figure 1 This embodiment provides a method for identifying crack spatial distribution characteristics based on a tunnel lining expansion diagram, comprising the following steps: S1. Obtain a three-dimensional grid model of the area to be analyzed in the cracked section of the tunnel lining; Specifically, the step S1 specifically includes: S11. Collect images in the area to be analyzed in the cracked section of the tunnel lining; In this embodiment, control points are arranged in the intended analysis area of the tunnel lining crack section to obtain the tunnel lining image; When setting control points in the tunnel lining image acquisition area, first place 4 to 6 markers in the area to be photographed. Figure 2 As shown, the marker plates should be evenly distributed over the tunnel lining image acquisition area. When arranging the marker plates, use nails (or tapes) to fix the marker plates to the wall. It is necessary to ensure that the marker plates are stable and will not move during photography and measurement. Then, the coordinates of the calibration plate are measured using a total station to obtain the center coordinates of the calibration plate as the control point for converting the construction coordinate system. When taking images, try to ensure that they are taken perpendicular to the tunnel surface, and that the overlap between any two consecutive images is greater than 50%, and that there are no less than three images containing the same control point in any direction.
[0025] In this embodiment, the total station is set up at a position where the control points and the backsight point with known coordinates can be seen. The total station is used to measure the direction and distance of the backsight point 1 and the backsight point 2 with known coordinates, and the total station is set up by the back intersection method, such as Figure 3 As shown, the coordinates of the control points are measured in sequence using a total station and recorded according to the marking plate numbers.
[0026] S12. According to the acquired image of the area to be analyzed in the cracked and damaged tunnel lining section, a three-dimensional grid model of the area to be analyzed in the cracked and damaged tunnel lining section is obtained based on a three-dimensional reconstruction method.
[0027] This embodiment reconstructs the three-dimensional sparse point cloud of the image based on the motion recovery structure algorithm SFM {V M}; Based on the PMVS multi-view matching algorithm, reconstruct the image 3D dense point cloud {V′ P};According to the coordinates of the control points, the three-dimensional dense point cloud in the construction coordinate system is obtained through rotation, translation and scaling {V P}: {V P}={V′ P}·[R|t]·s; Where: R is the rotation matrix, t is the translation vector, and s is the scale factor; let the coordinates of the control point in the reconstructed coordinate system be p′ i , the corresponding point in the construction coordinate system is p i , then the corresponding transformation parameters are solved as follows: ; Where: n represents the number of control points.
[0028] Based on the Delaunay triangulation algorithm, according to the three-dimensional dense point cloud {V P}, reconstruct the three-dimensional mesh model S({T},{V P}), {T} represents the vertex set {V P}The corresponding triangulation relationship is as follows: Figure 4 shown.
[0029] S2. panoramically unfold the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic unfolded view of the proposed analysis area of the tunnel lining crack damage section; Specifically, step S2 includes the following steps: S21. Obtain the streamline of the tunnel according to the tunnel lining design profile With trace ; The method for establishing the three-dimensional mesh model of the tunnel lining design contour in this embodiment is: using a three-dimensional sweeping method, streamline Use the design section contour line. If there is no design file, use the shooting area contour line instead. The tunnel design curve is adopted. If there is no design file, the arch foot line of the actual contour three-dimensional grid model or the iconic horizontal line on the arch wall is used instead.
[0030] ; S22, according to the obtained streamline With trace , establish a three-dimensional mesh model of the tunnel lining design outline; First, the streamlines and traces are divided equally, and the coordinates of each divided point are obtained. The more divided points are divided, the higher the accuracy of the calculation results. The divided points of the streamlines are swept in the direction of the traces to obtain the three-dimensional grid model of the tunnel lining design contour. The sweeping results are as follows: Figure 5 shown.
[0031] Plane grid points for the design section contour , the spatial coordinates are obtained by sweeping , can be calculated by the following formula: ; Where N C Indicates the number of columns of the divided grid, N R Indicates the number of rows of the divided grid. The more rows and columns are divided, the higher the accuracy of the calculation result. S23, projecting the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section obtained in S12 onto the three-dimensional grid model of the tunnel lining design contour obtained in S22, to obtain a panoramic expansion map of the proposed analysis area of the tunnel lining crack damage section, such as Figure 6 shown.
[0032] S3, using a pre-trained crack damage identification model to identify crack damage in the first bottom block of the panoramic expansion map of the intended analysis area of the tunnel lining crack damage section, to obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, remove the misidentified crack area, and then splice the second bottom block step by step to obtain the overall distribution characteristics of the tunnel crack damage; Specifically, the training process of the pre-trained crack damage recognition model includes the following steps: The images of the area to be analyzed in the cracked section of the tunnel lining are used to annotate the cracks in the training set and the validation set; Cracks are marked for similar photos taken. Labelimg software is used for marking. The format of the marking is yolov5. Figure 7 shown.
[0033] The model is trained on the labeled training set and validation set.
[0034] The yolov5 model is trained for the annotated photos. This embodiment uses the yolov5l model.
[0035] As for how to use labeled photos to train the yolov5 model, this is an existing technology and will not be described in detail here.
[0036] Specifically, the crack damage disease recognition model is used in step S3 to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining, and the second bottom block is obtained specifically as follows: the storage method of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining is hierarchical storage, including [0,1,...,N] levels, each level of image is composed of 4 lower-level images, and the Nth level image is obtained as the first bottom block; the crack damage disease recognition model is used to identify crack damage diseases in the first bottom block, such as Fig. 9 As shown, a second bottom layer block containing the identified fracture area results is obtained.
[0037] The data type of the crack area result is a txt file, and the data information contained includes: the center point of the crack area, the length and width of the crack area.
[0038] First, obtain the first bottom block of the panoramic expansion map of the area to be analyzed at the tunnel crack damage site ; The storage method of the panoramic expansion image is hierarchical storage, from the highest level 0 to the lowest level N. Each level of image is composed of four low-level images, and the size of each level of image is 512*512 pixels. Figure 8 As shown, the N-level image is the bottom layer image of the panoramic expansion image. The single image contains the most information and is named the first bottom layer block here. . Among them, (i+1) represents the column position of the block, and (j+1) represents the row position of the block. Based on this storage method, the panoramic expansion map can display the image step by step during the zooming process, i represents the column index of the block, and j represents the row index of the block.
[0039] The value of N in this embodiment can be selected according to specific needs. Preferably, the value of N in this embodiment is 17.
[0040] For example, let the k-th level image number be (m k , n k ), where m represents the (m+1)th column of the panoramic image, and n represents the (n+1)th row of the panoramic image.
[0041] Then the k+1th level image number is calculated according to the following formula: ; For the first bottom layer block , use the trained model in S32 to identify crack damage, such as Fig. 9 As shown, the second bottom layer block after crack damage identification is obtained ; Specifically, after obtaining the second bottom layer block, performing gap category identification on the second bottom layer block; First, based on the center point of the crack area in the recognition result, a square traversal frame of a*a pixels is used within the pixel range of each second bottom block to traverse the image of the second bottom block; during the traversal process, if the number of center points of the crack area within the traversal frame is greater than the preset crack number threshold f, the image is considered to be a mesh crack; otherwise, the image is considered to be a strip crack, such as Fig.10 shown.
[0042] Fig.10 (a) Yes Fig. 9 (a) The corresponding traversal situation judgment situation, indicating strip cracks, indicating, Fig.10 (b) Yes Fig. 9 (b) The corresponding traversal discrimination situation, indicating a network of cracks.
[0043] The preset crack quantity threshold value f and the traversal frame width a are selected after testing and summarizing. Preferably, in this embodiment, f=5 is always selected, and the value of a is the pixel value corresponding to 0.3 times the width of the second bottom layer block image.
[0044] Specifically, in step S3, eliminating the misidentified crack areas according to the distribution of the crack area results in the second bottom layer block specifically includes: First, read the crack identification mark from the identified crack area result data, obtain the pixel coordinates of the center point of each crack area in the second bottom block, and the number of rows and columns of pixels in the crack area, respectively, in the form of multiple one-dimensional arrays The crack area list is saved in the form of In which: Represents the pixel column coordinates of the center point of the crack area, Represents the pixel row coordinates of the center point of the crack area, represents the number of crack area columns, Represents the number of rows in the crack area; For each crack area list The list is traversed, reading each All crack areas included in the list; traverse all crack areas, enlarge the length and width of the current crack area by the preset judgment multiple r as the judgment area, and then search for other crack areas in the judgment area. If other crack areas exist in the judgment area, keep the crack area, if not, remove the crack area.
[0045] Specifically, if there are other crack areas in the judgment area, the crack area will be retained; if not, the crack area will be eliminated. Specifically, all crack areas except the current crack area are traversed, and the center point of each remaining crack area is compared with the boundary of the judgment area in turn. If the center point is within the boundary of the judgment area, it is considered that there are other crack areas in the judgment area, and the area is retained; otherwise, it is said that the current crack area is an isolated area and is eliminated.
[0046] For each The list is traversed, reading each All crack areas included in the list. For each crack area i, find other crack areas in the determination area with the length and width of the area magnified by the preset determination multiple r. First, construct the determination area boundary: ; Where: i represents the crack area number; , , ,, They represent the left, right, upper and lower boundaries of the i-th crack area determination area respectively.
[0047] The value of the preset determination multiple r is an odd number greater than or equal to 3, and can be selected according to actual needs. Preferably, in this embodiment, the value of r is 3.
[0048] Then, for the i-th crack area, the center point of each remaining crack area j is judged in turn, if there is at least one j that satisfies the following formula: ; It means that there are other crack areas in the i-th crack area determination area, and the i-th crack area is retained; otherwise, it means that the i-th crack area is an isolated area, which is a misidentified area and is removed. The principle diagram is shown in Fig.11 shown.
[0049] Where: j represents the number traversal result of all remaining crack areas for crack area i. Through testing, when r is 3, it has a good effect of eliminating isolated crack areas. The specific elimination effect is as follows: Fig.12 shown.
[0050] The above method can effectively eliminate misidentified areas, further improve the accuracy of identifying tunnel cracked areas, avoid unnecessary on-site inspections, and reduce maintenance costs.
[0051] The second bottom layer block after removing the misidentified area Perform step-by-step splicing to finally obtain the overall distribution characteristics of tunnel crack damage. The step-by-step splicing method is referred to the following formula: ; like Fig.13 As shown, for the k+1th level image: , , , ,Will and The horizontal coordinate of the pixel in the image increases by 512. and The vertical coordinate of the pixel in the image increases by 512 to obtain the k-th level image , and then splice them upwards step by step to finally obtain the highest level overall distribution characteristic image of tunnel crack damage.
[0052] The overall distribution characteristics of tunnel crack damage are the image stitching results after crack identification using a deep learning model. They can not only serve as a basis for subsequent crack spatial distribution characteristics and can be directly replaced after subsequent crack extraction; but also, when encountering more urgent project requirements, the overall distribution characteristics of tunnel crack damage can be directly used to display the kilometer-level tunnel crack spatial distribution model.
[0053] This embodiment uses a hierarchical storage method for panoramic expansion images to store image data of different details at different levels. When the subsequent kilometer-level tunnel images are processed and analyzed, the high-level images can be pre-processed first to identify areas of interest or perform preliminary analysis, and then these areas can be gradually enlarged to view more details for detailed processing. This can improve processing efficiency and reduce unnecessary consumption of computing resources.
[0054] S4, after performing image binarization on the second bottom layer block, the spatial distribution characteristics of cracks in the cracked section of the tunnel are obtained by expansion corrosion and skeleton extraction; Specifically, step S4 specifically includes the following steps: S41, extracting a crack area image using a slicing algorithm in a numpy array according to the boundary of the crack area in the second bottom layer block; Based on the second bottom layer block after eliminating the misidentified area , extract the second bottom layer block The crack area image corresponding to the crack area in ,like Fig.14 (b) as shown; This embodiment uses numpy array to extract crack part image. First, coordinate transformation is performed based on the following formula, and the slicing algorithm in numpy array is used to extract crack part image. Fig.14 (b) shown.
[0055] , in: is the coordinate of the midpoint in the crack area, is the length and width of the crack area, is the coordinate of the upper left corner of the crack area, is the coordinate of the lower right corner of the crack area, and c is the bottom block The crack area number identified in the .
[0056] S42, obtaining a crack region binary image of the crack region image by an image binarization algorithm; According to the crack area image obtained in S41 , using the image binarization algorithm, obtain the binary image of the crack damage area ,like Fig.14 As shown: Fig.14 (b) is the image before binarization, which is represented as a three-dimensional array in the numpy array. Each element is a value between 0 and 255. When the three elements of the third dimension are all 0, it means that the pixel is black. When the three elements of the third dimension are all 255, it means that the pixel is white.
[0057] Fig.14 (c) is the binarized image, which is represented as a two-dimensional array in the numpy array. Each element is 0 or 255. 0 means that the pixel is black, and 255 means that the pixel is white.
[0058] First, convert the image before binarization into a grayscale image, which is represented as a two-dimensional array in the numpy array. Each element is a value between 0 and 255. 0 means that the pixel is black, 255 means that the pixel is white, and the value between 0 and 255 represents gray. Then, according to the automatically calculated threshold, set the elements of the grayscale image to 0 or 255 to obtain the binary image of the crack area. .
[0059] The binarized image has smaller data volume and faster processing speed, which is conducive to large-scale image analysis and processing.
[0060] S43, splicing the binary images of the crack regions belonging to the same second bottom layer block according to the coordinates to obtain a binary image bottom layer block; The same second bottom block Binarized image of inner crack area , splice according to coordinates to obtain the bottom layer blocks after crack damage identification The corresponding bottom block of the crack binary image ,like Fig.14 (d) as shown; The specific process is as follows: construct a 512*512 pixel blank image, that is, a numpy two-dimensional array with all elements being 255. According to the crack area coordinates obtained in S41 , the crack area binary image obtained in S42 The constructed blank image is overwritten according to the coordinates, as follows: ; S44, connecting the interruption points of adjacent cracks in the bottom layer block of the binary image by using an expansion and corrosion algorithm, and then extracting the crack region skeleton by using a skeleton extraction algorithm to obtain a crack region skeleton block; Specifically, the parameter selection and running times of the expansion and corrosion algorithm and the skeleton extraction algorithm in step S44 are different according to the gap category of the second bottom layer block.
[0061] The specific process is as follows: First, in the bottom block of the crack binary image Based on Fig.15 As shown in (a), the break points of adjacent cracks are connected by the expansion-corrosion algorithm, as shown in Fig.15 (b) As shown. Secondly, the skeleton block of the crack area is obtained by the skeleton extraction algorithm ,like Fig.15 (c) shown.
[0062] Through morphological operations such as dilation and corrosion, noise and small interfering elements can be removed, and at the same time, broken cracks can be connected to make the crack characteristics more obvious. Then, the basic shape and structure of the crack can be obtained through skeleton extraction, which is very important for analyzing the spatial distribution characteristics of the crack, such as direction, width, and length.
[0063] Due to the different distribution patterns of mesh cracks and strip cracks, the parameter selection and running times of the expansion and corrosion algorithm and the skeleton extraction algorithm are different when performing this step. The mesh cracks use N expansion and corrosion and skeleton extraction operations of small structural elements, and the strip cracks use a single expansion and corrosion and skeleton extraction operation of large structural elements.
[0064] In this embodiment, a structural element that only expands a single layer of pixels is a small structural element, and a structural element that expands two layers of pixels or more is a large structural element. The value of N is greater than 2 and can be selected according to actual needs, and is not limited here.
[0065] For example, for mesh cracks, small structural elements are used for expansion and then erosion, and this process is repeated N times before skeleton extraction. For strip cracks, large structural elements are used for expansion and then erosion and skeleton extraction are performed.
[0066] This embodiment selects different parameters and runs different times for the expansion and corrosion algorithm and the skeleton extraction algorithm according to different crack types, so as to ensure the original shape of the network cracks as much as possible and the connectivity of the strip cracks at the same time.
[0067] S45. The skeleton blocks of the crack area are spliced step by step to obtain the spatial distribution characteristics of the cracks in the damaged section of the tunnel.
[0068] Finally, in the crack area skeleton block On the basis of , the step-by-step splicing method in step S3 is used to obtain the spatial distribution characteristics of cracks in the damaged section of the tunnel, such as Fig.16 shown.
[0069] S5. Based on the crack spatial distribution characteristics of the damaged section of the tunnel and the crack area results, a kilometer-scale tunnel crack spatial distribution and parameter display model is constructed.
[0070] Specifically, step S5 specifically includes: S51, calculate the conversion factor between actual distance and pixel , the unit is m / px ; d The length of the image acquisition range of the cross-section of the inner surface of the design profile, in units of m ; d p is the width of the panoramic expansion image, in units of px ; S52, determining the horizontal and vertical section positions of the crack according to the coordinates of the crack skeleton endpoints in the crack region skeleton block; Based on the tunnel cross-section, the positions of the arch crown (top plate), arch waist (side wall), arch foot, etc. are divided. Combined with the crack skeleton extraction results in the panoramic expansion diagram, the positions are matched according to the coordinates of the crack skeleton endpoints.
[0071] When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch foot. When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch waist. When the vertical coordinate y of the crack skeleton endpoint satisfies When , it means the crack is located at the top of the arch; in and It is the dividing point between the arch foot and the arch waist. and It is the dividing point between the arch waist and the arch crown, obtained based on the crack cross-section design drawing; The horizontal coordinate x of the center point of the crack skeleton represents the longitudinal section position of the crack, that is, the mileage position.
[0072] For cracks in different locations, the subsequent maintenance plans will also be different. In this embodiment, the cross-sectional position is used to determine the arch crown (top plate) and arch waist (side wall) positions of the cracks; the longitudinal section position is used to determine the mileage position of the cracks. Accurate location information helps to formulate more targeted and effective maintenance plans, thereby improving maintenance quality and efficiency.
[0073] S53, calculating the overall crack length in the image according to the skeleton block of the crack area, and constructing a crack spatial distribution and crack length display model for a kilometer-level tunnel; Specifically, the step S53 is as follows: The number of black pixels Multiply by the conversion factor a , the crack length of each block is calculated , ; Then, the length of the entire crack is obtained by splicing adjacent cracks, and finally a kilometer-scale tunnel crack spatial distribution and crack length display model is constructed.
[0074] Specifically, the construction process of the kilometer-level tunnel crack spatial distribution and crack length display model is as follows: first, a three-dimensional model of the tunnel surface is constructed and the original tunnel image is filled; second, the crack identification results are drawn. When drawing, the crack length is drawn at the lower left corner of each crack starting point, such as Fig.17 As shown in (a), the unit in the figure is m.
[0075] S54. Calculate the average crack width based on the middle crack area of the second bottom layer block, and construct a kilometer-level tunnel crack spatial distribution and crack average width display model.
[0076] Specifically, the step S54 is as follows: First calculate the second bottom layer block The minimum diagonal length of the rectangle surrounding the black pixel , calculate the crack area The number of black pixels , the crack area is calculated using the ratio method The average crack width , as shown below: , where c is the second bottom layer block The number of the crack area identified in the Then calculate the block according to the following formula The average crack width of the cracks , and finally construct a model to display the spatial distribution of cracks and the average width of cracks in kilometer-scale tunnels.
[0077] Specifically, the construction process of the kilometer-level tunnel crack spatial distribution and crack average width display model is as follows: first, a three-dimensional model of the tunnel surface is constructed and the original tunnel image is filled; secondly, the crack identification results are drawn. When drawing, the average crack width is drawn at the lower left corner of each crack starting point, such as Fig.17 As shown in (b), the unit in the figure is mm.
[0078] In the process of extracting the spatial distribution characteristics of cracks in the damaged section of the tunnel in this embodiment, binarization is first used to reduce the amount of image data and increase the processing speed, which can effectively perform large-scale image analysis and processing; and through morphological operations such as expansion and corrosion, noise and small interfering elements can be removed, and at the same time, broken cracks are connected to make the crack characteristics more obvious. The basic shape and structure of the cracks can be obtained through skeleton extraction, which is more convenient for analyzing the spatial distribution characteristics of the cracks, such as the direction, width, and length, and effectively improves the efficiency of crack analysis in the damaged section.
[0079] In addition, this embodiment selects different parameters and runs the expansion and corrosion algorithm and the skeleton extraction algorithm according to different crack types, so as to ensure the original shape of the network cracks as much as possible and the connectivity of the strip cracks at the same time.
[0080] This embodiment is based on a panoramic expansion map of the area to be analyzed in the cracked section of the tunnel lining, and combines a deep learning model of crack damage with traditional image processing methods. It can effectively reduce data redundancy, efficiently and accurately realize multi-scale identification of cracks, and realize the positioning and extraction of crack damage by deep learning on a large scale, while traditional image processing realizes the extraction of crack damage parameters on a small scale. The present invention can intuitively obtain the overall spatial distribution characteristics and related quantitative parameters of tunnel lining crack damage in three-dimensional space at the kilometer level, such as crack length, crack width, mileage position of crack, cross-sectional position of crack (such as: arch crown / top plate, arch waist / side wall, arch foot), etc., which provides an important basis for the subsequent specific analysis of crack damage and is of great significance.
[0081] Embodiment 2
[0082] Please see attached Fig.18 The embodiment of the present invention discloses a device for identifying crack spatial distribution characteristics based on a tunnel lining development diagram, comprising the following units: 3D reconstruction unit, used to obtain the 3D mesh model of the area to be analyzed in the cracked section of the tunnel lining; A panoramic expansion diagram construction unit is used to panoramically expand the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic expansion diagram of the proposed analysis area of the tunnel lining crack damage section; A crack damage disease overall distribution feature construction unit is used to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining using a pre-trained crack damage disease recognition model, and obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, the misidentified crack area is eliminated, and then the second bottom block is spliced step by step to obtain the overall distribution characteristics of the tunnel crack damage disease; A crack space distribution feature construction unit for the crack damaged section is used to perform image binarization on the second bottom layer block and then obtain the crack space distribution feature of the crack damaged section of the tunnel through expansion corrosion and skeleton extraction; The crack area result display unit is used to construct a kilometer-level tunnel crack spatial distribution and parameter display model based on the crack spatial distribution characteristics of the tunnel damage section and the crack area results.
[0083] The device for identifying the spatial distribution characteristics of cracks based on the tunnel lining expansion diagram provided by the embodiment of the present invention can execute the method and device for identifying the spatial distribution characteristics of cracks based on the tunnel lining expansion diagram provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. It is worth noting that in the device provided by the embodiment of the present invention, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0084] Embodiment 3
[0085] Please see attached Fig.19 , Fig.19 1 is a schematic diagram of the structure of a device for identifying spatial distribution characteristics of cracks in a tunnel lining development diagram according to an embodiment of the present invention. The device 20 includes a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above method embodiment are implemented. Alternatively, when the processor 21 executes the computer program, the functions of each module / unit in the above device embodiments are implemented.
[0086] Exemplarily, the computer program can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the device 20 for identifying the spatial distribution characteristics of cracks based on the tunnel lining expansion diagram. For example, the computer program can be divided into the modules in the second embodiment. For the specific functions of each module, please refer to the working process of the device described in the above embodiment, which will not be repeated here.
[0087] The device 20 for identifying cracks and damages based on the tunnel lining expansion diagram may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art may understand that the schematic diagram is merely an example of the device 20 for identifying cracks and damages based on the tunnel lining expansion diagram, and does not constitute a limitation on the device 20 for identifying cracks and damages based on the tunnel lining expansion diagram, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the device 20 for identifying cracks and damages based on the tunnel lining expansion diagram may also include input and output devices, network access devices, buses, etc.
[0088] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 21 is the control center of the device 20 for identifying the spatial distribution characteristics of cracks based on the tunnel lining development diagram, and uses various interfaces and lines to connect the various parts of the device 20 for identifying the spatial distribution characteristics of cracks based on the tunnel lining development diagram.
[0089] The memory 22 can be used to store the computer program and / or module. The processor 21 realizes various functions of the device 20 for identifying spatial distribution characteristics of crack damage based on tunnel lining development diagram by running or executing the computer program and / or module stored in the memory 22 and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0090] Wherein, if the module / unit integrated in the equipment 20 for identifying the spatial distribution characteristics of cracks based on the tunnel lining development diagram is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor 21, the steps of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0091] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between the modules, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement the invention without creative work.
[0092] So far, the technical solutions of the present invention have been described in combination with examples, but it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for identifying the spatial distribution characteristics of cracks in tunnel lining development diagram, characterized in that: include: S1. Obtain a three-dimensional grid model of the area to be analyzed in the cracked section of the tunnel lining; S2. panoramically unfold the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic unfolded view of the proposed analysis area of the tunnel lining crack damage section; S3, using a pre-trained crack damage identification model to identify crack damage in the first bottom block of the panoramic expansion map of the intended analysis area of the tunnel lining crack damage section, to obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, remove the misidentified crack area, and then splice the second bottom block step by step to obtain the overall distribution characteristics of the tunnel crack damage; S4, after performing image binarization on the second bottom layer block, the spatial distribution characteristics of cracks in the cracked section of the tunnel are obtained by expansion corrosion and skeleton extraction; S5. Based on the crack spatial distribution characteristics of the damaged section of the tunnel and the crack area results, a kilometer-scale tunnel crack spatial distribution and parameter display model is constructed.
2. The method according to claim 1, characterized in that: In step S3, the crack damage disease recognition model is used to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining to obtain the second bottom block. Specifically, the storage method of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining is hierarchical storage, including [0,1,...,N] levels, each level of image is composed of 4 lower-level images, and the Nth level image is obtained as the first bottom block; the crack damage disease recognition model is used to identify crack damage diseases in the first bottom block to obtain the second bottom block containing the identified crack area results.
3. The method according to claim 1, characterized in that In step S3, according to the distribution of the crack area results in the second bottom layer block, the misidentified crack areas are eliminated, which specifically includes: Get the pixel coordinates of the center point of each crack area in the second bottom block, and the number of rows and columns of pixels in the crack area, respectively, in the form of multiple one-dimensional arrays The crack area list is saved in the form of In which: Represents the pixel column coordinates of the center point of the crack area, Represents the pixel row coordinates of the center point of the crack area, represents the number of crack area columns, Represents the number of rows in the crack area; For each crack area list The list is traversed, reading each All crack areas included in the list; traverse all crack areas, enlarge the length and width of the current crack area by the preset judgment multiple r as the judgment area, and then search for other crack areas in the judgment area. If other crack areas exist in the judgment area, keep the crack area, if not, remove the crack area.
4. The method according to claim 3, characterized in that If there are other crack areas in the determination area, the crack area will be retained; if not, the crack area will be eliminated. Specifically, all crack areas except the current crack area are traversed, and the center point of each remaining crack area is compared with the boundary of the determination area in turn. If the center point is within the boundary of the determination area, it is considered that there are other crack areas in the determination area and the area is retained; otherwise, it is said that the current crack area is an isolated area and is eliminated.
5. The method according to claim 1, characterized in that Step S3 also includes: after obtaining the second bottom-level block, identifying the gap category of the second bottom-level block; based on the center point of the crack area in the identification result, within the pixel range of each second bottom-level block, using a square traversal frame of a*a pixels to traverse the image of the second bottom-level block; during the traversal process, if the number of center points of the crack area within the traversal frame is greater than a preset crack number threshold f, the image is considered to be a network of cracks; otherwise, the image is considered to be a strip crack.
6. The method according to claim 5, characterized in that Step S4 specifically includes the following steps: S41, extracting a crack area image using a slicing algorithm in a numpy array according to the boundary of the crack area in the second bottom layer block; S42, obtaining a crack region binary image of the crack region image by an image binarization algorithm; S43, splicing the binary images of the crack regions belonging to the same second bottom layer block according to the coordinates to obtain a binary image bottom layer block; S44, connecting the interruption points of adjacent cracks in the bottom layer block of the binary image by using an expansion and corrosion algorithm, and then extracting the crack region skeleton by using a skeleton extraction algorithm to obtain a crack region skeleton block; The parameter selection and running times of the expansion and corrosion algorithm and the skeleton extraction algorithm are different according to the gap type of the second bottom block; the mesh cracks use N expansion and corrosion and skeleton extraction operations of small structural elements, and the strip cracks use a single expansion and corrosion and skeleton extraction operation of large structural elements; the structural element that only expands a single layer of pixels is a small structural element, and the structural element that expands two layers of pixels or more is a large structural element; S45. The skeleton blocks of the crack area are spliced step by step to obtain the spatial distribution characteristics of the cracks in the damaged section of the tunnel.
7. The method according to claim 6, characterized in that Step S5 specifically includes: S51, calculate the conversion factor between actual distance and pixel , the unit is m / px ; d The length of the image acquisition range of the cross-section of the inner surface of the design profile, in units of m ; d p is the width of the panoramic expansion image, in units of px ; S52, determining the horizontal and vertical section positions of the cracks according to the coordinates of the crack skeleton endpoints in the crack region skeleton block: When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch foot. When the vertical coordinate y of the crack skeleton endpoint satisfies or When , it means the crack is located at the arch waist. When the vertical coordinate y of the crack skeleton endpoint satisfies When , it means the crack is located at the top of the arch; in and It is the dividing point between the arch foot and the arch waist. and is the dividing point between the arch waist and the arch crown, and the horizontal coordinate x of the center point of the crack skeleton represents the longitudinal section position of the crack; S53, calculating the overall crack length in the image according to the skeleton block of the crack area, and constructing a crack spatial distribution and crack length display model for a kilometer-level tunnel; S54. Calculate the average crack width based on the middle crack area of the second bottom layer block, and construct a kilometer-level tunnel crack spatial distribution and crack average width display model.
8. The method according to claim 7, characterized in that The step S53 specifically includes: The number of black pixels Multiply by the conversion factor a , the crack length of each block is calculated , and then the length of the entire crack is obtained by splicing adjacent cracks, and finally a kilometer-scale tunnel crack spatial distribution and crack length display model is constructed.
9. The method according to claim 7, characterized in that: The step S54 is specifically as follows: First calculate the second bottom layer block The minimum diagonal length of the rectangle surrounding the black pixel , calculate the crack area The number of black pixels , the crack area is calculated using the ratio method The average crack width , as shown below: , where c is the second bottom layer block The number of the crack area identified in the Then calculate the block according to the following formula The average crack width of the cracks , and finally construct a model to display the spatial distribution of cracks and the average width of cracks in kilometer-scale tunnels.
10. A device for identifying crack spatial distribution characteristics based on tunnel lining development diagram, characterized in that: The following units are included: 3D reconstruction unit, used to obtain the 3D mesh model of the area to be analyzed in the cracked section of the tunnel lining; A panoramic expansion diagram construction unit is used to panoramically expand the three-dimensional grid model of the proposed analysis area of the tunnel lining crack damage section and the tunnel lining design outline to obtain a panoramic expansion diagram of the proposed analysis area of the tunnel lining crack damage section; A crack damage disease overall distribution feature construction unit is used to identify crack damage diseases in the first bottom block of the panoramic expansion map of the proposed analysis area of the crack damage section of the tunnel lining using a pre-trained crack damage disease recognition model, and obtain a second bottom block, and according to the distribution of the crack area results in the second bottom block, the misidentified crack area is eliminated, and then the second bottom block is spliced step by step to obtain the overall distribution characteristics of the tunnel crack damage disease; A crack space distribution feature construction unit for the crack damaged section is used to perform image binarization on the second bottom layer block and then obtain the crack space distribution feature of the crack damaged section of the tunnel through expansion corrosion and skeleton extraction; The crack area result display unit is used to construct a kilometer-level tunnel crack spatial distribution and parameter display model based on the crack spatial distribution characteristics of the tunnel damage section and the crack area results.
Citation Information
Patent Citations
Tunnel lining surface image crack detection method
CN107154040A
Service performance detection method and equipment based on tunnel structure crack state
CN115935464A
Highway tunnel lining crack evolution characteristic dynamic tracking method and system
CN118298293A
Crack detection method and crack display device
JP2013195074A
Cited By
Tunnel lining crack automatic detection and three-dimensional modeling method based on computer vision
CN122223246A
Tunnel lining development view-based method and apparatus for identifying spatial distribution characteristics of cracks
WO2026031291A1
