A pipeline sonar point cloud denoising method and system

By removing noise and clustering through adaptive DBSCAN and the improved whale algorithm, the problem of noise pollution in traditional drainage pipeline detection is solved, the data processing efficiency and accuracy are improved, and the accurate identification and detection efficiency of pipeline information are ensured.

CN114841204BActive Publication Date: 2024-10-29HUAZHONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210454829.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-10-29
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

Noise pollution exists in traditional drainage pipeline detection, and the efficiency and accuracy of mainstream denoising methods are insufficient, resulting in low efficiency in pipeline information identification and data processing, which may cause accidental digging and economic losses.

Method used

The adaptive DBSCAN algorithm is used to remove outlier noise, and the improved whale algorithm is used for clustering to determine the global optimal cluster center and radius, remove high-density noise, complete the pipeline section, and improve the accuracy and readability of the data.

Benefits of technology

It improves the processing efficiency and accuracy of sonar point cloud data, ensures the readability and accuracy of scanning results, reduces the risk of accidental excavation, and improves the efficiency and accuracy of pipeline detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114841204B_ABST
    Figure CN114841204B_ABST
Patent Text Reader

Abstract

The present invention discloses a pipeline sonar point cloud denoising method and system, which belongs to the field of drainage pipeline detection. It includes: removing outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after the initial screening; clustering the sonar point cloud after the initial screening to obtain 3 global optimal cluster center coordinates and cluster radius; according to the global optimal cluster center coordinates and cluster radius located at the top layer, it is determined to be high-density noise and removed from the sonar point cloud after the initial screening. The present invention first removes outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after the initial screening, so as to obtain more accurate data for further processing and then clustering to obtain 3 global optimal cluster center coordinates and cluster radius, and finally according to the global optimal cluster center coordinates and cluster radius located at the top layer, it is determined to be high-density noise and removed from the sonar point cloud after the initial screening, so as to ensure the accuracy and readability of the scanning results and improve the processing efficiency of the sonar point cloud data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of drainage pipe detection, and more specifically, relates to a pipe sonar point cloud denoising method and system. Background Art

[0002] With the continuous development of human society, the agglomeration effect of cities has become more and more obvious. The increasing consumption of water resources in large cities will inevitably produce a large amount of sewage and wastewater, which puts higher requirements on urban underground drainage pipes. However, most of the traditional drainage network drawings are paper folders and scanned copies, which rely on manual sorting and archiving. The workload of drawing retrieval, proofreading, and modification is huge; moreover, with the continuous development of cities, the docking and matching of new and existing pipeline projects is chaotic, and it is difficult to sort out the layout of underground pipelines, which may cause the mis-excavation of existing sewage pipes and cause significant economic losses. Therefore, how to accurately and quickly identify pipeline information and sort out the urban underground pipeline veins has significant practical significance.

[0003] As a scanning technology, sonar detection has the advantages of high sensitivity, strong penetration, flexible flaw detection, high efficiency, and low cost. It can provide accurate data and can be combined with CCTV (Closed Circuit Television) to conduct a comprehensive inspection of the pipeline, so as to know the outline of the pipeline at any cross-sectional position. However, noise pollution is bound to occur during pipeline detection. The current mainstream denoising method is mainly filtering denoising, and its efficiency and accuracy need to be improved. Summary of the invention

[0004] In view of the defects and improvement needs of the prior art, the present invention provides a pipeline sonar point cloud denoising method and system, which aims to ensure the accuracy and readability of the scanning results and improve the processing efficiency of the sonar point cloud data.

[0005] To achieve the above object, according to a first aspect of the present invention, a pipeline sonar point cloud denoising method is provided, the method comprising:

[0006] S1. Remove outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after preliminary screening;

[0007] S2. Cluster the sonar point cloud after the initial screening to obtain three global optimal cluster center coordinates and cluster radius;

[0008] S3. According to the global optimal cluster center coordinates and cluster radius at the top layer, it is determined to be high-density noise and removed from the sonar point cloud after the initial screening.

[0009] Preferably, in step S1, an adaptive DBSCN algorithm is used to remove outlier noise.

[0010] Beneficial effects: In view of the problems of noise points and non-intuitive pipeline surfaces in sonar scanning results, the present invention preferably uses the adaptive DBSCN algorithm to remove outlier noise. Since it examines the connection ability between samples from the perspective of sample density and continuously expands clustering on the basis of continuous samples, it can achieve simple and flexible detection of clusters of different sizes and shapes to obtain the final clustering results.

[0011] Preferably, an improved whale algorithm is used to cluster the sonar point cloud after the initial screening, and the cluster center is used as the whale position. The improved whale algorithm is specifically as follows:

[0012] The spiral position update mechanism of the classic whale algorithm remains unchanged, and the shrinking and encircling mechanism uses adaptive weights:

[0013]

[0014]

[0015] in, represents the updated position vector, represents the current best position vector, ω represents the adaptive weight, represents the vector factor, ω max ,ω min They represent the maximum and minimum values ​​of the adaptive weights respectively, i represents the current iteration round, and M represents the maximum number of iterations.

[0016] Beneficial effects: Compared with other whale algorithms that are prone to falling into local optimal solutions, the present invention improves the WOA weight adjustment method. When the whale approaches food, a smaller weight is introduced to change the whale's position, thereby improving its local search ability. In order to solve the problem of low convergence accuracy, the present invention preferably uses the improved whale algorithm to cluster the sonar point cloud after the initial screening. Due to the introduction of adaptive weights, the local optimization ability of WOA is enhanced, and a detailed search around local optimization is achieved, thereby improving its local search ability and thus improving convergence accuracy.

[0017] Preferably, the objective function of the improved whale algorithm is as follows:

[0018]

[0019]

[0020] Among them, fitness represents the optimization goal, n represents the number of variables in the cluster center, and w ij represents the weight of the i-th cluster center of the j-th cluster, x p Represents the point cloud coordinate vector, x ij represents the cluster center coordinates to be solved, |x p-x ij | represents x p The Euclidean distance to each cluster center.

[0021] Beneficial effect: The present invention preferably uses the above objective function, which reflects the convergence accuracy. The smaller the fitness is, the higher the convergence accuracy is, thereby improving the local search capability.

[0022] Preferably, the method further comprises:

[0023] S4. According to the coordinates of the global optimal cluster center and the cluster radius located in the middle, the pipeline fitting section is determined, and according to the coordinates of the global optimal cluster center and the cluster radius located at the bottom layer, the sludge section is determined.

[0024] Beneficial effect: The present invention further determines the pipeline fitting section and the sludge section through the above steps.

[0025] Preferably, if there is missing data in the pipeline fitting cross section, the complete pipeline cross section is completed according to the pipeline cross section points obtained by clustering.

[0026] Beneficial effect: The present invention completes the complete pipeline cross section, so that the model can obtain more accurate fitting results within a suitable time.

[0027] To achieve the above-mentioned object, according to a second aspect of the present invention, a pipeline sonar point cloud denoising system is provided, the system comprising: a computer-readable storage medium and a processor;

[0028] The computer-readable storage medium is used to store executable instructions;

[0029] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the pipeline sonar point cloud denoising method described in the first aspect.

[0030] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

[0031] The present invention proposes a pipeline sonar point cloud denoising method, which first removes outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after preliminary screening, so as to obtain more accurate data for further processing and then clustering to obtain three global optimal cluster center coordinates and cluster radius, and finally determines the high-density noise according to the global optimal cluster center coordinates and cluster radius at the top layer, and removes it from the sonar point cloud after preliminary screening. By utilizing the characteristics of drainage pipe sonar detection, the accuracy and readability of the scanning results are guaranteed, and the processing efficiency of sonar point cloud data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1It is a flow chart of a pipeline sonar point cloud denoising method provided by the present invention;

[0033] Figure 2 is a schematic diagram of pipeline sonar point cloud data provided by an embodiment of the present invention;

[0034] Figure 3 It is a schematic diagram of the principle of removing outlier noise points by the adaptive DBSCAN method provided by the present invention;

[0035] Figure 4 It is a schematic diagram of the noise point removal process provided by the present invention;

[0036] Figure 5 It is a schematic diagram of silt accumulation line fitting provided by the present invention;

[0037] Figure 6 This is the clustering optimization result diagram finally obtained by using the improved whale algorithm provided by the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0039] like Figure 1 As shown, the present invention provides a pipeline sonar point cloud denoising method, comprising the following steps:

[0040] (1) Remove outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after initial screening.

[0041] Through the sonar scanning robot to conduct field scanning, we can get the following Figure 2 The raw sonar scanning data inside the pipeline is shown, which includes external outliers, internal outliers, noise points and siltation points.

[0042] Furthermore, the obtained spatial coordinate data is formatted to achieve data standardization.

[0043] In view of the problems of noise points and non-intuitive pipeline surfaces in sonar scanning results, each noise point is initialized as a vector, and the adaptive DBSCAN algorithm is used to identify the point cloud body and outliers to achieve initial screening of the data and preliminarily remove outlier noise points in the data. The specific principle is as follows: Figure 3 shown.

[0044] (2) Set K cluster centers, use the cluster center coordinates and cluster radius as the optimization variables of the improved whale algorithm, and obtain the initial optimal values ​​of the cluster center coordinates and cluster radius by initializing the improved whale algorithm based on the sonar data after initial screening.

[0045] Furthermore, the Euclidean distance from each data vector to each cluster center is calculated by formula (1). Formula (2) is the optimization objective function. The fitness value is updated to obtain the optimal solution through the shrinkage and encirclement mechanism and spiral position update mechanism of the improved whale algorithm, thereby obtaining the coordinates of the K cluster centers and the initial optimal value of the cluster radius.

[0046]

[0047]

[0048]

[0049] Among them, x p is the loaded point cloud coordinate vector, x ij are the coordinates of the cluster centers to be solved; fitness is the optimization objective function, k is the number of cluster centers, n is the number of variables in the cluster centers; w ij The value is determined by formula (3).

[0050] (3) Based on the improved whale algorithm, the distance from each data point to the cluster center is calculated, and the optimal position of each cluster center is iterated using the shrinking surround mechanism and spiral position update.

[0051] The optimal clustering solution is obtained by the improved whale optimization algorithm, where the mathematical model of the improved whale algorithm is shown in formula (4), including two search modes: ring contraction and spiral rise, and the probability of adopting the two modes is equal. When p ≥ 0.5, the spiral rise position update mechanism is adopted; otherwise, the shrinkage and encirclement mechanism with adaptive weights is adopted.

[0052]

[0053]

[0054] in, represents the updated position vector, represents the current best position vector, ω represents the adaptive weight, represents the vector factor, ω max ,ω min They represent the maximum and minimum values ​​of the adaptive weights respectively, i represents the current iteration round, and M represents the maximum number of iterations.

[0055] p is a random number between [0,1], t represents the number of iterations, b is a constant whose value determines the shape of the spiral update, and l is any random value between [-1,1]. and is a vector factor, is the distance between the ith whale and its prey, is the current best position vector, is the vector representation of the cluster center position.

[0056] When the model uses the ring contraction mechanism, since whales have two search forms, the contraction search or random search of whales can be simulated by the value of |A|, where the value of |A| is given by the formula Decide, t is the current iteration number, t max is the maximum number of iterations, is a random vector between [0,1]. When |A|<1, in is the bracketing step length, When |A|>1, in

[0057] (4) According to the maximum number of iterations initially set, the whale algorithm process is continuously iterated until the number of iterations meets the requirements and is the global optimal solution. Then, the algorithm is stopped and the globally optimal cluster center coordinates and cluster radius values ​​are output.

[0058] Furthermore, in step (4), the cluster center coordinates and cluster radius values ​​are continuously updated through the iterative operation rules of the improved whale algorithm until the number of iterations meets the requirements and reaches the global optimal solution. The algorithm is then stopped and the optimal clustering result for each sonar scanning point is obtained based on the calculated optimal spatial positions and optimal clustering radii of the K cluster centers.

[0059] The point cloud data after removing outliers is sampled to obtain more accurate point cloud samples, such as Figure 4 shown.

[0060] (5) Based on the calculated global optimal cluster center coordinates and cluster radius values, the noise points are deleted to obtain the optimal cluster fitting curve of the pipeline and sludge deposition; combined with the optimized fitting curve, the complete pipeline cross section is completed, so that the model can obtain more accurate fitting results within a reasonable time.

[0061] Furthermore, in step (5), cluster blocks of noise points and the best fitting curve are given respectively, noise points are deleted, and the complete pipeline cross section is completed, so that the model can obtain more accurate fitting results within a reasonable time.

[0062] For the internal points of the pipeline, the siltation points are identified and the siltation fitting curve is obtained, such as Figure 5 shown.

[0063] Substitute the initially screened point cloud vector into the whale algorithm to obtain the globally optimal cluster center coordinates and cluster radius, and finally realize noise point recognition, pipeline fitting curve, and siltation fitting curve. Figure 6 shown.

[0064] It will be easily understood by those skilled in the art that 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 in the protection scope of the present invention.

Claims

1. A pipeline sonar point cloud denoising method, It is characterized in that The method includes: S1. Remove outlier noise from the original sonar scanning data in the pipeline to obtain the sonar point cloud after preliminary screening; S2. Cluster the sonar point cloud after the initial screening to obtain three global optimal cluster center coordinates and cluster radius; S3. According to the coordinates of the global optimal cluster center and the cluster radius at the top layer, it is determined to be high-density noise and removed from the sonar point cloud after the initial screening; The improved whale algorithm is used to cluster the sonar point cloud after the initial screening, and the cluster center is used as the whale position. The improved whale algorithm is specifically as follows: The spiral position update mechanism of the classic whale algorithm remains unchanged, and the shrinking and encircling mechanism uses adaptive weights: in, represents the updated position vector, represents the current best position vector, ω represents the adaptive weight, represents the vector factor, ω max ,ω min They represent the maximum and minimum values ​​of the adaptive weights, i represents the current iteration round, and M represents the maximum number of iterations; The objective function of the improved whale algorithm is as follows: Among them, fitness represents the optimization goal, n represents the number of variables in the cluster center, and w ij represents the weight of the i-th cluster center of the j-th cluster, x p Represents the point cloud coordinate vector, x ij represents the cluster center coordinates to be solved, |x p -x ij | represents x p The Euclidean distance to each cluster center.

2. The method according to claim 1, It is characterized in that In step S1, an adaptive DBSCN algorithm is used to remove outlier noise.

3. The method according to any one of claims 1 to 2, It is characterized in that The method further includes: S4. According to the coordinates of the global optimal cluster center and the cluster radius located in the middle, the pipeline fitting section is determined, and according to the coordinates of the global optimal cluster center and the cluster radius located at the bottom layer, the sludge section is determined.

4. The method according to claim 3, It is characterized in that If there is missing data in the pipeline fitting section, the complete pipeline section is completed based on the pipeline section points obtained by clustering.

5. A pipeline sonar point cloud denoising system, It is characterized in that The system includes: a computer-readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the pipeline sonar point cloud denoising method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Seabed sonar point cloud data processing method

    CN110517193A

  • Wavelet denoising optimal threshold setting method based on whale optimization algorithm

    CN113408336A