High-precision magnetic levitation track point cloud extraction method based on DBSCAN optimization and curved-pass filtering

By adding normal smoothing and curvature threshold factors to the DBSCAN clustering algorithm, combined with the curve pass filtering algorithm, the problem of large maglev orbit point cloud extraction errors in the existing technology is solved, and high-precision maglev orbit point cloud data extraction is achieved , providing new research methods for three-dimensional modeling and digital twins of maglev orbits.

CN118628934APending Publication Date: 2024-09-10TONGJI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410131361.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing maglev track point cloud extraction algorithm is difficult to accurately extract maglev track structural features in complex environments, has large errors, and lacks a unified research algorithm suitable for all point cloud models.

Method used

A clustering algorithm based on DBSCAN optimization is used, combined with regional growth and curvature conditions, and the curve is further fitted with maglev parameters through a curved filter algorithm to accurately extract maglev track point cloud data.

Benefits of technology

It improves the maglev feature extraction accuracy of point cloud data, reduces errors, provides an efficient research algorithm suitable for complex environments, and provides a feasible method for three-dimensional modeling and digital twins of maglev tracks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628934A
    Figure CN118628934A
Patent Text Reader

Abstract

The invention provides a high-precision magnetic levitation track point cloud extraction method based on DBSCAN optimization and flexpass filtering, and the method comprises the steps: collecting and preprocessing depth data, and generating a DBSCAN clustering point cloud set D; adding normal smooth threshold and curvature threshold factors on the basis of a DBSCAN clustering algorithm, and extracting point cloud data with more magnetic levitation track point cloud features; the method comprises the following steps: for a magnetic levitation point cloud object with two sections of turning structures, fitting a two-dimensional curve based on basic data of magnetic levitation track construction parameters; and obtaining a curvilinear function filtering range, namely a curved-pass filtering algorithm, by limiting a direction and a threshold value, and extracting more accurate point cloud data of the magnetic levitation track. According to the invention, the point cloud of the maglev track can be extracted with high precision, a new research means is provided for the field of point cloud data feature extraction of the maglev track, and an applicable research algorithm is provided for three-dimensional modeling and digital twinning of the maglev track.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a high-precision extraction method of a maglev track point cloud DBSCAN (Density-Based Spatial Clustering of Application with Noise) optimization and Qutong filtering, belonging to a high-precision feature extraction technology of a maglev track. Background Art

[0002] The construction of high-speed maglev rail transit system carries the important mission of developing cutting-edge key technologies. In recent years, with the steady and continuous development of science and technology, maglev rail transit has focused on the construction of maglev transportation infrastructure, while following up on cutting-edge technologies such as artificial intelligence, smart transportation, and digital twins for traditional large-scale transportation infrastructure. This is the current development direction that needs to be chosen urgently, and it is also a key technology that needs to be changed urgently.

[0003] Digital twins in the maglev field are in the preliminary research stage. The track feature extraction algorithm in the field of maglev rail transit 3D modeling with digital twins as the research background can extract the maglev track point cloud structure from the complex environment point cloud, which can provide cutting-edge science and technology for the 3D modeling of the physical maglev track. Point cloud feature extraction technology has gradually developed into many types such as edge extraction, region growing algorithm, point cloud attribute, clustering algorithm and deep learning. However, these extraction methods are still limited and cannot be applied to all point cloud models. The maglev track structure point cloud is between the traditional rail line feature recognition and the large building feature recognition. Therefore, the feature extraction of the maglev track needs to consider its own point cloud structure and integrate multiple algorithms to achieve the best feature extraction effect. Summary of the invention

[0004] The present invention focuses on the track structure of the maglev rail transit system. Based on the image data acquired by drone image oblique photography, dense point cloud data is formed through three-dimensional reconstruction, and the point cloud data acquired by lidar scanning, a high-precision maglev track point cloud extraction method based on DBSCAN optimization and Qutong filtering is proposed to extract the point cloud data of the maglev track structure from the point cloud data of the complex environment around the maglev.

[0005] The high-precision maglev track point cloud extraction method based on DBSCAN optimization and Qutong filtering includes the following steps:

[0006] Step S1, deep data collection and preprocessing, generating a DBSCAN clustering point cloud set D; proceeding to step S2;

[0007] Step S2: Based on the DBSCAN clustering algorithm, the curvature condition of the region growing algorithm is added as a judgment basis, and the normal smoothing threshold and the curvature threshold factors are added on the basis of the extracted point cloud set D to form an improved DBSCAN clustering algorithm to extract point cloud data with more maglev track point cloud characteristics; if the track structure has a turn, go to step S3;

[0008] Step S3, for the magnetic levitation point cloud object with two-stage turning structure, a two-dimensional curve is fitted on the two-dimensional plane where the X and Y coordinates are located based on the basic data of the magnetic levitation track construction parameters; proceed to step 4;

[0009] Step S4: for the two-dimensional curve fitted in step S3, by limiting the direction and threshold, the curve function filtering range is obtained, that is, the Qutong filtering algorithm is used to extract more accurate maglev track point cloud data.

[0010] Compared with the prior art, the present invention has the following beneficial effects:

[0011] (1) The improved DBSCAN clustering algorithm adds normal smoothing threshold and curvature threshold factors on the basis of the original DBSCAN algorithm, which solves the problem of errors caused by similar density and other environmental factors, making the newly extracted point cloud data more characteristic of the maglev track point cloud.

[0012] (2) A function fitting curve based on maglev parameters and a Qutong filtering algorithm within the threshold range of the curve are introduced to solve the problem of large errors in track beam feature extraction caused by curvature and density approximation. The Qutong filtering algorithm accurately extracts the maglev track point cloud data to the greatest extent possible, and the filtering range can be defined by setting the threshold parameter p. This algorithm is simple and efficient, is not constrained by the linear shape of the function, and can be applied to various complex filtering extraction models, with broad application prospects.

[0013] (3) There is currently no unified research algorithm for the point cloud feature extraction method of the maglev track. Experiments have shown that the present invention can extract the point cloud of the maglev track with high precision, providing a new research method for the field of point cloud data feature extraction of the maglev track, and providing an applicable research algorithm for the three-dimensional modeling and digital twin of the maglev track. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a flowchart for realizing the DBSCAN optimization of the maglev track point cloud and its high-precision extraction by Qutong filtering in the present invention;

[0015] Figure 2 For the embodiment, a point cloud data that follows the curve trend of the maglev track is extracted from the point cloud data;

[0016] Figure 3This is a point cloud extraction image of the maglev track obtained by applying the improved DBSCAN algorithm in the embodiment. DETAILED DESCRIPTION

[0017] The technical solution provided by the present application will be further described below in conjunction with specific embodiments and accompanying drawings. The advantages and features of the present application will become more apparent with the following description.

[0018] like Figure 1 As shown, the implementation process of the present invention comprises the following steps:

[0019] Step S1: deep data collection and preprocessing to generate DBSCAN clustering point cloud set D

[0020] S1.1 uses drone image oblique photography to obtain depth image data of the complex environment around the maglev, and three-dimensional reconstruction to form dense point cloud data;

[0021] S1.2 LiDAR scanning to obtain point cloud data;

[0022] S1.3 generates a DBSCAN clustering point cloud set D by traversing each point in the point cloud and checking whether the number of point clouds within a given radius is greater than a given threshold.

[0023] The basic functions of the DBSCAN clustering algorithm are implemented in S1.3. The implementation steps are as follows:

[0024] S1.3.1. Define a central index point P from the point cloud data i , the radius of the point cloud neighborhood sphere r, and the initial clustering point cloud set D:{}, where P i belongs to P:{P1…P i …P N}gather;

[0025] S1.3.2. Define the density threshold of the point cloud data, i.e. the point cloud center index point P i The threshold size of the number of point clouds within the sphere with radius r;

[0026] S1.3.3. Calculate the initial index point P i The number of point clouds m in the neighborhood sphere with a radius of r of the index point is determined to determine whether it meets the clustering requirements. If the number of point clouds m>=size, the index point is considered to meet the clustering requirements.

[0027] S1.3.4. Traverse all index points P in the point cloud i , until all points are determined to belong to the cluster, and a DBSCAN clustering point cloud set D is generated.

[0028] Step S2: Based on the point cloud set D extracted by the DBSCAN clustering algorithm obtained in step 1, the normal smoothing threshold and the curvature threshold factors are added to form an improved DBSCAN clustering algorithm, so that the newly extracted point cloud data has more maglev track point cloud characteristics; the implementation steps are:

[0029] S21, set initial parameters: number of neighborhood points num, total number of point clouds d, normal smoothing threshold θ, curvature threshold c, initial curvature clustering point cloud set A: {}, and initial seed point cloud set S: {};

[0030] S22, calculate each point D in the cluster point cloud set D i The curvature c i , and arrange the curvatures of each point in the cluster point cloud set D in order from small to large, and take the point Dmin corresponding to the minimum curvature cmin as the initial point;

[0031] S23, calculating the normal angles between the current point Dmin and its num neighboring points in the clustered point cloud set D, and if these normal angles are less than the normal smoothing threshold θ, then adding the point to the seed point cloud set S;

[0032] S24, calculating the curvature of each point in the seed point cloud S set. If the curvature is less than the curvature threshold c, the point is determined to meet the clustering condition, and the point is added to the curvature cluster point cloud A set, and the point is deleted from the seed point cloud S and the cluster point cloud set D to avoid repeated calculation;

[0033] S25. Repeat steps S22-S24 until the seed point cloud S is an empty set, which means that all points in the cluster point cloud set D have been judged to be complete, and the curvature cluster point cloud A is output.

[0034] Step S3: In order to achieve better feature extraction of maglev track point cloud data and more efficiently screen out irrelevant environmental variable point clouds such as large buildings and parked vehicles, a function fitting curve based on maglev parameters is introduced. The LM algorithm with fast iteration speed, not easy to fall into local optimum, and high algorithm application efficiency is selected. For the maglev point cloud object with two-stage turning structure, a two-dimensional curve is fitted on the two-dimensional plane where the X and Y coordinates are located based on the basic data of the maglev track construction parameters, such as the starting point position and width of the track beam;

[0035] To achieve the optimization of the objective function, that is, to solve the objective function with the minimum sum of square errors, that is:

[0036] min F(x0+Δx)=||g(x0+Δx)|| 2 ; (1)

[0037] Among them, F() is the objective function, g() is the objective function error, x0 refers to a point in the function, and △x refers to the distance in the neighborhood of x0;

[0038] Define its Jacobian iteration matrix J:

[0039]

[0040] Through the first-order Taylor expansion, finding the extreme value, and adjusting the iterative formula, we finally get:

[0041] x k+1 =x k -(J T J+μI) -1 g k ;

[0042] Among them, k∈[1,n], μ is the function damping factor, I is the unit matrix, g k is the function step size;

[0043] A two-dimensional nonlinear function is fitted that conforms to the trend of the maglev track: f(x,y)=0.

[0044] Step S4: For the fitted two-dimensional curve, by limiting the direction and threshold, the curve function filtering range is obtained, that is, the Qutong filtering algorithm is used to extract more accurate maglev track point cloud data. The implementation steps are as follows:

[0045] S41, calculated derivative of f(x, y)=0 g(x, y)=0;

[0046] S42, taking points at equal intervals where the derivative g(x, y)=0, dividing the interval, taking the midpoint value of the interval with the largest number of point clouds within the unit interval as the most approximate curvature of the function distribution, represented by κ;

[0047] S43, the function takes the normal direction perpendicular to the curvature κ as the moving direction, so that it moves up and down along the normal direction by p units, where 2p is the width of the maglev track, and p is the threshold parameter;

[0048] S44, traverse each point (x i ,y i ), for every x i , and substitute it into the two-dimensional nonlinear function f(x i ,y0)=0, solve for the corresponding y0, if Then y i It is the feature point extracted by the Qutong filter function, k = tanγ, γ represents the angle between the curvature direction and the X-axis.

[0049] In order to verify the effectiveness of the present invention, data from the 1.5-kilometer maglev transportation test line of the Jiading Campus of Tongji University in Shanghai were collected. Taking the dense point cloud as an example, in the 101 point cloud intervals, the highest accuracy can reach 100% and the lowest is 68.1%. The accuracy of most point cloud intervals is distributed between [85%, 100%]. According to statistics, there are 14 cases with accuracy ap<90%. The accuracy of the maglev feature extraction algorithm in this paper is calculated to be Accuracy=86.1%. The feature extraction accuracy of laser point cloud data is calculated to be Accuracy=89.1% using the same calculation method. It can be drawn an effective conclusion that the maglev track feature extraction algorithm in this paper is relatively efficient and can extract maglev track point clouds with high precision.

[0050] Figure 2 In order to use the fitting function as the boundary condition of the Qutong filter, taking the feature point cloud extraction of dense point cloud as an example, a point cloud data following the curve of the maglev track is extracted from the point cloud data.

[0051] Figure 3 This is a point cloud extraction image of the maglev track obtained by applying the improved DBSCAN algorithm of the present invention.

[0052] The above description is only a description of the preferred embodiments of the present application, and is not intended to limit the scope of the present application. Any changes or modifications made by any person skilled in the art based on the above disclosed technical contents shall be deemed as equivalent effective embodiments and shall fall within the scope of protection of the technical solution of the present application.

Claims

1. High-precision maglev track point cloud extraction method based on DBSCAN optimization and Qutong filtering, It is characterized in that The following steps are involved: Step S1, deep data collection and preprocessing, generating a DBSCAN clustered point cloud set D; Go to step S2; Step S2: Based on the DBSCAN clustering algorithm, the curvature condition of the region growing algorithm is added as a judgment basis, and the normal smoothing threshold and the curvature threshold factors are added on the basis of the extracted point cloud set D to form an improved DBSCAN clustering algorithm to extract point cloud data with more maglev track point cloud characteristics; if the track structure has a turn, go to step S3; Step S3, for the magnetic levitation point cloud object with two-stage turning structure, a two-dimensional curve is fitted on the two-dimensional plane where the X and Y coordinates are located based on the basic data of the magnetic levitation track construction parameters; proceed to step 4; Step S4: for the two-dimensional curve fitted in step S3, by limiting the direction and threshold, the curve function filtering range is obtained, that is, the Qutong filtering algorithm is used to extract more accurate maglev track point cloud data.

2. The method according to claim 1, It is characterized in that The step S1 specifically includes: S1.1 uses drone image oblique photography to obtain depth image data of the complex environment around the maglev, and three-dimensional reconstruction to form dense point cloud data; S1.2 LiDAR scanning to obtain point cloud data; S1.3 generates a DBSCAN clustering point cloud set D by traversing each point in the point cloud and checking whether the number of point clouds within a given radius is greater than a given threshold.

3. The method according to claim 2, It is characterized in that The step S1.3 specifically includes: S1.3.

1. Define a central index point P from the point cloud data i , the radius of the point cloud neighborhood sphere r, and the initial clustering point cloud set D:{}, where P i Belongs to P:{P 1 …P i …P N }gather; S1.3.

2. Define the density threshold of the point cloud data, i.e. the point cloud center index point P i The threshold size of the number of point clouds within the sphere with radius r; S1.3.

3. Calculate the initial index point P i The number of point clouds m in the neighborhood sphere with radius r of the index point is determined to determine whether it meets the clustering requirements. If the number of point clouds m>=size, the index point is considered to meet the clustering requirements. S1.3.

4. Traverse all index points P in the point cloud i , until all points are determined to belong to the cluster, and a DBSCAN clustering point cloud set D is generated.

4. The method according to claim 1, It is characterized in that The step S2 specifically includes: S21, set initial parameters: number of neighborhood points num, total number of point clouds d, normal smoothing threshold θ, curvature threshold c, initial curvature clustering point cloud set A: {}, and initial seed point cloud set S: {}; S22, calculate each point D in the cluster point cloud set D i The curvature c i , and arrange the curvatures of each point in the cluster point cloud set D in order from small to large, and take the point Dmin corresponding to the minimum curvature cmin as the initial point; S23, calculating the normal angles between the current point Dmin and its num neighboring points in the clustered point cloud set D, and if these normal angles are less than the normal smoothing threshold θ, then adding the point to the seed point cloud set S; S24, calculating the curvature of each point in the seed point cloud S set. If the curvature is less than the curvature threshold c, the point is determined to meet the clustering condition, and the point is added to the curvature cluster point cloud A set, and the point is deleted from the seed point cloud S and the cluster point cloud set D to avoid repeated calculation; S25. Repeat steps S22-S24 until the seed point cloud S is an empty set, which means that all points in the cluster point cloud set D have been judged to be complete, and the curvature cluster point cloud A is output.

5. The method according to claim 1, It is characterized in that The step S3: Select LM algorithm for two-dimensional curve fitting; To achieve the optimization of the objective function, that is, to solve the objective function with the minimum sum of square errors, that is: min F(x 0 +Δx)=||g(x 0 +Δx)|| 2 ; (1) Among them, F() is the objective function, g() is the objective function error, and x 0 refers to a point in the function, △x refers to x 0 Distance within the neighborhood; Define its Jacobian iteration matrix J: Through the first-order Taylor expansion, finding the extreme value, and adjusting the iterative formula, we finally get: x k+1 =x k -(J T J+μI) -1 g k ; Among them, k∈[1,n], μ is the function damping factor, I is the unit matrix, and gk is the function step size; A two-dimensional nonlinear function is fitted that conforms to the trend of the maglev track: f(x,y)=0.

6. The method according to claim 1, It is characterized in that The step S4 specifically includes: S41, calculated derivative of f(x, y)=0 g(x, y)=0; S42, taking points at equal intervals where the derivative g(x, y)=0, dividing the interval, taking the midpoint value of the interval with the largest number of point clouds within the unit interval as the most approximate curvature of the function distribution, represented by κ; S43, the function takes the normal direction perpendicular to the curvature κ as the moving direction, so that it moves up and down along the normal direction by p units, where 2p is the width of the maglev track, and p is the threshold parameter; S44, traverse each point (x i ,y i ), for every x i , and substitute it into the two-dimensional nonlinear function f(x i ,y 0 )=0, solve for the corresponding y 0 , if Then i It is the feature point extracted by the Qutong filter function, k = tanγ, γ represents the angle between the curvature direction and the X-axis.

Citation Information

Cited By

  • High-precision registration method for multi-view point cloud of welding workpiece

    CN119359771A