Intelligent extraction method and system for surrounding rock structural surface
Through deep learning and image processing technology, the CBAM-Unet network model is used to automatically identify surrounding rock structural surfaces, which solves the problem of human resources reliance on surrounding rock structural surface recognition in traditional methods, and achieves more efficient and accurate structural surface parameters acquisition , reduces construction risks.
Patent Information
- Application Number
- CN202410967724.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-05
AI Technical Summary
The traditional surrounding rock structure recognition relies heavily on on-site staff, with low accuracy and poor efficiency. The personal safety of staff under exposed surrounding rocks is difficult to ensure, resulting in low efficiency in identifying and warning disasters caused by surrounding rock collapse.
Deep learning and image processing methods are adopted to preprocess and identify palm surface images through the trained CBAM-Unet network model, and structural surface parameters, including length and inclination information are obtained to realize automatic extraction and recognition.
It improves the accuracy and efficiency of surrounding rock structure surface recognition, reduces construction time, reduces the risks of on-site staff, and meets actual engineering needs.
Smart Images

Figure CN118898747A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of surrounding rock processing, and in particular to a method and system for intelligently extracting surrounding rock structural surfaces. Background Art
[0002] Tunnel construction areas are widely distributed and the geological conditions for tunnel construction vary greatly. Due to the effect of geological structure, rocks are cut by various faults, joints and fissures to form block structures. When constructing underground projects, excavation leads to the emergence of new air surfaces. During the construction process, there is often the risk of surrounding rock collapse. The identification and parameter acquisition of surrounding rock structural surfaces are crucial for the identification and early warning of collapse disasters. Traditional structural surface identification relies heavily on on-site staff, with low accuracy and poor efficiency. The personal safety of staff exposed to exposed surrounding rocks for a long time is difficult to guarantee. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a method and system for intelligent extraction of surrounding rock structure surfaces. The present invention can realize the automatic extraction of surrounding rock structure surfaces of underground projects, which is more efficient, does not take up construction time, reduces on-site staff, and is more in line with the actual situation on site.
[0004] In order to achieve the above object, the present invention adopts the following technical solution:
[0005] A method for intelligently extracting surrounding rock structural surfaces comprises the following steps:
[0006] Acquire the tunnel face image and perform preprocessing;
[0007] The trained network model is used to process the preprocessed tunnel face image, identify the structural surface information in the image, and perform statistics on the structural surface information to obtain the structural surface parameters;
[0008] The trained network model is a trained CBAM-Unet network model, and the construction process of the CBAM-Unet network model includes adding a spatial attention module in the pooling and jump connection process based on the Unet network model.
[0009] As an optional implementation, the preprocessing process includes brightening the acquired tunnel face image, geometric transformation, and data enhancement processing by adding random noise to expand the number of database images.
[0010] As a further step, the preprocessing process specifically includes brightness processing including image brightening, image darkening and image blurring operations, geometric transformation processing including horizontal flipping, vertical flipping, 30° flipping, 45° flipping, 60° flipping and 75° flipping, and random noise processing including adding salt and pepper noise and Gaussian noise to the image.
[0011] As an optional implementation, the network model is considered to be trained when the total loss and recognition accuracy of the training have reached specified values.
[0012] As an optional implementation, the structural surface parameters include the length and inclination information of the structural surface trace.
[0013] As a further implementation, the length of the structural surface trace is obtained by obtaining the coordinates of all points on a single crack, calculating the distance between any two coordinates using a distance formula, comparing the distance values L, and the largest of all distance values L is considered to be the length of the crack.
[0014] As a further implementation method, the inclination information of the structural surface is obtained based on the length value of the crack trace and the coordinates of its two end points, and the inverse tangent formula is used to calculate the angle between the line connecting the two coordinates and the horizontal left direction to obtain the inclination information of each crack.
[0015] An intelligent extraction system for surrounding rock structure surface, comprising:
[0016] The surrounding rock image database module is configured to obtain the tunnel face image and perform preprocessing;
[0017] The structural surface recognition and parameter extraction module is configured to process the pre-processed tunnel face image using the trained network model, recognize the structural surface information in the image, and perform statistics on the structural surface information to obtain structural surface parameters;
[0018] The deep learning network module is configured to build and train the CBAM-Unet network model. Based on the Unet network model, a spatial attention module is added during the pooling and skip connection process.
[0019] As an optional implementation, the structural surface recognition and parameter extraction module includes:
[0020] The structural surface recognition module is configured to train the established CBAM-Unet network model. When the total loss and recognition accuracy of the training reach the specified values, the model training is completed and the structural surface information in the preprocessed tunnel face image is recognized;
[0021] The structural surface parameter extraction module is configured to use image processing technology to perform statistics on the parameters of the structural surface for the identified face image, calculate the distance between any two coordinates by using the distance formula, compare the distance values L, and consider the largest of all distance values L to be the length of the crack. The inverse tangent formula is used to calculate the angle between the line connecting the two coordinates and the horizontal left direction to obtain the inclination information of each crack.
[0022] An electronic device comprises a memory and a processor, and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps in the above method are completed.
[0023] The beneficial effects of the present invention are:
[0024] Compared with the traditional surrounding rock structure surface identification and acquisition method which relies heavily on on-site staff, the present invention collects surrounding rock image data through deep learning and image processing methods, and quickly obtains the surrounding rock structure surface information, which does not take up tunnel construction time and does not require work stoppage, thereby improving tunnel construction efficiency.
[0025] The present invention improves the traditional Unet deep learning method and adds a spatial attention module, which can obtain deeper and higher-dimensional image features in the image.
[0026] The present invention uses an image processing method to quickly extract required structural surface parameter information, including length and inclination information, according to the identified structural surface traces, and the identification result is more accurate and faster.
[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A system schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0030] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0031] Embodiment 1
[0032] A method for intelligently extracting surrounding rock structural surfaces comprises the following steps:
[0033] Step 1: Obtain the tunnel face image and perform preprocessing;
[0034] The preprocessing process includes data enhancement processing such as brightening, geometric transformation and adding random noise to the acquired face image, and expanding the number of database images. Among them, brightness processing includes image brightening, image darkening and image blurring operations, geometric transformation processing includes horizontal flipping, vertical flipping, 30° flipping, 45° flipping, 60° flipping and 75° flipping, and random noise processing includes adding salt and pepper noise and Gaussian noise to the image.
[0035] Step 2: Use the trained network model to process the preprocessed tunnel face image, identify the structural surface information in the image, and perform statistics on the structural surface information to obtain structural surface parameters;
[0036] The trained network model is a trained CBAM-Unet network model, and the construction process of the CBAM-Unet network model includes adding a spatial attention module in the pooling and jump connection process based on the Unet network model.
[0037] In this embodiment, when the network model is trained and the total loss and recognition accuracy of the training reach the specified values, the model training is considered to be completed.
[0038] The structural surface parameters include the length and inclination information of the structural surface trace.
[0039] The length of the structural surface trace is obtained by obtaining the coordinates of all points on a single crack, calculating the distance between any two coordinates using the distance formula, comparing the distance values L, and the largest of all distance values L is considered to be the length of the crack.
[0040] The inclination information of the structural surface is obtained based on the length of the crack trace and the coordinates of its two end points. The inverse tangent formula is used to calculate the angle between the line connecting the two coordinates and the horizontal left direction to obtain the inclination information of each crack.
[0041] This embodiment solves the problem that traditional rock structure detection is time-consuming and labor-intensive, takes up construction time, relies heavily on manpower, and personnel safety is difficult to ensure. In the identification and acquisition of the exposed surrounding rock structure surface during excavation, deep learning and image processing methods are used to identify the surrounding rock image. Compared with previous studies, it is closer to the actual needs of the project, the identification results are more accurate, and the acquired parameters are more in line with reality.
[0042] Embodiment 2
[0043] An intelligent extraction system of surrounding rock structure surface based on improved Unet network, such as Figure 1 As shown, including:
[0044] The deep learning network module improves the traditional Unet network model, adds channel and spatial attention modules (CBAM modules), and builds the CBAM-Unet network model, which effectively improves the recognition accuracy of the model for rock mass images;
[0045] The surrounding rock image database module collects tunnel face images on site, performs brightness processing, geometric transformation, and adds random noise to enhance the data, thereby increasing the number of images in the image database and ensuring that the deep learning network model training will not suffer from overfitting.
[0046] The structural surface recognition module trains the established CBAM-Unet network model. When the total loss and recognition accuracy of the training reach the specified value, the model training is considered complete. The tunnel face image collected on site is imported into the trained model, which can automatically recognize the structural surface information in the image.
[0047] The structural surface parameter extraction module uses image processing technology to perform statistics on the parameters of the structural surface for the identified tunnel face image and obtain relevant parameters.
[0048] In this embodiment, the deep learning network module includes an improvement on the traditional Unet network model. By adding a CBAM module in the pooling and jump connection process of the Unet network structure, deeper and more dimensional features in the image can be extracted.
[0049] The surrounding rock image database module includes data enhancement processing such as brightening, geometric transformation and adding random noise to the tunnel face images collected on site to expand the number of database images.
[0050] The image acquisition work of this embodiment requires that the image acquisition be performed after the blasting and before the arch frame is erected, so as to ensure that the site has been ventilated and the dust concentration on site is well controlled.
[0051] The data enhancement processing of the surrounding rock image database module includes brightness processing of the collected images, including image brightening, image darkening and image blurring operations; geometric transformation processing includes horizontal flipping, vertical flipping, 30° flipping, 45° flipping, 60° flipping and 75° flipping; random noise processing includes adding salt and pepper noise and Gaussian noise to the image.
[0052] The structural surface recognition module of this embodiment includes model training for the CBAM-Unet network model. When the model loss of the model training is lower than 0.05 and the average intersection-over-union ratio index of the model recognition is higher than 95%, the model training is considered to be completed.
[0053] The structural surface parameter extraction module of this embodiment obtains the length and inclination information of the structural surface trace through image processing technology. The process of obtaining the structural surface length is to obtain the coordinates of all points on a single crack, calculate the distance between any two coordinates by using the distance formula, compare the distance values L, and the largest of all distance values L is considered to be the length of the crack.
[0054] The process of obtaining the structural surface inclination angle in this embodiment is to obtain the length value of the crack trace and the coordinates of its two end points through the previous step, and calculate the angle between the line connecting the two coordinates and the horizontal left direction through the inverse tangent formula to obtain the inclination angle information of each crack.
[0055] In summary, according to the requirements for surrounding rock structure surface acquisition in actual projects, this embodiment combines deep learning and image processing technology, improves the traditional Unet network, adds channels and spatial attention modules in the Unet network structure pooling process and jump connection process, and establishes a CBAM-Unet network model. Subsequently, image data is collected after tunnel blasting and slag removal and before arch erection. The image processing technology is combined to establish an intelligent extraction system for surrounding rock structure surfaces. First, the deep learning network module improves the traditional Unet network model, adds channels and spatial attention modules (CBAM modules), and constructs a CBAM-Unet network model. By collecting tunnel face images on site, performing brightness processing, geometric transformation and adding random noise to enhance the data, the number of images in the image database is increased to ensure that the deep learning network model training will not be overfitting. The structural surface recognition module trains the established CBAM-Unet network model. When the total training loss and recognition accuracy reach the specified value, the model training is considered complete. The tunnel face images collected on site are imported into the trained model, which can automatically identify the structural surface information in the image. The structural surface parameter extraction module uses image processing technology to count the parameters of the structural surface for the identified tunnel face images and obtain relevant parameters.
[0056] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for intelligent extraction of surrounding rock structure surface, characterized in that: The following steps are involved: Acquire the tunnel face image and perform preprocessing; The trained network model is used to process the preprocessed tunnel face image, identify the structural surface information in the image, and perform statistics on the structural surface information to obtain the structural surface parameters; The trained network model is a trained CBAM-Unet network model, and the construction process of the CBAM-Unet network model includes adding a spatial attention module in the pooling and jump connection process based on the Unet network model.
2. The method for intelligently extracting surrounding rock structure surfaces according to claim 1, characterized in that: The preprocessing process includes brightening processing of the acquired tunnel face image, geometric transformation and data enhancement processing of adding random noise to expand the number of database images.
3. The method for intelligently extracting surrounding rock structure surfaces according to claim 2, characterized in that: The preprocessing process specifically includes brightness processing including image brightening, image darkening and image blurring operations, geometric transformation processing including horizontal flipping, vertical flipping, 30° flipping, 45° flipping, 60° flipping and 75° flipping, and random noise processing including adding salt and pepper noise and Gaussian noise to the image.
4. The method for intelligently extracting surrounding rock structure surfaces according to claim 1, characterized in that: The network model is considered to be trained when the total loss and recognition accuracy of the training reach the specified values.
5. The method for intelligently extracting surrounding rock structure surfaces according to claim 1, characterized in that: The structural surface parameters include the length and inclination information of the structural surface trace.
6. A method for intelligently extracting surrounding rock structure surfaces as claimed in claim 5, characterized in that: The length of the structural surface trace is obtained by obtaining the coordinates of all points on a single crack, calculating the distance between any two coordinates using the distance formula, comparing the distance values L, and the largest of all distance values L is considered to be the length of the crack.
7. The method for intelligently extracting surrounding rock structure surfaces according to claim 5, characterized in that: The inclination information of the structural surface is obtained based on the length of the crack trace and the coordinates of its two end points. The inverse tangent formula is used to calculate the angle between the line connecting the two coordinates and the horizontal left direction to obtain the inclination information of each crack.
8. An intelligent extraction system for surrounding rock structure surface, characterized in that: include: The surrounding rock image database module is configured to obtain the tunnel face image and perform preprocessing; The structural surface recognition and parameter extraction module is configured to process the pre-processed tunnel face image using the trained network model, recognize the structural surface information in the image, and perform statistics on the structural surface information to obtain structural surface parameters; The deep learning network module is configured to build and train the CBAM-Unet network model. Based on the Unet network model, a spatial attention module is added during the pooling and skip connection process.
9. The intelligent extraction system for surrounding rock structure surface according to claim 8, characterized in that: Structural surface recognition and parameter extraction module, including: The structural surface recognition module is configured to train the established CBAM-Unet network model. When the total loss and recognition accuracy of the training reach the specified values, the model training is completed and the structural surface information in the preprocessed tunnel face image is recognized; The structural surface parameter extraction module is configured to use image processing technology to perform statistics on the parameters of the structural surface for the identified face image, calculate the distance between any two coordinates by using the distance formula, compare the distance values L, and consider the largest of all distance values L to be the length of the crack. The inverse tangent formula is used to calculate the angle between the line connecting the two coordinates and the horizontal left direction to obtain the inclination information of each crack.
10. An electronic device, characterized in that: The method comprises a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the steps in the method according to any one of claims 1 to 8 are completed.
Citation Information
Patent Citations
Road extraction method and system based on attention mechanism and expansion convolution
CN113569724A
Rock mass structural surface automatic identification method and system based on tunnel face image
CN116434004A
Water gauge-free water level identification method and device
CN117437519A
Tunnel seismic data reconstruction method integrated with mixed attention Unet neural network
CN117826243A
Rock structural plane trace prediction method of trace segmentation network based on edge information
CN117952950A
