Power line point cloud extraction method and device based on airborne laser radar
Through the power line point cloud extraction method based on airborne lidar, combined with tower interval binning, cloth simulation filtering, elevation normalization and heuristic K-means clustering algorithm, the reliability and versatility of the existing power line extraction methods are solved. solve the problem, achieving high-precision power line extraction and improving the degree of automation in complex terrain.
Patent Information
- Application Number
- CN202410813378.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-18
AI Technical Summary
Existing power line point cloud extraction methods are insufficient in the reliability and versatility of the algorithm, resulting in low accuracy of power line extraction, especially in complex terrain where it is difficult to achieve accurate extraction.
The power line point cloud extraction method based on airborne lidar is adopted, and the steps include collecting point cloud data, binning based on tower intervals, cloth simulation filtering, elevation normalization, dimensional feature calculation and heuristic K-means clustering algorithm to gradually improve Accuracy and automation of power line extraction.
It achieves high-precision extraction of power lines under complex terrain, simplifies the extraction process, improves the degree of automation, and enhances the accuracy and robustness of power line point cloud extraction.
Smart Images

Figure CN118799754A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of airborne LiDAR point cloud data processing, and in particular relates to a method and device for extracting power line point cloud based on airborne LiDAR. Background Art
[0002] In recent years, the scale of China's power grid has expanded rapidly. In order to meet the growing demand, the power supply has been continuously improved and expanded. At the same time, the potential risks brought by transmission line failures cannot be ignored. Transmission line failures may cause large-scale power outages, which will cause huge losses to people's daily production and life and the national economy. The field of power line inspection and maintenance plays a vital role.
[0003] The three-dimensional information collection of the transmission line corridor based on airborne LiDAR can obtain massive point cloud data. The efficient and accurate segmentation and extraction of point cloud data of terrain, towers, power lines and related ancillary facilities in the line corridor can effectively improve the timeliness and engineering application value of this technology. Among them, the accurate identification and extraction of power line point clouds are the key and prerequisite for power line fitting reconstruction, and are also the basic data for power line inspection and subsequent application analysis and evaluation, which is related to the application effect of three-dimensional real-life measurement and evaluation of transmission lines. At present, the research methods for precise extraction of power lines from LiDAR point cloud data are mainly based on the elevation information of the point cloud, and the dimensional characteristics of the point cloud field are not fully considered. The existing power line extraction methods are still insufficient in terms of algorithm reliability and versatility, and the accuracy of power line extraction still needs to be improved. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a power line point cloud extraction method and device based on airborne laser radar, so as to solve the problems of insufficient reliability and versatility of the existing power line point cloud extraction method and improve the accuracy of power line extraction.
[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0006] A method for extracting power line point cloud based on airborne laser radar includes the following steps:
[0007] Step S1, collecting the laser point cloud of the transmission line corridor, and classifying the laser point cloud of the transmission line corridor based on the tower spacing to obtain a single-stage power line corridor scene point cloud set;
[0008] Step S2: Based on the point cloud set of the single-stage power line corridor scene, cloth simulation filtering is first performed to extract the ground point cloud to obtain the terrain of the power transmission line corridor;
[0009] Step S3, normalizing the points in terms of elevation according to the obtained ground point cloud data, and performing rough classification according to the elevation information to obtain a rough classification point cloud set;
[0010] Step S4: Based on the coarsely classified point cloud set, fine extraction is performed by dimensional feature calculation to obtain a power line point cloud;
[0011] Step S5: According to the obtained power line point cloud, a heuristic algorithm is used to select an initial seed point in K-means clustering, and the K-means clustering algorithm is improved by residuals to obtain a single power line point cloud.
[0012] The beneficial effects of the present invention are as follows: the present invention first performs rough classification by calculating the height threshold, excludes most of the non-power line point clouds, then separates the dimensional feature information of the tower points and the power line points, and finally improves the K-means clustering algorithm based on the residual to obtain a single power line point cloud. The method can realize the extraction of power lines in complex terrain, the threshold setting of the extraction process is simple, and the degree of automation of power line point cloud extraction is greatly improved.
[0013] Furthermore, the step S3 is specifically as follows:
[0014] S301, normalizing the points in terms of elevation according to the obtained ground point cloud data;
[0015] S302, calculate the standard deviation S(Z) of non-ground points:
[0016]
[0017] Where S(Z) represents the Z standard deviation; Z i and Respectively represent the elevation of each point and the average elevation of the point cloud; n is the number of points;
[0018] S303. Points with elevations greater than the Z standard deviation are classified as candidate power line points, and a coarse classification point cloud set is obtained.
[0019] The beneficial effect of the above further scheme is: coarse classification of the single-stage power line corridor scene point cloud set is performed, and data with a high probability not being power line point cloud is first proposed, which can reduce the subsequent calculation complexity.
[0020] Furthermore, the step S4 is specifically as follows:
[0021] S401, constructing a KDTree data structure according to the coarsely classified point cloud set, and for each point in the point cloud, using KDTree to search for neighboring points within a given radius, so as to efficiently search for neighboring points of each point;
[0022] S402, performing principal component analysis (PCA) on the neighboring point set of each point to determine the main change direction of the point cloud in the local space, and calculating the eigenvalues (λ1, λ2, λ3) by constructing a domain covariance matrix according to PCA;
[0023] S403, the one-dimensional linear characteristics of the power line are very obvious. When λ1>>λ2≈λ3, the local characteristics of the point cloud are one-dimensional linear. Calculate the linear feature probability
[0024] S404, if L is close to 1, it means that the point cloud is approximately linear in the local area; if the L value is smaller, it means that the point cloud is not linear in the local area;
[0025] S404, judging whether the linear feature probability obtained from the current point cloud is greater than a preset segmentation threshold, if so, judging that the current point cloud is a power line point cloud, retaining the current point cloud, and proceeding to step S405, otherwise, judging that the current point cloud is a tower point cloud, removing the current point cloud from the coarse classification point cloud set, and proceeding to step S405;
[0026] S405, judging whether the classification of all point clouds in the coarse classification point cloud set is completed, if so, obtaining the power line point cloud set and completing the power line point cloud extraction, otherwise, returning to step S402 to enter the classification of the next point cloud.
[0027] The beneficial effects of the above further scheme are: according to the different dimensional characteristics of tower points and power line points, this method can realize the extraction of power lines under complex terrain, the threshold setting of the extraction process is simple, and the degree of automation of power line point cloud extraction is greatly improved.
[0028] Furthermore, the step S5 is specifically as follows:
[0029] S501. First, the vertical distance from each point to the fitting result is calculated by the plane fitting algorithm to obtain a set of residual vectors. The residual vectors of all points are combined into a residual matrix E, where E∈R N×d , N is the number of points, and d is the dimension of the points.
[0030] S502, calculate the mean vector of the residual matrix E Where N is the number of points, e i is the residual vector of the i-th point; then the mean vector is subtracted from each vector of the residual matrix E Get the centralized residual matrix E′;
[0031] S503, using the heuristic seed point selection method of the K-Means clustering algorithm to select the initial cluster center, the steps are as follows:
[0032] Step 1: First, you need to initialize the number of clusters K, the maximum number of iterations t, and the distance threshold d0;
[0033] Step 2: Randomly select k data points from the data set to form the initial candidate seed point set C;
[0034] Step 3: For each point p in set C i , calculate its relationship with all other points p in the set j The Euclidean distance d(p i ,p j ):
[0035]
[0036] where p i,l and p j,l They are point p i and p j Coordinate value in the lth dimension.
[0037] Step 4: For each point p in set C i , determine its minimum distance d from other points in the set min , traverse the set C and select the one that satisfies d min >The point pi where d0 is taken as the initial seed point;
[0038] Step 5: Repeat Step 3-Step 4 to find k seed points that meet the conditions as the initial cluster centers;
[0039] S503: Take the residual vector as input and perform K-Means clustering. The algorithm iteratively adjusts the cluster center, assigns each point to the nearest cluster center, and minimizes the residual sum of squares within each cluster. Where K represents the number of clusters, C j represents the cluster corresponding to the jth cluster center, e i represents the residual vector of the i-th point, c j represents the coordinate vector of the jth cluster center, ||e i -c j || represents Euclidean distance;
[0040] S504: Output the clustering result to obtain a single power line point cloud.
[0041] The beneficial effects of the above further scheme are: using a heuristic method to initialize the cluster center and using the residual vector as the feature input for clustering, compared with the traditional method based on raw data features, it can better reflect the characteristics and structure of data points under specific transformations, thereby improving the accuracy of clustering and the robustness of the algorithm.
[0042] On the other hand, the present invention also provides a power line point cloud extraction device based on airborne laser radar, comprising:
[0043] A point cloud acquisition component, used to acquire original point cloud data, wherein the initial original point cloud data includes power line and non-power line parts;
[0044] The elevation segmentation component is used to extract the ground point cloud by performing cloth simulation filtering on the point cloud set of the single-stage power line corridor scene based on the original point cloud data, normalize the points by elevation according to the obtained ground point cloud data, and perform rough classification according to the elevation information to obtain a rough classification point cloud set;
[0045] The power line extraction component performs fine extraction based on the coarsely classified point cloud set through dimensional feature calculation to obtain the power line point cloud; based on the obtained power line point cloud, a heuristic algorithm is used to select the initial seed point in the K-means clustering, and the K-means clustering algorithm is improved through the residual to obtain a single power line point cloud. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of a flow chart of a method for extracting power line point cloud based on airborne laser radar shown in the present invention;
[0047] Figure 2 The block diagram of a power line point cloud extraction device based on airborne laser radar is shown in the present invention. DETAILED DESCRIPTION
[0048] The present invention will now be described in further detail.
[0049] like Figure 1 As shown, in one embodiment of the present invention, a method for extracting power line point cloud based on airborne laser radar includes the following steps:
[0050] Step S1, collecting the laser point cloud of the transmission line corridor, and classifying the laser point cloud of the transmission line corridor based on the tower spacing to obtain a single-stage power line corridor scene point cloud set;
[0051] Step S2: Based on the point cloud set of the single-stage power line corridor scene, cloth simulation filtering is first performed to extract the ground point cloud to obtain the terrain of the power transmission line corridor;
[0052] Step S3, normalizing the points in terms of elevation according to the obtained ground point cloud data, and performing rough classification according to the elevation information to obtain a rough classification point cloud set;
[0053] Step S4: Based on the coarsely classified point cloud set, fine extraction is performed by dimensional feature calculation to obtain a power line point cloud;
[0054] Step S5: Based on the obtained power line point cloud, a heuristic algorithm is used to select the initial seed point in the K-means clustering, and the K-means clustering algorithm is improved by the residual to obtain a single power line point cloud.
[0055] In this example, the classification in step S1 is as follows: the Lidar point cloud data directly obtained by the drone contains multiple power line towers and power lines between the towers. Based on the tower spacing, every two towers and the power lines between the towers are one file of data. Power line classification is to divide multiple files of data into single file of point cloud data. The classification performed in this step may have errors, so subsequent operations are required.
[0056] The step S2 specifically comprises first performing cloth simulation filtering to extract ground point clouds based on the single-stage power line corridor scene point cloud set, and obtaining the topography of the power transmission line corridor;
[0057] The step S3 is specifically as follows:
[0058] S301, normalizing the points in terms of elevation according to the obtained ground point cloud data;
[0059] S302, calculate the standard deviation S(Z) of non-ground points:
[0060]
[0061] Where S(Z) represents the Z standard deviation; Z i and Respectively represent the elevation of each point and the average elevation of the point cloud; n is the number of points;
[0062] S303. Points with elevations greater than the Z standard deviation are classified as candidate power line points, and a coarse classification point cloud set is obtained.
[0063] In this example, power line extraction is mainly the process of eliminating other types of point clouds except power line point clouds. Since the transmission line corridor point cloud data mainly includes ground plant point clouds and tower point clouds in addition to power line point clouds, the extraction of power lines requires first excluding most of the ground plant point clouds through rough classification, and then accurately identifying the power line point clouds. In the rough extraction of corridor point clouds, a threshold is set to first eliminate most of the non-power line point clouds with lower elevations, so as to achieve the purpose of rough classification of power line points.
[0064] The step S4 is specifically as follows:
[0065] S401, constructing a KDTree data structure according to the coarsely classified point cloud set, and for each point in the point cloud, using KDTree to search for neighboring points within a given radius, so as to efficiently search for neighboring points of each point;
[0066] S402, performing principal component analysis (PCA) on the neighboring point set of each point to determine the main change direction of the point cloud in the local space, and calculating the eigenvalues (λ1, λ2, λ3) by constructing a domain covariance matrix according to PCA;
[0067] S403, the one-dimensional linear characteristics of the power line are very obvious. When λ1>>λ2≈λ3, the local characteristics of the point cloud are one-dimensional linear. Calculate the linear feature probability
[0068] S404, if L is close to 1, it means that the point cloud is approximately linear in the local area; if the L value is smaller, it means that the point cloud is not linear in the local area;
[0069] S404, judging whether the linear feature probability obtained from the current point cloud is greater than a preset segmentation threshold, if so, judging that the current point cloud is a power line point cloud, retaining the current point cloud, and proceeding to step S405, otherwise, judging that the current point cloud is a tower point cloud, removing the current point cloud from the coarse classification point cloud set, and proceeding to step S405;
[0070] S405, judging whether the classification of all point clouds in the coarse classification point cloud set is completed, if so, obtaining the power line point cloud set and completing the power line point cloud extraction, otherwise, returning to step S402 to enter the classification of the next point cloud.
[0071] In this example, by comparing the linear feature probability of the point cloud with the preset segmentation threshold, setting a reasonable threshold can accurately extract the power line point cloud.
[0072] The step S5 is specifically as follows:
[0073] S501. First, the vertical distance from each point to the fitting result is calculated by the plane fitting algorithm to obtain a set of residual vectors. The residual vectors of all points are combined into a residual matrix E, where E∈R N×d , N is the number of points, and d is the dimension of the points.
[0074] S502, calculate the mean vector of the residual matrix E Where N is the number of points, e i is the residual vector of the i-th point; then the mean vector is subtracted from each vector of the residual matrix E Get the centralized residual matrix E′;
[0075] S503, using the heuristic seed point selection method of the K-Means clustering algorithm to select the initial cluster center, improve the accuracy of the clustering results and the convergence speed of the algorithm. The steps are as follows
[0076] Step 1: First, you need to initialize the number of clusters K, the maximum number of iterations t, and the distance threshold d0;
[0077] Step 2: Randomly select k data points from the data set to form the initial candidate seed point set C;
[0078] Step 3: For each point p in set C i , calculate its relationship with all other points p in the set j The Euclidean distance d(p i ,p j ):
[0079]
[0080] where p i,l and p j,l They are point p i and p j Coordinate value in the lth dimension.
[0081] Step 4: For each point p in set C i , determine its minimum distance d from other points in the set min , traverse the set C and select the one that satisfies d min >The point pi where d0 is taken as the initial seed point;
[0082] Step 5: Repeat Step 3-Step 4 to find k seed points that meet the conditions as the initial cluster centers;
[0083] S503: Take the residual vector as input and perform K-Means clustering. The algorithm iteratively adjusts the cluster center, assigns each point to the nearest cluster center, and minimizes the residual sum of squares within each cluster. Where K represents the number of clusters, C j represents the cluster corresponding to the jth cluster center, e i represents the residual vector of the i-th point, c j represents the coordinate vector of the jth cluster center, ||e i -c j || represents Euclidean distance;
[0084] S504: Output the clustering result to obtain a single power line point cloud.
[0085] In this example, first, the point cloud data is fitted by plane fitting to obtain the position deviation (residual) of each point relative to the fitting plane. The initial cluster center is selected from the residual vector set through a heuristic seed point selection method. During the clustering process, the algorithm continuously adjusts the position of the cluster center through iterative optimization, with the aim of minimizing the residual sum of squares from all points in each cluster to the cluster center, that is, minimizing the objective function J. Finally, the K-Means algorithm divides the data points into several clusters, each cluster is represented by a cluster center, and the residual sum of squares of the entire data set is minimized, thereby achieving effective clustering of single power line point cloud data.
[0086] In order to better implement a laser point cloud power line extraction method in an embodiment of the present invention, based on a laser point cloud power line extraction method, correspondingly, Figure 2 As shown, the embodiment of the present invention further provides a laser point cloud power line extraction device 200, comprising:
[0087] Point cloud acquisition component 201, used to acquire original point cloud data, wherein the initial original point cloud data includes power line and non-power line parts;
[0088] The elevation segmentation component 202 is used to first perform cloth simulation filtering to extract ground point cloud from the original point cloud data, normalize the points according to the obtained ground point cloud data, and perform rough classification according to the elevation information to obtain a rough classification point cloud set;
[0089] The power line extraction component 203 performs fine extraction based on the coarse classification point cloud set by dimensional feature calculation to obtain a power line point cloud. Based on the obtained power line point cloud, a heuristic algorithm is used to select an initial seed point in K-means clustering, and the K-means clustering algorithm is improved by residual error to obtain a single power line point cloud.
[0090] The present invention is not limited to the above-mentioned embodiments. Anyone should be aware that any structural changes made under the enlightenment of the present invention, and any technical solutions that are the same or similar to the present invention, fall within the protection scope of the present invention. The technology, shape, and structural parts not described in detail in the present invention are all well-known technologies.
Claims
1. A method for extracting power line point cloud based on airborne laser radar, characterized in that: The following steps are involved: Step S1, collecting the laser point cloud of the transmission line corridor, and classifying the laser point cloud of the transmission line corridor based on the tower spacing to obtain a single-stage power line corridor scene point cloud set; Step S2: Based on the point cloud set of the single-stage power line corridor scene, cloth simulation filtering is first performed to extract the ground point cloud to obtain the terrain of the power transmission line corridor; Step S3, normalizing the points in terms of elevation according to the obtained ground point cloud data, and performing rough classification according to the elevation information to obtain a rough classification point cloud set; Step S4: Based on the coarsely classified point cloud set, fine extraction is performed by dimensional feature calculation to obtain a power line point cloud; Step S5: According to the obtained power line point cloud, a heuristic algorithm is used to select an initial seed point in K-means clustering, and the K-means clustering algorithm is improved by residuals to obtain a single power line point cloud.
2. The method for extracting power line point cloud based on airborne laser radar according to claim 1, characterized in that: The step S3 specifically comprises: S301, normalizing the points in terms of elevation according to the obtained ground point cloud data; S302, calculate the standard deviation S(Z) of non-ground points: Where S(Z) represents the standard deviation of Z; Z i and Respectively represent the elevation of each point and the average elevation of the point cloud; n is the number of points; S303. Points with elevations greater than the Z standard deviation are classified as candidate power line points, and a coarse classification point cloud set is obtained.
3. The method for extracting power line point cloud based on airborne laser radar according to claim 1, characterized in that: The step S4 is specifically as follows: S401, constructing a KDTree data structure according to the coarsely classified point cloud set, and for each point in the point cloud, using KDTree to search for neighboring points within a given radius, so as to efficiently search for neighboring points of each point; S402, performing principal component analysis (PCA) on the neighboring point set of each point to determine the main change direction of the point cloud in the local space, and calculating the eigenvalues (λ1, λ2, λ3) by constructing a domain covariance matrix according to PCA; S403, the one-dimensional linear characteristics of the power line are very obvious. When λ1>>λ2≈λ3, the local characteristics of the point cloud are one-dimensional linear. Calculate the linear feature probability S404, if L is close to 1, it means that the point cloud is approximately linear in the local area; if the L value is smaller, it means that the point cloud is not linear in the local area; S404, judging whether the linear feature probability obtained from the current point cloud is greater than a preset segmentation threshold, if so, judging that the current point cloud is a power line point cloud, retaining the current point cloud, and proceeding to step S405, otherwise, judging that the current point cloud is a tower point cloud, removing the current point cloud from the coarse classification point cloud set, and proceeding to step S405; S405, judging whether the classification of all point clouds in the coarse classification point cloud set is completed, if so, obtaining the power line point cloud set and completing the power line point cloud extraction, otherwise, returning to step S402 to enter the classification of the next point cloud.
4. The method for extracting power line point cloud based on airborne laser radar according to claim 1, characterized in that: The step S5 is specifically as follows: S501. First, the vertical distance from each point to the fitting result is calculated by the plane fitting algorithm to obtain a set of residual vectors. The residual vectors of all points are combined into a residual matrix E, where E∈R N×d , N is the number of points, and d is the dimension of the points. S502, calculate the mean vector of the residual matrix E Where N is the number of points, e i is the residual vector of the i-th point; then the mean vector is subtracted from each vector of the residual matrix E Get the centralized residual matrix E′; S503, using the heuristic seed point selection method of the K-Means clustering algorithm to select the initial cluster center, the steps are as follows: Step 1: First, you need to initialize the number of clusters K, the maximum number of iterations t, and the distance threshold d0; Step 2: Randomly select k data points from the data set to form the initial candidate seed point set C; Step 3: For each point p in set C i , calculate its relationship with all other points p in the set j The Euclidean distance d(p i ,p j ): where p i,l and p j,l They are point p i and p j Coordinate value in the lth dimension. Step 4: For each point p in set C i , determine its minimum distance d from other points in the set min , traverse the set C and select the one that satisfies d min >The point pi where d0 is taken as the initial seed point; Step 5: Repeat Step 3-Step 4 to find k seed points that meet the conditions as the initial cluster centers; S503: Take the residual vector as input and perform K-Means clustering. The algorithm iteratively adjusts the cluster center, assigns each point to the nearest cluster center, and minimizes the residual sum of squares within each cluster. Where K represents the number of clusters, C j represents the cluster corresponding to the jth cluster center, e i represents the residual vector of the i-th point, c j represents the coordinate vector of the jth cluster center, ||e i -c j || represents Euclidean distance; S504: Output the clustering result to obtain a single power line point cloud.
5. A power line point cloud extraction device based on airborne laser radar, characterized in that: include: A point cloud acquisition component, used to acquire original point cloud data, wherein the initial original point cloud data includes power line and non-power line parts; The elevation segmentation component is used to extract the ground point cloud by performing cloth simulation filtering on the point cloud set of the single-stage power line corridor scene based on the original point cloud data, normalize the points by elevation according to the obtained ground point cloud data, and perform rough classification according to the elevation information to obtain a rough classification point cloud set; The power line extraction component performs fine extraction based on the coarsely classified point cloud set through dimensional feature calculation to obtain the power line point cloud; based on the obtained power line point cloud, a heuristic algorithm is used to select the initial seed point in the K-means clustering, and the K-means clustering algorithm is improved through the residual to obtain a single power line point cloud.
Citation Information
Cited By
Power transmission line point cloud classification and extraction method based on laser point cloud
CN122200429A
