Tunnel pipe internal point cloud segmentation leakage identification method and system based on deep learning
By using a deep learning-based point cloud segmentation method for tunnel pipes, a leakage point cloud segmentation network is constructed using the Pointnet backbone network and a humidity feature extraction network. This solves the problems of data sparsity and computational error in tunnel leakage identification and enables accurate identification of leakage locations inside tunnel pipes.
Patent Information
- Application Number
- CN202311485995.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-07
AI Technical Summary
Existing technologies for identifying water leakage in tunnels suffer from problems such as sparsity of point cloud data, overlapping mapping caused by occlusion, and calculation errors. Furthermore, they involve large computational loads and high memory consumption, and there are no effective solutions yet.
A deep learning-based point cloud segmentation method for tunnel pipes is adopted. By acquiring point cloud data with humidity attribute values, a leakage point cloud segmentation network model is constructed using the Pointnet backbone network, humidity feature extraction network, and fusion segmentation network to perform feature extraction and segmentation, thereby improving the accuracy of leakage identification.
It enables accurate identification of leakage locations inside tunnel pipes, improves the accuracy of the leakage point cloud segmentation network model, and can sensitively identify the leakage location in areas with high humidity.
Smart Images

Figure CN117495815B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transit tunnel technology, and in particular to a method and system for identifying leakage in tunnel pipes based on deep learning point cloud segmentation. Background Technology
[0002] Water leakage is a common problem in operating subway tunnels. Water leakage in operating tunnels not only causes cracks in the tunnel structure, widening of cracks, rusting of internal rails, and corrosion of internal structural finishes, but as the leakage worsens, it can even damage the tunnel structure, compromise its stability, and shorten the lifespan of auxiliary equipment. Tunnel water leakage is an important indicator for evaluating the safety level of tunnel lining and a crucial inspection item in tunnel maintenance and repair work.
[0003] Chinese patent CN116503312A discloses a method for detecting defects in the lining of shield tunnels based on ground-based LiDAR point clouds. The method includes the following steps: using ground-based LiDAR laser point clouds of the tunnel lining, preprocessing the point clouds to obtain a three-dimensional laser point cloud; projecting the three-dimensional laser point cloud to obtain a two-dimensional laser point cloud image, and then converting the two-dimensional laser point cloud image to grayscale to obtain a grayscale laser point cloud image; segmenting the grayscale laser point cloud image based on a locally prefitted energy-driven active contour fast model to detect and analyze tunnel lining defects. This method can accurately identify defects in shield tunnel linings. However, three-dimensional point clouds are characterized by sparsity, randomness, and unstructured nature. Converting the point cloud data to a two-dimensional image can lead to overlapping mappings and artifacts due to occlusion between points. Furthermore, converting the point cloud data to a two-dimensional image can cause problems such as projection calculation errors, high computational load, and high memory consumption.
[0004] There are currently no effective solutions to the problems in the relevant technologies. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention provides a method and system for identifying leakage in tunnel pipes based on point cloud segmentation using deep learning.
[0006] This invention employs the following technical solution: a deep learning-based method for identifying leakage through point cloud segmentation within tunnel pipes, the method comprising:
[0007] Obtain point cloud data with humidity attribute values inside the tunnel pipe;
[0008] The point cloud data is preprocessed, and the preprocessed point cloud data is labeled with leakage semantic information to establish a leakage point cloud dataset. The leakage point cloud dataset is divided into a training set and a test set.
[0009] A leakage point cloud segmentation network is constructed, and the training set is input into the leakage point cloud segmentation network for training to obtain a leakage point cloud segmentation network model; wherein, the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network;
[0010] Based on the aforementioned leakage point cloud segmentation network model, leakage point cloud segmentation is performed on the test set, and the segmentation effect is verified.
[0011] The leak point cloud dataset to be detected is input into the leak point cloud segmentation network model to identify the leak location inside the tunnel pipe.
[0012] An embodiment of the present invention provides a deep learning-based point cloud segmentation method for identifying leaks inside tunnel pipes. By acquiring humidity attribute values corresponding to the point cloud data simultaneously, and based on the principle that areas with high humidity within the tunnel are more likely to contain leaks, a PointNet-based point cloud segmentation network model is designed. This model consists of a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network. The PointNet backbone network extracts features from all point cloud data within the tunnel; the humidity feature extraction network extracts features from areas with humidity, focusing on point cloud data where leaks are more likely; and the fusion segmentation network merges the feature extraction results from the two networks, making the point cloud segmentation network model more sensitive to the location of leaks, thereby improving the accuracy of the model and achieving accurate identification of leaks inside tunnel pipes.
[0013] Furthermore, the specific steps for obtaining point cloud data with humidity attribute values inside the tunnel are as follows:
[0014] The three-dimensional laser scanner is controlled to move along the track and emit a laser beam to perform high-speed scanning of the lining surface inside the tunnel pipe; the three-dimensional laser scanner integrates a displacement sensor, an inertial sensor and a humidity sensor.
[0015] The scanning process obtains two-dimensional information of the tunnel cross-section. The displacement sensor records the mileage information of the three-dimensional laser scanner. The inertial sensor compensates for the attitude changes of the three-dimensional laser scanner in real time and generates basic point cloud data.
[0016] Humidity data at a distance r from the humidity sensor is acquired, and the humidity data is converted into humidity attribute values and added to the basic point cloud data to generate point cloud data with humidity attribute values; where r is the inner diameter of the tunnel pipe.
[0017] Furthermore, the specific steps for converting the humidity data into humidity attribute values and adding them to the basic point cloud data are as follows:
[0018] Based on the magnitude of the humidity data, the value of the humidity attribute is defined. If the humidity data is equal to 0, then the humidity attribute value is set to d. i =0;
[0019] If the humidity data is greater than 0, then the humidity attribute value d is set. i =1.
[0020] Add the humidity attribute value as a field to the point cloud data;
[0021] Where, d i The humidity attribute value corresponding to the i-th point data in the point cloud data.
[0022] Furthermore, the specific steps for preprocessing the point cloud data are as follows:
[0023] The point cloud data is sequentially subjected to point cloud denoising, point cloud normalization, and point cloud simplification.
[0024] Furthermore, the specific steps for constructing a leakage point cloud segmentation network and training the network by inputting the training set to obtain the leakage point cloud segmentation network model are as follows:
[0025] A leakage point cloud segmentation network is constructed, wherein the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network;
[0026] The training set is input into the Pointnet backbone network, which sequentially performs feature processing and dimensionality upscaling on all point data in the training set to obtain local features and global features corresponding to all point data in the training set, respectively. The Pointnet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer.
[0027] The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all data points in the training set in sequence, and then performs dimensionality upscaling processing to obtain latent features corresponding to all data points in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron.
[0028] The local features, global features, and latent features are fused together by the fusion segmentation network, and then the categories of all point data in the training set are obtained by dimensionality reduction. The segmentation training of the training set is completed to obtain the leakage point cloud segmentation network model. The fusion segmentation network consists of a fusion module and two multilayer perceptrons.
[0029] Furthermore, the specific steps of the humidity feature extraction network performing humidity selection processing on all point data in the training set are as follows:
[0030] A threshold selection method is used to input the training set P = {P1, P2, ..., P}. n}, the attribute P of each point data in the training set i =(x i ,y i ,z i ,n ix ,n iy ,n iz ,s i ,d i );
[0031] Where i = 1, 2, ..., n, i is the i-th data point in the training set, n is the number of data points in the training set, and x i y i z i Let n be the three-dimensional coordinate vector of the i-th point data. ix n iy n iz Let s be the 3D normal vector coordinates of the i-th point data. i Let d be the intensity of the data at the i-th point. i The humidity attribute value of the i-th point data;
[0032] Define humidity selection function
[0033] Iterate through each point P i Calculate the humidity selectivity function F(P) i ); where F(P) i ) represents the humidity selection value for the i-th data point;
[0034] Obtain the output point set P with humidity labeling 、 ={F(P1),F(P2),…,F(P n )}, where i = 1, 2, ..., n; this completes the humidity selection processing for all points in the training set.
[0035] Furthermore, the specific steps for verifying the segmentation effect of the seepage point cloud are as follows:
[0036] The average intersection-union ratio and overall accuracy were used as evaluation indicators.
[0037] The average intersection-union ratio (mIOU) is the average of the intersection and union of the two sets: the set of true point cloud values and the set of predicted point cloud values. The set of true point cloud values is the point cloud data value of the test set, and the set of predicted point cloud values is the point cloud data value of the test set after leakage point cloud segmentation.
[0038]
[0039] The overall accuracy OA is the accuracy of each data category in the test set after the test set is segmented into a leak point cloud by the leak point cloud segmentation network model.
[0040]
[0041] Where e = 1, 2, ..., k-1, k is the number of categories, including one background category, e is the true category, f is the predicted category, and p... ef This means predicting e as f, p fe This means predicting f as e, p ee This indicates that e is predicted as e;
[0042] The leakage point cloud segmentation effect of the leakage point cloud segmentation network model is determined based on the average intersection-union ratio (IU) and the overall accuracy. If the average IU or the overall accuracy is less than its corresponding threshold, the leakage point cloud dataset is redistributed to expand the capacity of the training set, and the leakage point cloud segmentation network model is trained again until the average IU and the overall accuracy are greater than or equal to their corresponding thresholds.
[0043] This invention also proposes a deep learning-based point cloud segmentation and leakage identification system for tunnel pipes, the system comprising:
[0044] The point cloud acquisition module is used to acquire point cloud data with humidity attribute values attached inside the tunnel pipe;
[0045] The data processing module is used to preprocess the point cloud data, annotate the preprocessed point cloud data with leakage semantic information, thereby establishing a leakage point cloud dataset, and dividing the leakage point cloud dataset into a training set and a test set.
[0046] The model training module is used to construct a leakage point cloud segmentation network. The training set is input into the leakage point cloud segmentation network for training to obtain a leakage point cloud segmentation network model. The leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network.
[0047] The model testing module is used to segment the leak point cloud based on the leak point cloud segmentation network model, and to verify the leak point cloud segmentation effect.
[0048] The leakage identification module is used to input the leakage point cloud dataset to be detected into the leakage point cloud segmentation network model to identify the leakage location inside the tunnel pipe.
[0049] An embodiment of the present invention discloses a deep learning-based point cloud segmentation and leakage identification system for tunnel pipes. By acquiring humidity attribute values corresponding to the point cloud data simultaneously, and based on the principle that areas with high humidity within the tunnel are more likely to contain leaks, a PointNet-based leakage point cloud segmentation network model is designed. This model consists of a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network. The PointNet backbone network extracts features from all point cloud data within the tunnel; the humidity feature extraction network extracts features from areas with humidity, focusing on point cloud data where leakage is more likely; and the fusion segmentation network merges the feature extraction results from the two networks, making the leakage point cloud segmentation network model more sensitive to the location of leaks, thereby improving the accuracy of the leakage point cloud segmentation network model and achieving the effect of accurately identifying leaks within tunnel pipes.
[0050] Furthermore, the model training module is specifically used for:
[0051] A leakage point cloud segmentation network is constructed, wherein the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network;
[0052] The training set is input into the Pointnet backbone network, which sequentially performs feature processing and dimensionality upscaling on all point data in the training set to obtain local features and global features corresponding to all point data in the training set, respectively. The Pointnet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer.
[0053] The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all data points in the training set in sequence, and then performs dimensionality upscaling processing to obtain latent features corresponding to all data points in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron.
[0054] The local features, global features, and latent features are fused together by the fusion segmentation network, and then the categories of all point data in the training set are obtained by dimensionality reduction. The segmentation training of the training set is completed to obtain the leakage point cloud segmentation network model. The fusion segmentation network consists of a fusion module and two multilayer perceptrons.
[0055] The present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the deep learning-based tunnel point cloud segmentation and leakage identification method described above. Attached Figure Description
[0056] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0057] Figure 1 This is a flowchart of the deep learning-based point cloud segmentation and leakage identification method for tunnel pipes according to the present invention.
[0058] Figure 2 This is a flowchart of the leakage point cloud segmentation network model in the deep learning-based tunnel pipe point cloud segmentation leakage identification method of the present invention.
[0059] Figure 3 This is a structural block diagram of the deep learning-based tunnel pipe point cloud segmentation and leakage identification system of the present invention.
[0060] Figure 4 This is a schematic diagram of the electronic device structure according to the fourth embodiment of the present invention. Detailed Implementation
[0061] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain embodiments of the present invention, and should not be construed as limiting the present invention.
[0062] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.
[0063] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0064] In the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of the present invention according to the specific circumstances.
[0065] Example 1
[0066] Reference Figures 1 to 2 The first embodiment of the present invention provides a method for identifying leakage through point cloud segmentation in tunnel pipes based on deep learning. The method includes:
[0067] S1: Obtain point cloud data with humidity attribute values inside the tunnel tube;
[0068] Furthermore, the specific steps for obtaining point cloud data with humidity attribute values inside the tunnel are as follows:
[0069] The 3D laser scanner is controlled to move along the track and emit a laser beam to perform high-speed scanning of the lining surface inside the tunnel pipe; the 3D laser scanner integrates displacement sensors, inertial sensors and humidity sensors.
[0070] The scanning process obtains two-dimensional information of the tunnel cross-section, the displacement sensor records the mileage information of the three-dimensional laser scanner, and the inertial sensor compensates for the attitude changes of the three-dimensional laser scanner in real time to generate basic point cloud data.
[0071] Humidity data at a distance r from the humidity sensor is acquired, and the humidity data is converted into humidity attribute values and added to the basic point cloud data to generate point cloud data with humidity attribute values; where r is the inner diameter of the tunnel pipe.
[0072] A 3D laser scanner can quickly and accurately scan the surface of the tunnel lining to obtain precise 3D point cloud data. The 3D laser scanner integrates displacement sensors, inertial sensors, and humidity sensors. The displacement and inertial sensors can monitor the attitude changes of the equipment in real time and compensate for these changes to ensure the accuracy and reliability of the data. Using a 3D laser scanner to scan the surface of the tunnel lining can simultaneously acquire multiple related data, thereby providing more comprehensive point cloud information and providing accurate data support for the subsequent establishment of a leakage point cloud segmentation network model.
[0073] Furthermore, the specific steps for converting humidity data into humidity attribute values and adding them to the base point cloud data are as follows:
[0074] Based on the magnitude of the humidity data, define the possible values for the humidity attribute. If the humidity data is equal to 0, then set the humidity attribute value as d. i =0;
[0075] If the humidity data is greater than 0, then set the humidity attribute value to d. i =1.
[0076] Add the humidity attribute value as a field to the point cloud data;
[0077] Where, d i The humidity attribute value corresponding to the i-th point data in the point cloud data.
[0078] Using humidity as one of the input features to distinguish and label leakage areas from other non-leakage areas helps the leakage point cloud segmentation network model better understand the leakage situation and perform targeted feature extraction processing. This helps the leakage point cloud segmentation network model more accurately predict leakage areas, achieving the effect of accurately identifying leakage inside tunnel pipes.
[0079] S2: Perform data preprocessing on the point cloud data, label the preprocessed point cloud data with leakage semantic information, thereby establishing a leakage point cloud dataset, and dividing the leakage point cloud dataset into a training set and a test set.
[0080] Furthermore, the specific steps for preprocessing point cloud data are as follows:
[0081] The point cloud data is sequentially processed by point cloud denoising, point cloud normalization, and point cloud simplification.
[0082] It should be noted that point cloud data preprocessing includes many methods. This embodiment uses three methods—point cloud denoising, point cloud normalization, and point cloud simplification—to preprocess the point cloud data. Point cloud denoising can also utilize methods such as median filtering, mean filtering, and Gaussian filtering. Different methods can be used depending on the complexity of the specific point cloud data to achieve the best optimization effect. Specifically, in this embodiment, the ratio of training to test sets in the leakage point cloud dataset is 8:2.
[0083] S3: Construct a leakage point cloud segmentation network. Input the training set into the leakage point cloud segmentation network for training to obtain the leakage point cloud segmentation network model. The leakage point cloud segmentation network includes a Pointnet backbone network, a humidity feature extraction network, and a fusion segmentation network.
[0084] Furthermore, the specific steps for constructing a leakage point cloud segmentation network and training the network by inputting the training set to obtain the leakage point cloud segmentation network model are as follows:
[0085] A leakage point cloud segmentation network is constructed, which includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network.
[0086] The training set is input into the PointNet backbone network. The PointNet backbone network sequentially performs feature processing and dimensionality upscaling on all point data in the training set, obtaining local and global features corresponding to all point data in the training set, respectively. The PointNet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer. The max pooling layer performs dimensionality upscaling on all point data in the training set. By effectively extracting local and global features from the point training set, it provides a foundation for subsequent humidity feature extraction and fusion segmentation.
[0087] The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all point data in the training set in sequence and then performs dimensionality upscaling processing to obtain the latent features corresponding to all point data in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron. The humidity feature extraction network can effectively associate humidity information with the leakage point cloud data in the training set and extract useful latent features.
[0088] By using a fusion segmentation network to perform a series fusion operation on local features, global features, and latent features, and then performing dimensionality reduction to obtain the categories of all point data in the training set, the segmentation training of the training set is completed, resulting in a leakage point cloud segmentation network model. The fusion segmentation network consists of a series fusion module and two multilayer perceptrons. The fusion segmentation network can make full use of feature information from different sources to improve segmentation performance, thereby improving the accuracy and robustness of the segmentation task.
[0089] Furthermore, the humidity feature extraction network performs humidity selection processing on all data points in the training set as follows:
[0090] Using a threshold selection method, the input training set P = {P1, P2, ..., P} n}, the attribute P of each point in the training set i =(x i ,y i ,z i ,n ix ,n iy ,n iz ,s i ,d i );
[0091] Where i = 1, 2, ..., n, i is the i-th data point in the training set, n is the number of data points in the training set, and x i y i z i Let n be the three-dimensional coordinate vector of the i-th point data. ix n iy n iz Let s be the 3D normal vector coordinates of the i-th point data. i Let d be the intensity of the data at the i-th point. i The humidity attribute value of the i-th point data;
[0092] Define humidity selection function
[0093] Iterate through each point P i Calculate the humidity selectivity function F(P) i ); where F(P) i ) represents the humidity selection value for the i-th data point;
[0094] Obtain the output point set P with humidity labeling 、 ={F(P1),F(P2),…,F(P n )}, where i = 1, 2, ..., n; this completes the humidity selection processing for all data points in the training set.
[0095] In this embodiment, the processing flow of leakage point cloud data in the leakage point cloud segmentation network model is as follows:
[0096] (1) The processing flow of leaked point cloud data in the Pointnet backbone network is as follows:
[0097] The input layer is n×8 leakage point cloud data, where n represents the number of point data in training, and 8 is the original feature length of the point, which includes the coordinate vector of the point data, the normal vector coordinate of the point data, the intensity of the point data, and the humidity of the point data;
[0098] The input leakage point cloud data is normalized by the input transformation module. Specifically, the input transformation module learns an 8×8 point cloud transformation matrix and performs matrix multiplication on the original leakage point cloud data and the point cloud transformation matrix to complete the normalization of the input point cloud.
[0099] For the normalized point cloud data n×8, a multilayer perceptron with shared weights (64,64) is used to extract the features of each point. The feature dimension of a single point is 64, and finally the local features of the point cloud n×64 are obtained.
[0100] For the extracted local features of the point cloud, the point cloud features are normalized by inputting the feature transformation module. The specific processing method is as follows: the feature transformation module learns a feature transformation matrix of size 64×64, and then the two matrices are multiplied to complete the normalization of the point cloud features.
[0101] For the normalized point cloud features n×64, a multilayer perceptron with shared weights m(64,128,1024) is used to obtain the high-dimensional features n×1024 of the point cloud, where 1024 indicates that for each point data in the leaked point cloud data, the network extracts 1024-dimensional features.
[0102] Max pooling is used on each dimension of the features to obtain 1024-dimensional global features from the input seepage point cloud data.
[0103] (2) The processing flow of seepage point cloud data in the humidity feature extraction network is as follows:
[0104] The input layer is n×8 leakage point cloud data, where n represents the number of point data in the point training set, and 8 is the original feature length of the point data, which includes the coordinate vector of the point data, the normal vector coordinate of the point data, the intensity of the point data, and the humidity of the point data;
[0105] The input leakage point cloud data is processed by the humidity selection module. The specific processing method is as follows: if the humidity attribute value of the point data is 0, the normal vector attribute value and intensity attribute value of the point data are set to 0, while the coordinate attribute value and humidity attribute value remain unchanged; if the humidity attribute value of the point data is greater than 0, all attribute values of the point data remain unchanged.
[0106] For the processed leakage point cloud data n×8, a multilayer perceptron with shared weights (64,64) is used to extract the features of each point. The feature dimension of a single point data is 64, and finally the local features of the point cloud n×64 are obtained.
[0107] (3) The processing flow of leaked point cloud data in the fusion segmentation network is as follows:
[0108] The global feature n×1024 in step (1) above is fused together with the local feature n×64 of the point cloud and the local feature n×64 of the point cloud in step (2) to obtain the combined feature n×1152.
[0109] For the concatenated and fused features n×1152, a multilayer perceptron with shared weights (512,256,128) is used to extract the features of each point data, and finally the point cloud local features n×128 are obtained.
[0110] The segmentation result of each point data is n×m using a multilayer perceptron (128, m) with shared weights, where m is the number of subclasses.
[0111] In summary, the PointNet backbone network extracts features from all seepage point cloud data within the tunnel; the humidity feature extraction network extracts features from areas with humidity, focusing on seepage point cloud data where leakage is more likely; and the fusion segmentation network merges the feature extraction results of the two networks, making the seepage point cloud segmentation network model more sensitive to the location of leakage, thereby improving the accuracy of the seepage point cloud segmentation network model and achieving the effect of accurately identifying leakage within the tunnel pipe.
[0112] S4: Based on the leakage point cloud segmentation network model, the leakage point cloud is segmented on the test set, and the segmentation effect is verified.
[0113] Furthermore, the specific steps for verifying the segmentation effect of the seepage point cloud are as follows:
[0114] The average intersection-union ratio and overall accuracy were used as evaluation indicators.
[0115] The mean intersection-union ratio (mIOU) is the average of the intersection and union of the set of ground truth points and the set of predicted points. The set of ground truth points consists of the point cloud data values of the test set, while the set of predicted points consists of the point cloud data values of the test set after point cloud segmentation with leakage. The mean intersection-union ratio (mIOU) evaluates the ability of the leakage point cloud segmentation network model to correctly segment a single class.
[0116]
[0117] Overall accuracy (OA) is the accuracy of each data category in the test set after the test set is segmented into leaky point clouds by the leaky point cloud segmentation network model. Overall accuracy (OA) evaluates the ability of the leaky point cloud segmentation network model to predict whether each data point is correctly segmented.
[0118]
[0119] Where e = 1, 2, ..., k-1, k is the number of categories, including one background category, e is the true category, f is the predicted category, and p... ef This means predicting e as f, p fe This means predicting f as e, p ee This indicates that e is predicted as e;
[0120] The segmentation effect of the leakage point cloud segmentation network model is determined based on the average intersection-union ratio (IU) and overall accuracy. If the IU or overall accuracy is less than its corresponding threshold, the leakage point cloud dataset is redistributed to expand the training set size, and the leakage point cloud segmentation network model is trained again until the IU and overall accuracy are greater than or equal to their corresponding thresholds.
[0121] S5: Input the leak point cloud dataset to be detected into the leak point cloud segmentation network model to identify the leak location inside the tunnel pipe.
[0122] The leakage point cloud data obtained by the 3D laser scanner is directly input into the leakage point cloud segmentation network model to complete the point cloud segmentation, visualize the leakage location, realize the automatic identification of the end-to-end network model, and at the same time, the prediction results use the standard point cloud format to accurately locate the position of each leakage in the 3D coordinates of the tunnel, so as to achieve the effect of accurately identifying leakage in the tunnel pipe.
[0123] An embodiment of the present invention provides a deep learning-based point cloud segmentation method for identifying leaks inside tunnel pipes. By acquiring humidity attribute values corresponding to the point cloud data simultaneously, and based on the principle that areas with high humidity within the tunnel are more likely to contain leaks, a PointNet-based point cloud segmentation network model is designed. This model consists of a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network. The PointNet backbone network extracts features from all point cloud data within the tunnel; the humidity feature extraction network extracts features from areas with humidity, focusing on point cloud data where leaks are more likely; and the fusion segmentation network merges the feature extraction results from the two networks, making the point cloud segmentation network model more sensitive to the location of leaks, thereby improving the accuracy of the model and achieving accurate identification of leaks inside tunnel pipes.
[0124] Example 2
[0125] Reference Figure 3 The second embodiment of the present invention proposes a deep learning-based point cloud segmentation and leakage identification system for tunnel pipes, the system comprising:
[0126] The point cloud acquisition module is used to acquire point cloud data with humidity attribute values attached inside the tunnel pipe;
[0127] The data processing module is used to preprocess point cloud data, annotate the preprocessed point cloud data with leakage semantic information, thereby establishing a leakage point cloud dataset, which is divided into a training set and a test set.
[0128] The model training module is used to construct the leakage point cloud segmentation network. The training set is input into the leakage point cloud segmentation network for training to obtain the leakage point cloud segmentation network model. The leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network.
[0129] The model testing module is used to segment the leak point cloud based on the leak point cloud segmentation network model, and to verify the segmentation effect of the leak point cloud.
[0130] The leakage identification module is used to input the leakage point cloud dataset to be detected into the leakage point cloud segmentation network model to identify the leakage location inside the tunnel pipe.
[0131] Furthermore, the point cloud acquisition module is specifically used for:
[0132] The 3D laser scanner is controlled to move along the track and emit a laser beam to perform high-speed scanning of the lining surface inside the tunnel pipe; the 3D laser scanner integrates displacement sensors, inertial sensors and humidity sensors.
[0133] The scanning process obtains two-dimensional information of the tunnel cross-section, the displacement sensor records the mileage information of the three-dimensional laser scanner, and the inertial sensor compensates for the attitude changes of the three-dimensional laser scanner in real time to generate basic point cloud data.
[0134] Humidity data at a distance r from the humidity sensor is acquired, and the humidity data is converted into humidity attribute values and added to the basic point cloud data to generate point cloud data with humidity attribute values; where r is the inner diameter of the tunnel pipe.
[0135] The specific steps for converting humidity data into humidity attribute values and adding them to the base point cloud data are as follows:
[0136] Based on the magnitude of the humidity data, define the possible values for the humidity attribute. If the humidity data is equal to 0, then set the humidity attribute value as d. i =0;
[0137] If the humidity data is greater than 0, then set the humidity attribute value to d. i =1.
[0138] Add the humidity attribute value as a field to the point cloud data;
[0139] Where, d i The humidity attribute value corresponding to the i-th point data in the point cloud data.
[0140] Furthermore, the data processing module is specifically used for:
[0141] The specific steps for preprocessing point cloud data are as follows: point cloud denoising, point cloud normalization, and point cloud simplification are performed sequentially on the point cloud data.
[0142] Furthermore, the model training module is specifically used for:
[0143] A leakage point cloud segmentation network is constructed, which includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network.
[0144] The training set is input into the PointNet backbone network. The PointNet backbone network performs feature processing and dimensionality upscaling on all point data in the training set in sequence to obtain local features and global features corresponding to all point data in the training set, respectively. The PointNet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer.
[0145] The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all data points in the training set in sequence, and then performs dimensionality upscaling processing to obtain the latent features corresponding to all data points in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron.
[0146] By using a fusion segmentation network to perform a series fusion operation on local features, global features, and latent features, and then performing dimensionality reduction to obtain the categories of all point data in the training set, the segmentation training of the training set is completed, resulting in a leakage point cloud segmentation network model; the fusion segmentation network consists of a series fusion module and two multilayer perceptrons.
[0147] The humidity feature extraction network performs humidity selection processing on all data points in the training set in the following steps:
[0148] Using a threshold selection method, the input training set P = {P1, P2, ..., P} n}, the attribute P of each point in the training set i =(x i ,y i ,z i ,n ix ,n iy ,n iz ,s i ,d i );
[0149] Where i = 1, 2, ..., n, i is the i-th data point in the training set, n is the number of data points in the training set, and x i y i z i Let n be the three-dimensional coordinate vector of the i-th point data. ix n iy n iz Let s be the 3D normal vector coordinates of the i-th point data. i Let d be the intensity of the data at the i-th point. i The humidity attribute value of the i-th point data;
[0150] Define humidity selection function
[0151] Iterate through each point P i Calculate the humidity selectivity function F(P) i ); where F(P) i ) represents the humidity selection value for the i-th data point;
[0152] Obtain the output point set P with humidity labeling 、 ={F(P1),F(P2),…,F(P n )}, where i = 1, 2, ..., n; this completes the humidity selection processing for all data points in the training set.
[0153] Furthermore, the model testing module is specifically used for:
[0154] The average intersection-union ratio and overall accuracy were used as evaluation indicators.
[0155] The mean intersection-union ratio (mIOU) is the average of the intersection and union of the set of true point cloud values and the set of predicted point cloud values. The set of true point cloud values consists of the point cloud data values of the test set, while the set of predicted point cloud values consists of the point cloud data values of the test set after point cloud segmentation with leakage.
[0156]
[0157] Overall accuracy (OA) is the accuracy of each data category in the test set after the test set is segmented into a leak point cloud using the leak point cloud segmentation network model.
[0158]
[0159] Where e = 1, 2, ..., k-1, k is the number of categories, including one background category, e is the true category, f is the predicted category, and p... ef This means predicting e as f, p fe This means predicting f as e, p ee This indicates that e is predicted as e;
[0160] The segmentation effect of the leakage point cloud segmentation network model is determined based on the average intersection-union ratio (IU) and overall accuracy. If the IU or overall accuracy is less than its corresponding threshold, the leakage point cloud dataset is redistributed to expand the training set size, and the leakage point cloud segmentation network model is trained again until the IU and overall accuracy are greater than or equal to their corresponding thresholds.
[0161] An embodiment of the present invention discloses a deep learning-based point cloud segmentation and leakage identification system for tunnel pipes. By acquiring humidity attribute values corresponding to the point cloud data simultaneously, and based on the principle that areas with high humidity within the tunnel are more likely to contain leaks, a PointNet-based leakage point cloud segmentation network model is designed. This model consists of a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network. The PointNet backbone network extracts features from all point cloud data within the tunnel; the humidity feature extraction network extracts features from areas with humidity, focusing on point cloud data where leakage is more likely; and the fusion segmentation network merges the feature extraction results from the two networks, making the leakage point cloud segmentation network model more sensitive to the location of leaks, thereby improving the accuracy of the leakage point cloud segmentation network model and achieving the effect of accurately identifying leaks within tunnel pipes.
[0162] Example 3
[0163] In the third embodiment of the present invention, based on the same inventive concept, the present invention proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the deep learning-based tunnel point cloud segmentation and leakage identification method of the above embodiments.
[0164] Those skilled in the art will understand that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means containing storage, communication, propagation, or transmission programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0165] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0166] The memory may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to the data processing device. In a particular embodiment, the memory is non-volatile memory. In a particular embodiment, the memory includes read-only memory (ROM) and random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), an electrically alterable read-only memory (EAROM), or flash memory, or a combination of two or more of these. Where appropriate, the RAM can be Static Random-Access Memory (SRAM) or Dynamic Random-Access Memory (DRAM). DRAM can be Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), Extended Data Out Dynamic Random-Access Memory (EDODRAM), Synchronous Dynamic Random-Access Memory (SDRAM), etc.
[0167] Example 4
[0168] In the fourth embodiment of the present invention, based on the same inventive concept, an electronic device is proposed, comprising: a processor and a memory; the processor and the memory communicate with each other; the memory is used to store instructions; the processor is used to execute the instructions in the memory to execute the deep learning-based tunnel point cloud segmentation and leakage identification method of the above embodiment.
[0169] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0170] like Figure 4 As shown, the electronic device may include a bus, one or more CPUs, read-only memory (ROM), random access memory (RAM), a communication port connected to a network, input / output components, a hard disk, etc. The storage device in the electronic device, such as the ROM or hard disk, may store the deep learning-based point cloud segmentation leakage identification method for tunnel pipes provided in this application. Furthermore, the electronic device may also include a user interface. Of course, Figure 4 The architecture shown is merely exemplary and can be omitted as needed when implementing different devices. Figure 4 One or more components in the illustrated electronic device.
[0171] The methods, apparatus, and devices of this invention may be implemented in many ways. For example, the methods, apparatus, and devices of this application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the method is for illustrative purposes only, and the steps of the method of this application are not limited to the order specifically described above, unless otherwise specifically stated. Furthermore, in some embodiments, this application may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the method according to this application. Thus, this application also covers recording media storing programs for performing the method according to this application.
[0172] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0173] Without causing conflict, those skilled in the art can freely combine and use the above-mentioned additional technical features.
[0174] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for identifying leakage in tunnel pipes based on point cloud segmentation using deep learning, characterized in that, The method includes: Obtain point cloud data with humidity attribute values inside the tunnel pipe; The point cloud data is preprocessed, and the preprocessed point cloud data is labeled with leakage semantic information to establish a leakage point cloud dataset. The leakage point cloud dataset is divided into a training set and a test set. A leakage point cloud segmentation network is constructed, and the training set is input into the leakage point cloud segmentation network for training to obtain a leakage point cloud segmentation network model; wherein, the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network; Based on the aforementioned leakage point cloud segmentation network model, leakage point cloud segmentation is performed on the test set, and the segmentation effect is verified. The leak point cloud dataset to be detected is input into the leak point cloud segmentation network model to identify the leak location inside the tunnel pipe. The specific steps for constructing a leakage point cloud segmentation network and training the network by inputting the training set to obtain the leakage point cloud segmentation network model are as follows: A leakage point cloud segmentation network is constructed, wherein the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network; The training set is input into the Pointnet backbone network, which sequentially performs feature processing and dimensionality upscaling on all point data in the training set to obtain local features and global features corresponding to all point data in the training set, respectively. The Pointnet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer. The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all data points in the training set in sequence, and then performs dimensionality upscaling processing to obtain latent features corresponding to all data points in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron. The local features, global features, and latent features are fused together by the fusion segmentation network, and then the categories of all point data in the training set are obtained by dimensionality reduction. This completes the segmentation training of the training set and yields the leakage point cloud segmentation network model. The fusion segmentation network consists of a fusion module and two multilayer perceptrons. The specific steps of the humidity feature extraction network in performing humidity selection processing on all data points in the training set are as follows: The training set is input using a threshold selection method. The attributes of each point data in the training set ; in Let i be the i-th data point in the training set, and n be the number of data points in the training set. Let i be the three-dimensional coordinate vector of the i-th point data. Let be the three-dimensional normal vector coordinates of the i-th point data. Let the intensity of the data at the i-th point be... The humidity attribute value of the i-th point data; Define humidity selection function ; Traverse each point Calculate the humidity selectivity function ;in, Select a value for the humidity of the i-th data point; Obtain the output point set with humidity labeling ,in This completes the humidity selection process for all data points in the training set.
2. The method for identifying leakage in tunnel pipes based on point cloud segmentation according to claim 1, characterized in that, The specific steps for obtaining point cloud data with humidity attribute values inside the tunnel are as follows: The three-dimensional laser scanner is controlled to move along the track and emit a laser beam to perform high-speed scanning of the lining surface inside the tunnel pipe; the three-dimensional laser scanner integrates a displacement sensor, an inertial sensor and a humidity sensor. The scanning process obtains two-dimensional information of the tunnel cross-section. The displacement sensor records the mileage information of the three-dimensional laser scanner. The inertial sensor compensates for the attitude changes of the three-dimensional laser scanner in real time and generates basic point cloud data. Humidity data at a distance r from the humidity sensor is acquired, and the humidity data is converted into humidity attribute values and added to the basic point cloud data to generate point cloud data with humidity attribute values; where r is the inner diameter of the tunnel pipe.
3. The method for identifying leakage in tunnel pipes based on point cloud segmentation according to claim 2, characterized in that, The specific steps for converting the humidity data into humidity attribute values and adding them to the basic point cloud data are as follows: Based on the magnitude of the humidity data, the value of the humidity attribute is defined. If the humidity data is equal to 0, then the humidity attribute value is set to... ; If the humidity data is greater than 0, then the humidity attribute value is set. 1; Add the humidity attribute value as a field to the point cloud data; in, The humidity attribute value corresponding to the i-th point data in the point cloud data.
4. The method for identifying leakage in tunnel pipes based on point cloud segmentation according to claim 1, characterized in that, The specific steps for preprocessing the point cloud data are as follows: The point cloud data is sequentially subjected to point cloud denoising, point cloud normalization, and point cloud simplification.
5. The method for identifying leakage in tunnel pipes based on point cloud segmentation according to claim 1, characterized in that, The specific steps for verifying the segmentation effect of the seepage point cloud are as follows: The average intersection-union ratio and overall accuracy were used as evaluation indicators. The average intersection-union ratio (mIOU) is the average of the intersection and union of the two sets: the set of true point cloud values and the set of predicted point cloud values. The set of true point cloud values is the point cloud data value of the test set, and the set of predicted point cloud values is the point cloud data value of the test set after leakage point cloud segmentation. The overall accuracy OA is the accuracy of each data category in the test set after the test set is segmented into a leak point cloud by the leak point cloud segmentation network model. ; in k is the number of categories, including one background category, e is the true category, and f is the predicted category. This represents the number of point cloud points that are predicted to be e as f. This represents the number of point cloud points that are predicted to be e from f. This represents the number of point cloud points that predict e as e; The leakage point cloud segmentation effect of the leakage point cloud segmentation network model is determined based on the average intersection-union ratio (IU) and the overall accuracy. If the average IU or the overall accuracy is less than its corresponding threshold, the leakage point cloud dataset is redistributed to expand the capacity of the training set, and the leakage point cloud segmentation network model is trained again until the average IU and the overall accuracy are greater than or equal to their corresponding thresholds.
6. A deep learning-based point cloud segmentation and leakage identification system for tunnel pipes, characterized in that, The system includes: The point cloud acquisition module is used to acquire point cloud data with humidity attribute values attached inside the tunnel pipe; The data processing module is used to preprocess the point cloud data, annotate the preprocessed point cloud data with leakage semantic information, thereby establishing a leakage point cloud dataset, and dividing the leakage point cloud dataset into a training set and a test set. The model training module is used to construct a leakage point cloud segmentation network. The training set is input into the leakage point cloud segmentation network for training to obtain a leakage point cloud segmentation network model. The leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network. The model testing module is used to segment the leak point cloud based on the leak point cloud segmentation network model, and to verify the leak point cloud segmentation effect. The leakage identification module is used to input the leakage point cloud dataset to be detected into the leakage point cloud segmentation network model to identify the leakage location inside the tunnel pipe. The model training module is specifically used for: A leakage point cloud segmentation network is constructed, wherein the leakage point cloud segmentation network includes a PointNet backbone network, a humidity feature extraction network, and a fusion segmentation network; The training set is input into the Pointnet backbone network, which sequentially performs feature processing and dimensionality upscaling on all point data in the training set to obtain local features and global features corresponding to all point data in the training set, respectively. The Pointnet backbone network consists of an input layer, an input transformation module, a feature transformation module, two multilayer perceptrons, a max pooling layer, and an output layer. The training set is input into the humidity feature extraction network. The humidity feature extraction network performs humidity selection processing on all data points in the training set in sequence, and then performs dimensionality upscaling processing to obtain latent features corresponding to all data points in the training set. The humidity feature extraction network consists of a humidity selection module and a multilayer perceptron. The local features, global features, and latent features are fused together by the fusion segmentation network, and then the categories of all point data in the training set are obtained by dimensionality reduction. This completes the segmentation training of the training set and yields the leakage point cloud segmentation network model. The fusion segmentation network consists of a fusion module and two multilayer perceptrons. The specific steps of the humidity feature extraction network in performing humidity selection processing on all data points in the training set are as follows: The training set is input using a threshold selection method. The attributes of each point data in the training set ; in Let i be the i-th data point in the training set, and n be the number of data points in the training set. Let i be the three-dimensional coordinate vector of the i-th point data. Let be the three-dimensional normal vector coordinates of the i-th point data. Let the intensity of the data at the i-th point be... The humidity attribute value of the i-th point data; Define humidity selection function ; Traverse each point Calculate the humidity selectivity function ;in, Select a value for the humidity of the i-th data point; Obtain the output point set with humidity labeling ,in This completes the humidity selection process for all data points in the training set.
7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the deep learning-based tunnel point cloud segmentation and leakage identification method as described in any one of claims 1-5.
Citation Information
Patent Citations
Shield tunnel lining disease detection method based on foundation LiDAR point cloud
CN116503312A
Subway tunnel internal environment three-dimensional reconstruction and disease intelligent identification method
CN111833449A
Multi-modal data fusion tunnel disaster risk intelligent identification method and application thereof
CN116610991A
