Method and system for predicting tunnel face crack image and front three-dimensional structural parameters
By obtaining images of the excavated tunnel face and using the neural network model to identify and predict cracks, combined with polygon fitting and coplanarity testing algorithms, the problem of crack prediction in the tunnel rock body is solved, and the cracks in the tunnel face are realized. Full coverage extraction and accurate prediction.
Patent Information
- Application Number
- CN202211121434.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-09-15
AI Technical Summary
The existing technology is difficult to effectively predict the crack information in front of the unexcavated tunnel face in the tunnel rock body, and it is impossible to fully cover the extraction of tunnel face cracks and predict using deep learning.
By acquiring images of the excavated tunnel face, using semantic segmentation models and neural network models (such as SA-RNN and WD-ARIMA-LSTM) to identify and predict cracks, combined with irregular polygon fitting and coplanarity testing algorithms, we can achieve Two-dimensional and three-dimensional parameter prediction of cracks.
It achieves accurate prediction of the crack distribution map and three-dimensional parameters of the tunnel face, reduces the influence of subjective judgment, and improves the accuracy and coverage of prediction.
Smart Images

Figure CN115546113B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rock mass structure prediction near the front of a tunnel, and in particular to a method and system for predicting a tunnel face crack image and front three-dimensional structural parameters. Background Art
[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.
[0003] After a long period of geological action, many structural surfaces such as cracks, joints, and bedding have developed inside the natural rock mass. In underground engineering construction, these structural surfaces affect the mechanical properties and permeability of the engineering rock mass, which in turn affects the engineering construction. More seriously, it can cause tunnel rock mass instability, collapse, water and mud inrush, and other disasters. Therefore, it is of great significance to obtain the crack parameters of the engineering rock mass and predict the cracks of the unexcavated engineering ahead for engineering construction.
[0004] At present, scholars have used many methods to try to establish the specific impact of discontinuities on tunnel face excavation, such as discontinuity analysis and discrete element method. However, the three-dimensional properties of discontinuities are uncertain, and the measurement methods are also limited. It is difficult to analyze and predict the characteristic parameters and positions of discontinuities hidden inside the rock mass. In order to obtain and predict the crack information in front of the unexcavated face, scholars have developed and studied drilling, radar, drilling, exploration and other methods to directly detect the front of the face, but these methods are costly, inefficient and have limited measurement resolution. Therefore, in recent years, many scholars have begun to use indirect methods to measure and predict unknown cracks, mainly by mapping and analyzing the rock outcrop information to represent the entire rock mass, integrating computer vision technology, extracting and predicting the three-dimensional parameters of the discontinuity trace length, dip, and inclination.
[0005] However, the inventors found that the solutions of the prior art are still subject to several limitations:
[0006] (1) The crack statistics of the tunnel face directly affect the assessment quality of the cracks ahead; (2) It is not possible to characterize the cracks inside the rock mass based on the rock surface properties; (3) The excavation of the tunnel face forms multi-directional and multi-type cracks such as those perpendicular to the tunnel face and parallel to the tunnel face, and it is not possible to achieve full coverage extraction of the tunnel face cracks; (4) It is not possible to use deep learning knowledge to predict the crack map ahead of the tunnel face and the rock mass structure parameters. Summary of the invention
[0007] In order to address the deficiencies in the prior art, the present invention provides a method and system for predicting the image of a tunnel face crack and the three-dimensional structural parameters in front. According to the image of the excavated tunnel face, the two-dimensional and three-dimensional parameter prediction of the cracks near the front of the tunnel face is realized, which can provide effective guidance for engineering construction and has the advantages of strong practicality and high comprehensiveness.
[0008] In order to achieve the above object, the present invention adopts the following technical solution:
[0009] A first aspect of the present invention provides a method for predicting tunnel face crack images and forward three-dimensional structural parameters.
[0010] A method for predicting tunnel face crack images and front three-dimensional structural parameters includes the following steps:
[0011] Acquire images of the excavated tunnel face;
[0012] According to the acquired corresponding excavated tunnel face image and the semantic segmentation model, a crack recognition image is obtained, and the crack recognition image is replaced with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image;
[0013] According to the fused image and the first prediction model, the prediction result of the crack distribution map of the front tunnel face is obtained;
[0014] The rock mass is reconstructed in three dimensions according to the fused images. The fractures are divided into two types, namely, those exposed in trace form and those exposed in surface form. The fractures exposed in trace form are fitted by irregular polygon fitting algorithm, and the fractures exposed in surface form are extracted by coplanarity test algorithm to obtain discontinuity parameters.
[0015] According to the discontinuity parameters and the second prediction model, the three-dimensional parameter prediction results of the front rock mass fracture are obtained.
[0016] As an optional implementation, after acquiring the excavated tunnel face image, an image preprocessing process is also included, and the image preprocessing at least includes: image segmentation, image rotation and image annotation; and crack identification is performed based on the preprocessed image.
[0017] As an optional implementation method, the first prediction model is a SA-RNN neural network model, which includes multiple SA-LSTM units. In the SA-LSTM units, the storage mode of ConvLSTM is a dual-state information flow mode, including time information flow and space information flow, which converts the value of the sequence in the time information flow into each other.
[0018] Furthermore, in the SA-RNN neural network model, each convolutional layer is connected to the input layer of the last convolutional layer.
[0019] As an optional implementation, the second prediction model is a WD-ARIMA-LSTM neural network model. In the WD-ARIMA-LSTM neural network model:
[0020] Wavelet denoising is used to preprocess the fused images to obtain a spatiotemporal series data set. The ARIMA model is combined with the LSTM model. The correlation of the three-dimensional parameter data sequence of the crack is used to predict the parameters through the ARIMA model, and the error is corrected through the LSTM model to obtain the final prediction value.
[0021] As an optional implementation method, the cracks exposed in the trace morphology are fitted using an irregular polygon fitting algorithm, including:
[0022] The crack direction exposed in the trace morphology is obtained according to the intercepts of the crack fitting surface on the x and y coordinate axes;
[0023] The crack tendency revealed by the trace morphology is obtained according to the intercepts of the crack fitting surface on the x, y and z coordinate axes;
[0024] According to the intercepts of the fracture fitting surface on the x, y and z coordinate axes and the fracture direction exposed in the trace morphology, the fracture inclination angle exposed in the trace morphology is obtained;
[0025] The trace length is obtained by accumulating the crack pixel points, and the number of cracks per unit space is the crack density.
[0026] As an optional implementation method, the cracks exposed in the planar morphology are extracted using a coplanarity inspection algorithm, including:
[0027] The exposed planar cracks are used to extract the discontinuities parallel to the tunnel face, and the trace length is the distance between the farthest two points in the plane.
[0028] A second aspect of the present invention provides a system for predicting tunnel face crack images and forward three-dimensional structural parameters.
[0029] A tunnel face crack image and front three-dimensional structural parameter prediction system, comprising:
[0030] The data acquisition module is configured to: acquire an image of the excavated tunnel face;
[0031] The crack recognition module is configured to: obtain a crack recognition image according to the acquired corresponding excavated tunnel face image and the semantic segmentation model, and replace the crack recognition image with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image;
[0032] The crack image prediction module is configured to: obtain a prediction result of a crack distribution map of the front tunnel face according to the fused image and the first prediction model;
[0033] The three-dimensional crack extraction module is configured to: perform three-dimensional reconstruction of the rock mass according to the fused image, and divide the cracks into those exposed in the form of traces and those exposed in the form of surfaces by using the three-dimensional reconstruction of the rock mass, and fit the cracks exposed in the form of traces by using an irregular polygon fitting algorithm, and extract the cracks exposed in the form of surfaces by using a coplanarity test algorithm to obtain discontinuity parameters;
[0034] The three-dimensional structure prediction module is configured to obtain the three-dimensional parameter prediction result of the front rock mass fracture according to the discontinuity parameter and the second prediction model.
[0035] A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the method for predicting the tunnel face fracture image and the front three-dimensional structure parameters as described in the first aspect of the present invention.
[0036] A fourth aspect of the present invention provides an electronic device, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for predicting the fracture image of a face and the three-dimensional structure parameters ahead as described in the first aspect of the present invention are implemented.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] 1. The method and system for predicting the face crack image and the front three-dimensional structural parameters described in the present invention can predict the front face crack distribution map and the acquired three-dimensional crack parameters (trace length, strike, density, etc.), thus realizing automatic and intelligent analysis and prediction of the front rock mass structure.
[0039] 2. The method and system for predicting the tunnel face crack image and the front three-dimensional structural parameters described in the present invention divides the cracks into linear cracks and planar discontinuities based on the acquired tunnel face crack image, thereby achieving full coverage prediction of the tunnel face cracks, and adopting different parameter extraction methods according to different crack classifications, so as to more reasonably and accurately extract the three-dimensional crack parameters of the tunnel face.
[0040] 3. The method and system for predicting the face crack image and the three-dimensional structural parameters ahead described in the present invention respectively propose LSTM-RNN and WD-ARIMA-LSTM comprehensive models, which realize the prediction of the tunnel face crack image and three-dimensional parameters. Taking into account the characteristics such as the discontinuity of the tunnel rock structure, the time series model is combined with the long short-term memory model to comprehensively predict the rock structure parameters ahead, reducing the influence of subjective judgment on the prediction.
[0041] 4. The method and system for predicting the face crack image and the front three-dimensional structural parameters described in the present invention establish a rock crack random model that fits the actual situation based on the excavated face, verify the feasibility of the method, and introduce four parameters, MSE, SSIM, ORF and EP, to evaluate the model performance, thus solving the problem that the accuracy of rock structure prediction is difficult to test and evaluate.
[0042] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0044] Figure 1 A schematic flow chart of a method for predicting tunnel face crack images and front three-dimensional structural parameters provided in an embodiment of the present invention.
[0045] Figure 2 A schematic diagram of the fusion of crack identification results provided in an embodiment of the present invention.
[0046] Figure 3 A schematic diagram of a predicted near-front tunnel face crack diagram provided by an embodiment of the present invention;
[0047] Figure 4 Schematic diagram of three-dimensional reconstruction of a tunnel face provided by an embodiment of the present invention (a is sparse reconstruction, b is dense reconstruction);
[0048] Figure 5 A schematic diagram of partial trace cracks and surface cracks on a tunnel face provided by an embodiment of the present invention;
[0049] Figure 6 An illustration of a planar crack coplanarity detection algorithm provided by an embodiment of the present invention;
[0050] Figure 7 A schematic diagram of the LSTM-RNN network structure provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0052] It should be noted that the following detailed descriptions are exemplary and are 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.
[0053] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0054] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0055] Embodiment 1:
[0056] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for predicting parameters of a tunnel face crack image and a front three-dimensional structure, including the following process:
[0057] Acquire images of the excavated tunnel face;
[0058] According to the acquired corresponding excavated tunnel face image and the semantic segmentation model, a crack recognition image is obtained, and the crack recognition image is replaced with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image;
[0059] According to the fused image and the first prediction model, the prediction result of the crack distribution map of the front tunnel face is obtained;
[0060] The rock mass is reconstructed in three dimensions according to the fused images. The fractures are divided into those exposed in trace form and those exposed in surface form by using the three-dimensional reconstruction of the rock mass. The fractures exposed in trace form are fitted by using the irregular polygon fitting algorithm, and the fractures exposed in surface form are extracted by using the coplanarity test algorithm to obtain the discontinuity parameters.
[0061] According to the discontinuity parameters and the second prediction model, the prediction results of the three-dimensional parameters of the front rock mass fracture are more specific, including:
[0062] The result diagram of intelligent crack identification is as follows: Figure 2 As shown, the crack pixel points identified in the result image are replaced with the corresponding crack pixel points in the original image to achieve the fusion of the crack intelligent identification result image and the original image, and obtain the rock crack identification fusion image.
[0063] The fusion image of rock crack identification is successively subjected to feature point extraction, feature point matching, matching optimization, triangulation, pose estimation, and BA optimization to achieve sparse modeling. The modeling effect is as follows: Figure 4 As shown in (a) in , after sparse modeling, the depth map is estimated and optimized to obtain dense modeling, as shown in Figure 4 As shown in (b) in .
[0064] After the crack intelligent identification result image is fused with the original image, the face crack image will carry the RGB values of crack identification. The crack points can be distinguished from the "background" based on the RGB values to obtain the coordinates of the crack points.
[0065] Furthermore, according to the crack exposure state, the cracks on the tunnel face are divided into two types: cracks exposed in the form of traces and cracks exposed in the form of surfaces, such as Figure 5 As shown in the figure, the full coverage fracture extraction of the tunnel face is realized, and the fractures exposed in the form of traces are fitted by the irregular polygon fitting algorithm, as shown in Figure 6 shown.
[0066] The irregular polygon fitting algorithm is as follows: Assume that the normal point subset of the crack point is M i , the discrete point subset is M0, then the crack fitting surface can be defined as Tend to Among them, a, b, and c are the intercepts of the plane on the three coordinate axes of x, y, and z, respectively. The distance from each point in the data set to the fracture surface is defined as the Euclidean distance through the intercept parameter:
[0067]
[0068] Among them, x i Represents any crack point. Crack detection can be simplified to an optimization problem of parameter selection, which can be expressed as Where is the target fracture surface, because the random samples of each fracture surface candidate generated by regression cannot be directly used by M i Verification; therefore, this embodiment provides a specific parameter for verification:
[0069] Assuming the support is s and the distance threshold is τ, the parameter can be expressed as:
[0070]
[0071]
[0072] If the support exceeds the predefined threshold within the maximum iteration step, the iteration termination criterion is met and the crack candidate is determined to be the optimal solution; after each detection, the points of the fitting plane in the corresponding data set are deleted, and then iterated to find the next optimal crack until the entire point data set is small enough; assuming that q is the probability of accurately estimating the crack parameters through the data set, then the probability of selecting a sample with at least one outlier is 1-q; therefore, the minimum number of iterations to obtain an accurate fracture surface satisfies the relationship:
[0073] in
[0074] As shown above, the direction of the crack can be determined by the three intercepts on the axes, such as Figure 6 As shown, λ1, λ2 and λ3 represent the strike, dip and inclination respectively:
[0075]
[0076]
[0077]
[0078] The trace length l can be obtained by calculating the accumulation of crack pixel points, and its true length is gradually approached by using the differential accumulation method. The crack density is expressed by the number of cracks per unit space. Through the above calculation, the extraction of three-dimensional parameters such as trace length, strike, dip, inclination and density of the exposed cracks of the trace can be realized.
[0079] For cracks exposed in planar form, multiple small crack surfaces may coexist on one discontinuity surface. Therefore, the exposed planar cracks can be used to extract the discontinuity surface parallel to the tunnel face, such as Figure 6 As shown, OXYZ is the original coordinate, O′X′Y′Z′ is the transformed coordinate, and the transformation matrix is as follows:
[0080]
[0081] Planes abc are three clustered fracture surfaces, O′X′ direction is the strike direction, O′Y′ direction is the dip direction, O′Z′ is orthogonal to plane O′X′Y′ and has the same direction as the normal vector of the plane. The strike and dip can be obtained by multiplying the original coordinates by the R product to complete the coordinate transformation. The trace length is the distance between the farthest two points in the plane (the largest plane obtained by fitting), and the farthest distance can be obtained by iterative calculation between points as the trace length of the discontinuity surface:
[0082] length-dip(i,j)=max(x′ ij )-min(x′ ij );
[0083] length-strike(i,j)=max(y′ ij )-min(y′ ij );
[0084] In this embodiment, i is the discontinuous set number, j is the clustering plane number in the discontinuous set, dip is the dip angle, and strike is the strike. According to the fracture recognition fusion image, a fracture map sequence is generated, and the fracture distribution map is predicted using the SA-RNN improved network. The model is a new network architecture. An RNN is composed of four stacked ConvLSTM units. Because the fracture map sequence of the face is irregular and has strong uncertainty, in order to more effectively predict the fracture map sequence, two improvements are made to the SA-LSTM unit:
[0085] First, the single-state storage mode of ConvLSTM is converted into a dual-state information (including time and space) flow mode;
[0086] Secondly, the inter-valued sequences in the time information flow do not affect the convergence of the neural network.
[0087] The network structure is as follows Figure 7 As shown in the figure, it is divided into four parts. The right side is the SA-RNN network structure. SA-LSTM has different convolution kernels. Multiple SA-LSTM units form SA-RNN, which is equivalent to the convolution layer for extracting features. This method can better learn the spatial features of the crack graph sequence by increasing the distance between the input and output. Each convolution layer is connected to the input layer of the last convolution layer. At the end of the fourth layer, a 1×1 convolution layer is used to reduce the dimension of the information. Figure 3 As shown in the figure, based on 16 similar excavated tunnel faces (a tunnel face image is obtained every 2 meters), tunnel face crack images are obtained, and a tunnel face crack image sequence is established. The SA-RNN neural network model is input to output the crack distribution map of the next 4 tunnel faces to be excavated.
[0088] The three-dimensional parameters such as trace length, strike inclination, dip angle, density of cracks exposed in trace form and the three-dimensional parameters such as dip angle, density of cracks exposed in surface form are trained and learned, and the corresponding parameters in front are predicted.
[0089] A sequence data set is established for each three-dimensional parameter, and the sequence data set is input into the WD-ARIMA-LSTM hybrid model to realize the prediction of structural parameters: first, wavelet denoising (WD) is used for preprocessing, and then the processed sequence is predicted. The ARIMA model is combined with the LSTM model, and the correlation of the fracture three-dimensional parameter data sequence is used to extract the linear information prediction effect evaluation module through the ARIMA model, and the error correction is performed through the LSTM model to obtain the final prediction value.
[0090] In order to reduce the impact of noise, wavelet threshold denoising is used to remove the noise, including:
[0091] (1) According to the characteristics of the wavelet basis of the three-dimensional parameter sequence of the crack, a suitable wavelet basis function is selected, the decomposition level is decomposed, and wavelet signals of different frequency bands are obtained;
[0092] (2) According to the sequence data signal, select the appropriate threshold and threshold function to retain useful information and remove the noise component;
[0093] (3) Perform inverse transformation and reconstruction to achieve the purpose of signal denoising.
[0094] The denoised spatiotemporal series data set uses the ARIMA model to perform parameter prediction, which includes the following steps:
[0095] (1) First, determine the stationarity of the crack sequence data set. If the waveform of the time series fluctuates around a certain value, then use the ADF graph to check whether there is a unit root to further verify the stationarity.
[0096] (2) If the data set is not stationary, it needs to be processed by differential stabilization and then subjected to white noise test;
[0097] (3) By analyzing the tailing and truncation of the autocorrelation graph and partial autocorrelation graph, determine which time series model to use (including AR model, MA model, ARMA model, ARIMA model);
[0098] (4) Determine the values of model parameters such as p and q according to the information criterion;
[0099] (5) Perform parameter estimation and evaluate the rationality of the model, including testing of parameters and residual sequences;
[0100] (6) Predictions are made based on the tested model to estimate the future value of the crack sequence near the front of the face. After ARIMA outputs the predicted value, LSTM is used for training and learning. LSTM captures certain rules or features in the sequence and effectively solves the problem of gradient instability.
[0101] The prediction effect evaluation module uses parameters to evaluate the fracture image prediction module and the rock structure prediction system. First, four parameters, MSE, SSIM, ORF, and EP, are proposed to evaluate the fracture prediction map output by the fracture image prediction module. The three-dimensional structure prediction module directly uses the average value of the ratio between the predicted value and the true value to measure the accuracy. The calculation formulas for each parameter are as follows:
[0102]
[0103]
[0104]
[0105]
[0106] Among them, P is the predicted image, G is the real crack trajectory, mn is the image size, μ_p and μ_g are the average values of P and G pixels, σ_p and σ_g are the variances of P and G pixels, c_1 and c_1 are two constants related to the pixel values, n is the vertical direction of the crack surface, and κ is the number of related cracks in the adjacent tunnel faces.
[0107] Embodiment 2:
[0108] Embodiment 2 of the present invention provides a system for predicting tunnel face crack images and forward three-dimensional structural parameters, including:
[0109] The data acquisition module is configured to: acquire an image of the excavated tunnel face;
[0110] The crack recognition module is configured to: obtain a crack recognition image according to the acquired corresponding excavated tunnel face image and the semantic segmentation model, and replace the crack recognition image with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image;
[0111] The crack image prediction module is configured to: obtain a prediction result of a crack distribution map of the front tunnel face according to the fused image and the first prediction model;
[0112] The three-dimensional crack extraction module is configured to: perform three-dimensional reconstruction of the rock mass according to the fused image, and divide the cracks into those exposed in the form of traces and those exposed in the form of surfaces by using the three-dimensional reconstruction of the rock mass, and fit the cracks exposed in the form of traces by using an irregular polygon fitting algorithm, and extract the cracks exposed in the form of surfaces by using a coplanarity test algorithm to obtain discontinuity parameters;
[0113] The three-dimensional structure prediction module is configured to obtain the three-dimensional parameter prediction result of the front rock mass fracture according to the discontinuity parameter and the second prediction model.
[0114] Specifically, in this embodiment:
[0115] Image data acquisition includes three parts: tunnel face image acquisition, image preprocessing and data set establishment. Use a camera or mobile phone to take global photos of the tunnel face and local crack photos. The global photos should be multi-angle tunnel face crack pictures, no less than 10 photos (to provide sufficient data source for subsequent three-dimensional reconstruction of the tunnel face).
[0116] The local crack image should be a close-up image of a wide crack on the face (fine cracks have little impact on the project and are not considered in this method). The captured face image needs to be preprocessed, including image cropping, rotation, symmetry, etc., to expand the data set. In order to better train the semantic segmentation model in the crack recognition module, the expanded data set is annotated using annotation tools to establish a face crack data set.
[0117] The crack recognition module includes two parts: crack recognition and pixel matrix replacement. The crack image data set established by the image data acquisition system is input into the semantic segmentation model for training in the ratio of training set: test set = 9:1, and the crack intelligent recognition result map is output, such as Figure 2 As shown, the crack pixel points identified in the result image are replaced with the corresponding crack pixel points in the original image to achieve the fusion of the crack intelligent identification result image and the original image, and finally the rock crack identification fusion image is input.
[0118] The rock mass crack identification fusion image is input into the 3D crack extraction module. The image is sequentially subjected to feature point extraction, feature point matching, matching optimization, triangulation, pose estimation, BA optimization, etc. to achieve sparse modeling. The modeling effect is as follows Figure 4 As shown in (a) in , after sparse modeling, the depth map is estimated and optimized to obtain dense modeling, as shown in Figure 4 As shown in (b) in the figure, after the crack intelligent identification result image is fused with the original image, the face crack image will have the RGB value of crack identification. The crack point can be distinguished from the "background" according to the RGB value to obtain the coordinates of the crack point.
[0119] Furthermore, according to the crack exposure state, the cracks on the tunnel face are divided into two types: cracks exposed in the form of traces and cracks exposed in the form of surfaces, so as to achieve full coverage crack extraction of the tunnel face. The cracks exposed in the form of traces are fitted by an irregular polygon fitting algorithm, such as Figure 6 shown.
[0120] The irregular polygon fitting algorithm is as follows: Assume that the normal point subset of the crack point is M i , the discrete point subset is M0, then the crack fitting surface can be defined as Tend to Among them, a, b, and c are the intercepts of the plane on the three coordinate axes respectively. The distance from each point in the data set to the fracture surface is defined as the Euclidean distance through the intercept parameter:
[0121]
[0122] Among them, x i Represents any crack point. Crack detection can be simplified to an optimization problem of parameter selection, which can be expressed as Where is the target fracture surface, because the random samples of each fracture surface candidate generated by regression cannot be directly used by M i Verification. Therefore, this embodiment provides a specific parameter for verification. Assuming that the support is s and the distance threshold is τ, the parameter can be expressed as:
[0123]
[0124]
[0125] If the support exceeds the predefined threshold within the maximum iteration step, the iteration termination criterion is met and the crack candidate is determined to be the optimal solution; after each detection, the points of the fitting plane in the corresponding data set are deleted, and then iterated to find the next optimal crack until the entire point data set is small enough; assuming that q is the probability of accurately estimating the crack parameters through the data set, then the probability of selecting a sample with at least one outlier is 1-q; therefore, the minimum number of iterations to obtain an accurate fracture surface satisfies the relationship:
[0126] in
[0127] As shown above, the direction of the crack can be determined by the three intercepts on the axes, such as Figure 6 As shown, λ1, λ2 and λ3 represent the strike, dip and inclination respectively:
[0128]
[0129]
[0130]
[0131] The trace length l can be obtained by calculating the accumulation of crack pixel points, and its true length is gradually approached by using the differential accumulation method. The crack density is expressed by the number of cracks per unit space. Through the above calculation, the extraction of three-dimensional parameters such as trace length, strike, dip, inclination, density, etc. of the exposed cracks in the trace can be achieved.
[0132] For cracks exposed in planar form, multiple small crack surfaces may coexist on one discontinuity surface. Therefore, the exposed planar cracks can be used to extract the discontinuity surface parallel to the tunnel face, such as Figure 7 As shown, OXYZ is the original coordinate, O′X′Y′Z′ is the transformed coordinate, and the transformation matrix is as follows:
[0133]
[0134] Planes abc are three clustered fracture surfaces, O′X′ direction is the strike direction, O′Y′ direction is the dip direction, O′Z′ is orthogonal to plane O′X′Y′ and has the same direction as the normal vector of the plane. The strike and dip can be obtained by multiplying the original coordinates by the R product to complete the coordinate transformation. The trace length is the distance between the farthest two points in the plane (the largest plane obtained by fitting), and the farthest distance can be obtained by iterative calculation between points as the trace length of the discontinuity surface:
[0135] length-dip(i,j)=max(x′ ij )-min(x′ ij );
[0136] length-strike(i,j)=max(y′ ij )-min(y′ ij );
[0137] In this embodiment, i is the discontinuous set number, j is the clustering plane number in the discontinuous set, dip is the dip angle, and strike is the strike. According to the fracture recognition fusion image, a fracture map sequence is generated, and the fracture distribution map is predicted using the SA-RNN improved network. The model is a new network architecture. An RNN is composed of four stacked ConvLSTM units. Because the fracture map sequence of the face is irregular and has strong uncertainty, in order to more effectively predict the fracture map sequence, two improvements are made to the SA-LSTM unit:
[0138] First, the single-state storage mode of ConvLSTM is converted into a dual-state information (including time and space) flow mode;
[0139] Secondly, the inter-valued sequences in the time information flow do not affect the convergence of the neural network.
[0140] The network structure is as follows Figure 7 As shown in the figure, it is divided into four parts. The right side is the SA-RNN network structure. SA-LSTM has different convolution kernels. Multiple SA-LSTM units form SA-RNN, which is equivalent to the convolution layer for extracting features. This method can better learn the spatial features of the crack graph sequence by increasing the distance between the input and output. Each convolution layer is connected to the input layer of the last convolution layer. At the end of the fourth layer, a 1×1 convolution layer is used to reduce the dimension of the information. Figure 3 As shown in the figure, based on 16 similar excavated tunnel faces (a tunnel face image is obtained every 2 meters), tunnel face crack images are obtained, and a tunnel face crack image sequence is established. The SA-RNN neural network model is input to output the crack distribution map of the next 4 tunnel faces to be excavated.
[0141] The three-dimensional structure prediction module trains and learns the three-dimensional parameters such as trace length, strike inclination, dip angle, density, etc. of the cracks exposed in trace form output by the three-dimensional crack extraction module, as well as the three-dimensional parameters of dip angle, dip angle, density of the cracks exposed in surface form, and predicts the corresponding parameters in front.
[0142] Firstly, a sequence data set is established for each three-dimensional parameter, and the sequence data set is input into the WD-ARIMA-LSTM hybrid model to realize the prediction of structural parameters. Firstly, wavelet denoising (WD) is used for preprocessing, and then the processed sequence is predicted. The ARIMA model is combined with the LSTM model, and the correlation of the fracture three-dimensional parameter data sequence is used to extract the linear information prediction effect evaluation module through the ARIMA model, and the error correction is performed through the LSTM model to obtain the final prediction value.
[0143] In order to reduce the impact of noise, wavelet threshold denoising is used to remove the noise, including:
[0144] (1) According to the characteristics of the wavelet basis of the three-dimensional parameter sequence of the crack, a suitable wavelet basis function is selected, the decomposition level is decomposed, and wavelet signals of different frequency bands are obtained;
[0145] (2) According to the sequence data signal, select the appropriate threshold and threshold function to retain useful information and remove the noise component;
[0146] (3) Perform inverse transformation and reconstruction to achieve the purpose of signal denoising.
[0147] The denoised spatiotemporal series data set uses the ARIMA model to perform parameter prediction, which includes the following steps:
[0148] (1) First, determine the stationarity of the crack sequence data set. If the waveform of the time series fluctuates around a certain value, then use the ADF graph to check whether there is a unit root to further verify the stationarity.
[0149] (2) If the data set is not stationary, it needs to be processed by differential stabilization and then subjected to white noise test;
[0150] (3) By analyzing the tailing and truncation of the autocorrelation graph and partial autocorrelation graph, determine which time series model to use (including AR model, MA model, ARMA model, ARIMA model);
[0151] (4) Determine the values of model parameters such as p and q according to the information criterion;
[0152] (5) Perform parameter estimation and evaluate the rationality of the model, including testing of parameters and residual sequences;
[0153] (6) Predictions are made based on the tested model to estimate the future value of the crack sequence near the front of the face. After ARIMA outputs the predicted value, LSTM is used for training and learning. LSTM captures certain rules or features in the sequence and effectively solves the problem of gradient instability.
[0154] The prediction effect evaluation module uses parameters to evaluate the fracture image prediction module and the rock structure prediction system. First, four parameters, MSE, SSIM, ORF, and EP, are proposed to evaluate the fracture prediction map output by the fracture image prediction module. The three-dimensional structure prediction module directly uses the average value of the ratio between the predicted value and the true value to measure the accuracy:
[0155]
[0156]
[0157]
[0158] EP=|∑P(i,j)-∑G(i,j)| / mn
[0159] Among them, P is the predicted image, G is the real crack trajectory, mn is the image size, μ p and μ g is the average value of P and G pixels, σ p and σ g is the variance of P and G pixels, c1 and c2 are two constants related to the pixel values, n is the vertical direction of the fracture surface, and κ is the number of related fractures in the adjacent tunnel faces.
[0160] Embodiment 3:
[0161] Embodiment 3 of the present invention provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the steps in the method for predicting the tunnel face crack image and the front three-dimensional structure parameters as described in Embodiment 1 of the present invention are implemented.
[0162] Embodiment 4:
[0163] Embodiment 4 of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for predicting the fracture image of a face and the three-dimensional structure parameters ahead as described in Embodiment 1 of the present invention are implemented.
[0164] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0165] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0166] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0168] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0169] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for predicting tunnel face crack images and front three-dimensional structural parameters, characterized by: The process includes: Acquire images of the excavated tunnel face; According to the acquired corresponding excavated tunnel face image and the semantic segmentation model, a crack recognition image is obtained, and the crack recognition image is replaced with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image; According to the fused image and the first prediction model, the prediction result of the crack distribution map of the front face is obtained; the first prediction model is a SA-RNN neural network model, which includes multiple SA-LSTM units. In the SA-LSTM unit, the storage mode of ConvLSTM is a dual-state information flow mode, including time information flow and space information flow, and the sequence in the time information flow is mutually converted; The rock mass is reconstructed in three dimensions according to the fused images. The fractures are divided into two types, namely, those exposed in trace form and those exposed in surface form. The fractures exposed in trace form are fitted by irregular polygon fitting algorithm, and the fractures exposed in surface form are extracted by coplanarity test algorithm to obtain discontinuity parameters. According to the discontinuous parameters and the second prediction model, the three-dimensional parameter prediction results of the rock mass cracks in front are obtained; the second prediction model is the WD-ARIMA-LSTM neural network model. In the WD-ARIMA-LSTM neural network model: wavelet denoising is used to preprocess the fused image to obtain the spatiotemporal series data set, the ARIMA model is combined with the LSTM model, and the correlation of the three-dimensional parameter data sequence of the cracks is used to predict the parameters through the ARIMA model, and the error correction is performed through the LSTM model to obtain the final prediction value.
2. The method for predicting the tunnel face crack image and the front three-dimensional structure parameters according to claim 1, characterized in that: After the excavated tunnel face image is acquired, an image preprocessing process is also included, and the image preprocessing at least includes: image segmentation, image rotation and image annotation; and crack identification is performed based on the preprocessed image.
3. The method for predicting tunnel face crack images and front three-dimensional structural parameters according to claim 1, characterized in that: In the SA-RNN neural network model, each convolutional layer is connected to the input layer of the last convolutional layer.
4. The method for predicting tunnel face crack images and front three-dimensional structural parameters according to claim 1, characterized in that: The cracks exposed in the trace morphology are fitted using an irregular polygon fitting algorithm, including: The crack direction exposed in the trace morphology is obtained according to the intercepts of the crack fitting surface on the x and y coordinate axes; The crack tendency revealed by the trace morphology is obtained according to the intercepts of the crack fitting surface on the x, y and z coordinate axes; According to the intercepts of the fracture fitting surface on the x, y and z coordinate axes and the fracture direction exposed in the trace morphology, the fracture inclination angle exposed in the trace morphology is obtained; The trace length is obtained by accumulating the crack pixel points, and the number of cracks per unit space is the crack density.
5. The method for predicting tunnel face crack images and front three-dimensional structural parameters according to claim 1, characterized in that: The cracks exposed in the planar form are extracted using the coplanarity test algorithm, including: The exposed planar cracks are used to extract the discontinuities parallel to the tunnel face, and the trace length is the distance between the farthest two points in the plane.
6. A system for predicting tunnel face crack images and forward three-dimensional structural parameters, characterized by: The process includes: The data acquisition module is configured to: acquire an image of the excavated tunnel face; The crack recognition module is configured to: obtain a crack recognition image according to the acquired corresponding excavated tunnel face image and the semantic segmentation model, and replace the crack recognition image with the crack pixel matrix of the acquired corresponding excavated tunnel face image to obtain a fused image; The crack image prediction module is configured to: obtain a prediction result of the crack distribution map of the front face according to the fused image and the first prediction model; the first prediction model is a SA-RNN neural network model, the SA-RNN neural network model includes a plurality of SA-LSTM units, and in the SA-LSTM unit, the storage mode of ConvLSTM is a dual-state information flow mode, including a time information flow and a space information flow, and the sequence in the time information flow is mutually converted; The three-dimensional crack extraction module is configured to: perform three-dimensional reconstruction of the rock mass according to the fused image, and divide the cracks into two types: those exposed in the form of traces and those exposed in the form of surfaces by using the three-dimensional reconstruction of the rock mass, and fit the cracks exposed in the form of traces by using an irregular polygon fitting algorithm, and extract the cracks exposed in the form of surfaces by using a coplanarity test algorithm to obtain discontinuity parameters; The three-dimensional structure prediction module is configured as follows: according to the discontinuous parameters and the second prediction model, the three-dimensional parameter prediction results of the rock mass cracks in front are obtained; the second prediction model is the WD-ARIMA-LSTM neural network model, in which: wavelet denoising is used to preprocess the fused images to obtain a spatiotemporal sequence data set, the ARIMA model is combined with the LSTM model, the correlation of the three-dimensional parameter data sequence of the cracks is used, the parameters are predicted through the ARIMA model, and the error correction is performed through the LSTM model to obtain the final prediction value.
7. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method for predicting the tunnel face crack image and the front three-dimensional structure parameters as described in any one of claims 1 to 5 are implemented.
8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for predicting the tunnel face crack image and the front three-dimensional structure parameters as described in any one of claims 1 to 5 are implemented.
