Single tree extraction method based on boundary point perception and ecological structure probability analysis

Through the method of boundary point perception and ecological structure probability analysis, the problem of difficult extraction of tree trunks or bushes in outdoor scenes without obvious tree trunks or bushes is solved, and single tree extraction in complex scenes is realized, improving the application of autonomous driving and three-dimensional visual intelligence. ability.

CN118608955AActive Publication Date: 2024-09-06XIAN UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410689035.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-06
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately extract situations where there are no obvious tree trunks or bushes in outdoor scenes, which limits the application scope of single tree extraction.

Method used

Using a method based on boundary point perception and ecological structure probability analysis, Delaunay is used to construct a polyhedron of tree points, Euclidean clustering is used to extract seed points, multiple tree clusters are determined, and backbone points and boundary points are identified through topological structures and height ascending queues, combined with Ecological probability distribution is used to extract individual trees.

Benefits of technology

It achieves the accurate extraction of individual trees, including shrubs, in complex outdoor scenes without a large amount of manual experience parameters, enriches the method system of tree detection and extraction, and improves the ability to perceive and understand outdoor scenes under three-dimensional visual intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608955A
    Figure CN118608955A
Patent Text Reader

Abstract

The invention discloses a single tree extraction method based on boundary point perception and ecological structure probability analysis. The method comprises the following steps: firstly, generating a topological structure by using a Delaunay tetrahedron and an Euclidean distance between points so as to establish a context relation in a neighborhood of each point of a tree; and separating the tree clusters through Alpha-shape, and determining the number of seed points of the tree clusters by using European clustering so as to distinguish a single tree cluster from a multi-tree cluster. And finally, aiming at segmentation of multiple tree clusters, establishing a strategy of identifying backbone points and boundary points by a height ascending sequence queue, designing an ecological structure probability analysis method, and determining boundary point labels by analyzing factors such as Dijkstra distance between the boundary points and seed points, a centroid deflection angle, a vertical included angle and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of artificial intelligence computing methods, and in particular relates to a single tree extraction method based on boundary point perception and ecological structure probability analysis. Background Art

[0002] As the core elements in large-scale outdoor scenes, the detection and extraction of trees is a key scientific problem in three-dimensional environment perception and autonomous driving. Tree detection and extraction play a very important role in autonomous driving navigation, SLAM, embodied intelligence and outdoor scene modeling. In the context of such industrial green development planning, intelligent perception and digitization of outdoor scenes are needed in the current era. Therefore, with the continuous advancement of science and technology and the acceleration of urbanization, the complexity of application scenarios is increasing, which puts forward more stringent and urgent requirements on urban digitization and outdoor environment perception capabilities. However, the variety of objects in outdoor scenes, the close connection between different objects in the scene, and the occlusion between objects undoubtedly increase the difficulty of tree detection and extraction. Therefore, exploring a method that can quickly and accurately detect and extract trees from outdoor scenes has extremely important theoretical significance and application value in practical scene perception.

[0003] With the rapid advancement of urban digitalization, accurate tree detection and extraction has become crucial as it is an indispensable part of autonomous driving of new energy vehicles and understanding and perception of outdoor scenes. At present, research on tree detection and extraction in outdoor scenes based on 3D laser point clouds mostly focuses on the presence of obvious tree trunks in the data set, while ignoring the presence of no obvious tree trunks or bushes in the data set, that is, the extraction of bushes in the scene is insufficient, which seriously limits the application scope of single tree extraction. Summary of the invention

[0004] The purpose of the present invention is to provide a single tree extraction method based on boundary point perception and ecological structure probability analysis, which solves the problem that the existing technology ignores the situation where there are no obvious trunks or bushes in the data set, that is, the single tree extraction in the scene is insufficient.

[0005] The technical solution adopted by the present invention is a single tree extraction method based on boundary point perception and ecological structure probability analysis, comprising the following steps:

[0006] Step 1: construct a polyhedron of tree points through Delaunay, extract seed points under a certain height threshold using Euclidean clustering, and detect multiple tree clusters based on the number of seed points;

[0007] Step 2: After determining the multi-tree cluster, determine the labels of the backbone points and perceive the boundary points through the topological structure of the tree points and the highly ascending queue;

[0008] Step 3, construct ecological probability distribution to determine the final labels of boundary points, and finally combine the backbone points and boundary points to achieve the extraction of single trees.

[0009] The present invention is also characterized in that:

[0010] Step 1 is as follows:

[0011] Step 1.1, tetrahedron decomposition of tree points and generation of topological structure;

[0012] Step 1.2, separate the independent tree cluster polyhedra;

[0013] Step 1.3, identify the tree seed points in a single tree cluster, and detect multiple tree clusters based on the number of seed points.

[0014] Step 1.1 is as follows:

[0015] Step 1.1.1, construct a point set P covering all tree points tree The large tetrahedron is used as the starting point of the Delaunay tetrahedron mesh and its four vertex information is recorded;

[0016] Step 1.1.2, P tree The data points in are added to the updated tetrahedral mesh one by one. Each time a tree point is added to the tetrahedral mesh, a tetrahedral mesh update is performed, and a new tetrahedral mesh is continuously formed and updated in real time.

[0017] Step 1.1.3, whenever P tree The new point p in i When inserted into a Delaunay tetrahedral mesh, identify and remove those tetrahedral meshes whose circumscribed spheres contain p i The tetrahedral elements of the mesh are replaced but their boundary structure is preserved, thus creating a Delaunay interior hole in the mesh.

[0018] Step 1.1.4, connect the new point p i Together with all the vertices on the void boundary, a new tetrahedron mesh is formed. These newly generated tetrahedrons all meet the Delaunay void sphere criterion and are therefore all Delaunay tetrahedrons.

[0019] Step 1.1.5, when P tree After the points in are inserted, the large tetrahedron containing the entire point set is deleted, and finally a tree point polyhedron Σ={V,E}, V=P is generated, which is composed of Delaunay tetrahedrons. tree ={p i (x i ,y i ,z i )|i=1,2,3,…,Ntree}, where x i ,y i ,z i For point p i The three-dimensional coordinate information of E={e ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈P tree},e ij It is the point p i and point p j The connected edges;

[0020] Step 1.1.6, take out the edge set E in the polyhedron Σ = {V, E}, and iteratively calculate each element e in E ij (p i ,p j ), that is, the Euclidean distance of the point and Point The Euclidean distance w ij , w ij Calculated by formula (1), where and Point p i ,p j 3D coordinate information of

[0021]

[0022] In formula (1), 1≤i≠j≤n;

[0023] Weight set W = {w ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈P tree}, generating the final tree point weighted topology Σ = {V, E, W}.

[0024] Step 1.2 is as follows:

[0025] Step 1.2.1, from the point set P tree Randomly select a point p from n1 , initialize the new point set P bd , P bd Contains all n1 Points whose distance is no more than 2α, then from P bd Pick two points p from n2 ,p n3, and calculate the centers o of the two spheres with radius α passing through these three points 1 ,o 2 ;

[0026] Step 1.2.2, traverse the point set P bd , calculate the distance from each point to the center of the sphere o 1 ,o 2 The distance from each point to the center of the sphere o is formed 1 Distance set d 1 , each point to the center of the sphere o 2 Distance set d 2 , if d 1 ,d 2 At least one set contains a distance value greater than or equal to α, then determine p n1 ,p n2 ,p n3 is the edge contour point, triangle p n1 ,p n2 ,p n3 is the boundary triangle. Otherwise, if d 1 ,d 2 The distance values ​​in are all less than α, which means that p n1 ,p n2 ,p n3 If it is not an edge contour point, stop traversal and proceed to the next step;

[0027] Step 1.2.3, from P bd Select the next set of non-p n2 ,p n3 point, and repeat the judgment process in steps 1.2.1 and 1.2.2 until P bd All points in have been judged;

[0028] Step 1.2.4, after completing the above steps, tree Select the next point and repeat the judgment process from steps 1.2.1 to 1.2.3 until P tree All points in are processed, and an m×3 boundary triangle matrix M is output, where m represents the number of boundary triangles contained in the final boundary surface, and each row of the matrix is ​​a three-dimensional vector representing the coordinates of one of the vertices of the boundary triangle;

[0029] Step 1.2.5, initialize a set Bou that stores the boundary triangles of a single polyhedron 1And queue Q: First, enqueue the points of the first-row boundary triangle in matrix M into Q. Dequeue them one by one and search for and delete the rows in the boundary triangle matrix M where these points exist, that is, all the boundary points connected to the current point, until the search is completed. Then store these points in set Bou 1 ;

[0030] Step 1.2.6, initialize the boundary point set Bou i , i≠1, query boundary points in the boundary triangle matrix M in sequence according to Step 1.2.5 until the processing is completed, and output all the boundary point sets {Bou 1 , Bou 2 , …, Bou n}}, where n is the total number of single tree clusters queried;

[0031] Step 1.2.7, calculate the bounding box of the boundary point set Bou i , find the maximum coordinate values x i , y max , z max in Bou max and the minimum coordinate values of x min , y min , z min . Take out the coordinate points p tree from P i that satisfy formula (2) i (x i , y i ),

[0032]

[0033] Put the coordinate points p i that satisfy formula (2) into the single tree cluster set where i corresponds to Bou i .

[0034] Step 1.3 is specifically as follows:

[0035] Step 1.3.1, determine the maximum value z max and the minimum value z min of the z coordinate axis in the tree point cloud data. Calculate the height H of the entire scene through formula (3),

[0036] H = z max - z min (3)

[0037] Set the proportion of the reserved bottom height to the scene height as h, where 0 < h < 1. Select the points p tree in P i whose zi (x i ,y i ,z i ),

[0038] z min ≤z i ≤h×z min (4)

[0039] In formula (4), 0 <h<1;

[0040] Step 1.3.2, z selected in step 1.3.1 i The point p that satisfies the conditions i Depend on Indicates that N retain Initialize a candidate seed point set C for the number of points to be retained 1 , randomly from P retain Pick a point and insert it into C 1 In the search, the ball is searched in a neighborhood with a radius of R. retain Search point p i Neighborhood points of C 1 middle;

[0041] Step 1.3.3, C 1 All points in C are searched according to the neighborhood search ball in step 1.3.1 until C 1 Until the number of points in the 1 The point in P retain , and continue to initialize a new set of candidate seed points C according to the above operations i (i>1), the updated P retain Follow steps 1.3.1 and 1.3.2 until P retain All the points in have been processed;

[0042] Step 1.3.4: Set the candidate seed point set C i The point with the smallest coordinate value under the z-axis is used as the tree seed point. If a single tree cluster contains only one seed point, it is identified as a single tree cluster, and a single tree is directly extracted and obtained from P. tree and Σ tree Delete the tree points and polyhedrons corresponding to this tree. If a single tree cluster contains multiple seed points, it is identified as a multi-tree cluster;

[0043] Step 1.3.5: insert all seed points contained in the identified multi-tree cluster into the seed point set in ascending order of height And get the final P tree ={p 1 ,p2 ,…,p t},Σ tree ={Σ 1 ,Σ 2 ,…,Σ Σn}, where N tree , t and Σ n They represent the number of remaining single trees, the number of remaining tree points, and the number of polyhedrons corresponding to the remaining multi-tree clusters, respectively.

[0044] Step 2 is as follows:

[0045] Step 2.1: Set the seed points And the undivided tree point set P tree ={p i (x i ,y i ,z i )|p 1 ,p 2 ,…,p t} Arrange and update in ascending order according to the height of each point. Assume S = {1, 2}, P tree ={1,2,3,4,5,6,7}, initialize a queue Q, and queue the seed point set S = {1,2} in ascending order. At this time, Q = {1,2}, dequeue the points in Q one by one, and in Σ tree ={Σ 1 ,Σ 2 ,…,Σ Σn}Search for the points connected to it in the topological structure corresponding to the midpoint;

[0046] Step 2.2, remove point 1 from the queue and search for the point set directly connected to point 1 as {4,7}, mark {4,7} with the same label as point 1, and queue {4,7} in ascending order of height, at this time Q = {2,4,7}; remove point 2 from the queue and search for the point set directly connected to point 2 as {3,6}, mark {3,6} with the same label as point 2, and queue {3,6} in ascending order of height, at this time Q = {3,4,6,7}; the points directly connected to points 3 and 4 have been marked and have the same color, so points {1,2,3,4} are now all identified as backbone points. Point 6 is directly connected to point 5, so first mark point 5 as green. When point 7 is searched, the labels between point 5 and point 7 are different, so mark point 5 as gray and insert it into the boundary point set. At this time, the backbone point set and boundary point set are P respectively. backbone ={1,2,3,4,6,7},P boundary ={5};

[0047] Step 2.3: Follow step 2.2 to convert the undivided tree point set P treeProcess them sequentially to obtain the backbone point set of a single independent multi-tree cluster And the boundary point set N backbone is the number of backbone points, N boundary is the number of boundary points. The backbone points obtained can be segmented directly, while the perceived boundary points need to be further analyzed for ecological structure based on the two nearest segmented single trees.

[0048] Step 3 is as follows:

[0049] Step 3.1, given a multi-tree cluster polyhedron topology Σ i = {V i ,E i ,W i} and the path p between the boundary point and the seed point th = {v 1 ,v 2 ,…,v k}, p th The weight is recorded as w(p th ), is the sum of the weights of each edge in the path, w(p th ) is calculated by formula (5),

[0050]

[0051] In formula (5), w(v j-1 ,v j ) is point v j-1 To point v j The weight of

[0052] According to formula (6), the transmission distance is minimized. If w(u, v) exists and is the smallest, the transmission distance is equal to w(u, v). Otherwise, w(u, v) is considered to be infinite.

[0053]

[0054] In formula (6), u and v are boundary points and seed points respectively, and p th is the path from point u to point v;

[0055] Step 3.2, sort all transmission distances in ascending order, and take out the first and second distances, i.e. the closest distance w 1 And the next close distance w 2 , the seed points corresponding to these two transmission distances are s 1 and 2 , the current point sets of Tree1 and Tree2 are and N tree 2},N tree 1 and N tree 2 is the number of single tree points currently segmented;

[0056] Set the spherical neighborhood radius to r = 0.25 and search for the boundary point t 1 The current centroid c of Tree1 and Tree2 1 and c 2 , and the local centroid c of the boundary points 3 Calculated by formula (7):

[0057]

[0058] In formula (7), j = 1, 2, 3;

[0059] Step 3.3, based on the growth law of branch length and trunk radius in ecological theory, the transmission distance is scaled by 2 / 3 exponentially. The scaled transmission distance is expressed by formula (8), where R is the circle fitting radius that retains the bottom point cloud data,

[0060]

[0061] In formula (8), i = 1, 2;

[0062] Step 3.4: For trees and shrubs without obvious trunks, the radius of the circle after fitting is the average of all bottom circle fitting results of multi-tree clusters, and sets The scaling index k represents the ratio of the crown to the shrubs, and the vector and The angle β 1 is the centroid angle, vector and The angle θ 1 is the vertical angle, where e 1 is the intersection of the horizontal and vertical lines, β i ,θ i Calculated by formula (9), For vector The model,

[0063]

[0064] Step 3.5, Regularization β 1 ,β 2 ,θ 1 ,θ 2 ,w1 ,w 2 :

[0065]

[0066] Step 3.6, based on the three constraints of transmission distance, centroid angle and vertical angle, a method of ecological structure probability analysis is proposed. Its formula is shown in formula (11), which represents the boundary point t 1 The probability that the tree should be identified as the target tree, The term reduces the probability of belonging to a non-target tree, while Items and The function of the term is to increase the probability that the boundary point belongs to the target tree.

[0067]

[0068] In formula (11), a+b+c=1;

[0069] Step 3.7, compare Pr 1 , Pr 2 , if Pr 1 >Pr 2 , the boundary point is considered to belong to Tree1, otherwise, it is considered to belong to Tree2. The boundary points are processed according to steps 3.1-3.6 until the queue Q is empty, and the backbone point set of a single independent multi-tree cluster is obtained. And the boundary point set j is the number of individual trees, is the number of backbone points, is the number of boundary points, and finally the backbone point set with the same j and the boundary point set are combined into the final single tree set As shown in formula (12)

[0070]

[0071] The beneficial effects of the present invention are:

[0072] The present invention proposes a single tree extraction method based on boundary point perception and ecological structure probability analysis, which can be applied to outdoor scene perception, obstacle detection of automatic driving of new energy vehicles, etc. In the process of extracting a single tree, there is no need to set a large number of artificial experience parameters, and there is no need to constrain the trunk and tree vertices. Single trees (including shrubs) can be directly extracted from complex outdoor scenes, enriching the relevant method system of tree detection and single tree extraction, and promoting its application in outdoor scene perception and understanding under three-dimensional visual intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1It is a framework of a single tree extraction method based on boundary point perception and ecological structure probability analysis of the present invention;

[0074] Figure 2 A tree cluster polyhedron graph generated for the present invention;

[0075] Figure 3 It is the bottom clustering and seed point identification diagram of the present invention;

[0076] Figure 4 The backbone point segmentation and boundary point perception map based on the highly ascending queue of the present invention;

[0077] FIG5 is a schematic diagram of the ecological structure analysis of the boundary points of the present invention, wherein FIG5(a) is an ecological probability analysis diagram, FIG5(b) is a schematic diagram of the centroid deviation angle, and FIG5(c) is a schematic diagram of the vertical angle. DETAILED DESCRIPTION

[0078] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0079] Example 1

[0080] This embodiment provides a single tree extraction method based on boundary point perception and ecological structure probability analysis. Figure 1 As shown, the following steps are included:

[0081] Step 1: construct a polyhedron of tree points through Delaunay, extract seed points under a certain height threshold using Euclidean clustering, and detect multiple tree clusters based on the number of seed points. Specifically:

[0082] Step 1.1: Use Bowyer-Watson to tetrahedronize the tree points and generate the topological structure. The specific process is as follows:

[0083] Step 1.1.1, construct a large tetrahedron covering all tree point sets, use it as the starting point of the Delaunay tetrahedron mesh, and record its four vertex information.

[0084] Step 1.1.2, P tree The data points in are added to the updated tetrahedral mesh one by one. Each time a tree point is added to the tetrahedral mesh, a tetrahedral mesh update is performed, and a new tetrahedral mesh is continuously formed and updated in real time.

[0085] Step 1.1.3, whenever P tree The new point p in i When inserted into a Delaunay tetrahedral mesh, identify and remove those tetrahedral meshes whose circumscribed spheres contain p i The tetrahedral elements of the mesh are replaced but their boundary structure is preserved, thus creating a Delaunay interior hole in the mesh.

[0086] Step 1.1.4, connect the new point p i Together with all the vertices on the void boundary, a new tetrahedron mesh is formed. These newly generated tetrahedrons all meet the Delaunay void sphere criterion and are therefore all Delaunay tetrahedrons.

[0087] Step 1.1.5, when P tree After the points in are inserted, the large tetrahedron containing the entire point set is deleted, and finally a tree point polyhedron composed of Delaunay tetrahedrons is generated. ∑={V,E},V=P tree ={p i (x i ,y i ,z i )|i=1,2,3,…,N tree}, where x i ,y i ,z i For point p i The three-dimensional coordinate information of E={e ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈P tree},e ij It is the point p i and point p j The connected edges;

[0088] Step 1.1.6, take out the edge set E in the polyhedron ∑ = {V, E}, and iteratively calculate each element e in E ij (p i ,p j ), that is, the Euclidean distance of the point and Point The Euclidean distance w ij , w ij It can be calculated by formula (1), where and Point p i ,p j 3D coordinate information of

[0089]

[0090] Weight set W = {w ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈Ptree}, generate the final tree point weighted topology Σ={V,E,W}, such as Figure 2 shown.

[0091] Step 1.2: Use Alpha-shape to separate the independent tree cluster polyhedra. The specific process is:

[0092] Step 1.2.1, from the point set P tree Randomly select a point p from n1 , initialize the new point set P bd , P bd Contains all n1 Points whose distance is no more than 2α, then from P bd Pick two points p from n2 ,p n3 , and calculate the centers o of the two spheres with radius α passing through these three points 1 ,o 2 ;

[0093] Step 1.2.2, traverse the point set P bd , calculate the distance from each point to the center of the sphere o 1 ,o 2 The distance from each point to the center of the sphere o is formed 1 Distance set d 1 , each point to the center of the sphere o 2 Distance set d 2 , if d 1 ,d 2 At least one set contains a distance value greater than or equal to α, then determine p n1 ,p n2 ,p n3 is the edge contour point, triangle p n1 ,p n2 ,p n3 is the boundary triangle. Otherwise, if d 1 ,d 2 The distance values ​​in are all less than α, which means that p n1 ,p n2 ,p n3 If it is not an edge contour point, stop traversal and proceed to the next step;

[0094] Step 1.2.3, from P bd Select the next set of non-p n2 ,p n3 point, and repeat the judgment process in steps 1.2.1 and 1.2.2 until P bd All points in have been judged;

[0095] Step 1.2.4, after completing the above steps, tree Select the next point and repeat the judgment process from steps 1.2.1 to 1.2.3 until P tree All points in are processed, and an m×3 boundary triangle matrix M is output, where m represents the number of boundary triangles contained in the final boundary surface, and each row of the matrix is ​​a three-dimensional vector representing the coordinates of one of the vertices of the boundary triangle;

[0096] Step 1.2.5, initialize a set Bou that stores the boundary triangles of a single polyhedron 1 And queue Q: first, queue the points of the first row of boundary triangles in matrix M into Q, dequeue them one by one, and search and delete the rows with this point in the boundary triangle matrix M, that is, all boundary points connected to the current point, until the search is completed, and then store these points in the set Bou 1 middle;

[0097] Step 1.2.6, initialize the boundary point set Bou i , i≠1, follow step 1.2.5 to query the boundary points in the boundary triangle matrix M in turn until the processing is completed, and output all the boundary point sets {Bou 1 ,Bou 2 ,…,Bou n}, n is the total number of single tree clusters queried;

[0098] Step 1.2.7, calculate the boundary point set Bou i The bounding box of Bou i The maximum coordinate value x max ,y max ,z max and the minimum coordinate x min ,y min ,z min , from P tree Take out the coordinate point p that satisfies formula (2) i (x i ,y i ,z i ),

[0099]

[0100] The coordinate point p that satisfies formula (2) i Put into a single tree cluster collection Where i and Bou i Corresponding.

[0101] Step 1.3, identify the tree seed points in a single tree cluster, and detect multiple tree clusters based on the number of seed points. The specific process is:

[0102] Step 1.3.1

[0103] Step 1.3.1, determine the maximum value z and the minimum value z of the z-axis in the tree point cloud data. Calculate the height H of the entire scene through formula (3). max and the minimum value z min , and calculate the height H of the entire scene through formula (3).

[0104] H = z max - z min (3)

[0105] Set the proportion of the reserved bottom height to the scene height as h, where 0 < h < 1, and select P according to formula (4). Select the points p(x, y, z) in P that satisfy the condition: z ≤ z ≤ h × z (4). In formula (4), 0 < h < 1. tree in z i Satisfy the qualified points p i (x i , y i , z i )

[0106] z min ≤ z i ≤ h × z min (4)

[0107] In formula (4), 0 < h < 1;

[0108] Step 1.3.2, the points p selected in Step 1.3.1 that satisfy the condition are represented by, N is the number of reserved points, initialize a candidate seed point set C, randomly select a point from P and insert it into C, search for the neighborhood points of point p in P according to the neighborhood search sphere with radius R, and insert the neighborhood points into C; i Satisfy the qualified points p i From represented by, N retain is the number of reserved points, initialize a candidate seed point set C, randomly select a point from P and insert it into C, search for the neighborhood points of point p in P according to the neighborhood search sphere with radius R, and insert the neighborhood points into C; 1 in P retain Select a point and insert it into C 1 Search for the neighborhood points of point p in P according to the neighborhood search sphere with radius R, and insert the neighborhood points into C; retain in P i of the neighborhood points, and insert the neighborhood points into C 1 in;

[0109] Step 1.3.3, search all the points in C according to the neighborhood search sphere in Step 1.3.1 until the points in C no longer increase, delete the points in C from P, and continue to initialize a new candidate seed point set C (i > 1) according to the above operation. Process the updated P according to Step 1.3.1 and Step 1.3.2 until all the points in P are processed; 1 in C 1 Search all the points in C according to the neighborhood search sphere in Step 1.3.1 until the points in C no longer increase, delete the points in C from P, and continue to initialize a new candidate seed point set C (i > 1) according to the above operation. Process the updated P according to Step 1.3.1 and Step 1.3.2 until all the points in P are processed; 1 in C retain from P i (i > 1), and process the updated P according to Step 1.3.1 and Step 1.3.2 until all the points in P are processed; retain in P retain until all the points in P are processed;

[0110] Step 1.3.4: Set the candidate seed point set C i The point with the smallest coordinate value under the z-axis is used as the tree seed point. If a single tree cluster contains only one seed point, it is identified as a single tree cluster, and a single tree is directly extracted and obtained from P. tree and Σ tree Delete the tree points and polyhedrons corresponding to this tree. If a single tree cluster contains multiple seed points, it is identified as a multi-tree cluster;

[0111] Step 1.3.5: insert all seed points contained in the identified multi-tree cluster into the seed point set in ascending order of height And get the final P tree ={p 1 ,p 2 ,…,p t}, Here N tree , t and Σ n Represent the number of remaining single trees, the number of remaining tree points, and the number of polyhedrons corresponding to the remaining multi-tree clusters, respectively. Figure 3 As shown, N tree =20,∑ n =4.

[0112] Step 2: After determining the multi-tree clusters, determine the labels of the backbone points and perceive the boundary points through the topological structure of the tree points and the highly ascending queue.

[0113] Step 3, construct ecological probability distribution to determine the final labels of boundary points, and finally combine the backbone points and boundary points to achieve the extraction of single trees.

[0114] Example 2

[0115] This embodiment provides a single tree extraction method based on boundary point perception and ecological structure probability analysis. Based on Embodiment 1, step 2 is specifically as follows:

[0116] Step 2.1: Set the seed points And the undivided tree point set P tree ={p i (x i ,y i ,z i )|p 1 ,p 2 ,…,p t} Arrange and update in ascending order according to the height of each point. Assume S = {1, 2}, P tree ={1,2,3,4,5,6,7}, such as Figure 4As shown in the figure, different colors represent different labels, and gray points represent unsegmented points. Based on this assumption, the subsequent steps are described. A queue Q is initialized, and the seed point set S = {1, 2} is queued in highly ascending order. At this time, Q = {1, 2}, and the points in Q are dequeued one by one, and Search for points connected to the midpoint in the topological structure corresponding to the midpoint;

[0117] Step 2.2, remove point 1 from the queue and search for the point set directly connected to point 1 as {4,7}, mark {4,7} with the same color as point 1, and queue {4,7} in ascending order of height, at this time Q = {2,4,7}; remove point 2 from the queue and search for the point set directly connected to point 2 as {3,6}, mark {3,6} with the same color as point 2, and queue {3,6} in ascending order of height, at this time Q = {3,4,6,7}; the points directly connected to points 3 and 4 have been marked and have the same color, so points {1,2,3,4} are now all identified as backbone points; if Figure 4 As shown in the figure, point 6 is directly connected to point 5, so point 5 is first marked as green. However, when point 7 is searched, it is found that point 5 is different in color from it, so point 5 is marked as gray and inserted into the boundary point set. At this time, the backbone point set and the boundary point set are P backbone ={1,2,3,4,6,7},P boundary ={5}.

[0118] Step 2.3: Follow step 2.2 to convert the undivided tree point set P tree Process them sequentially to obtain the backbone point set of a single independent multi-tree cluster And the boundary point set N backbone is the number of backbone points, N boundary is the number of boundary points. The backbone points obtained can be segmented directly, while the perceived boundary points need to be further analyzed for ecological structure based on the two nearest segmented single trees.

[0119] Example 3

[0120] This embodiment provides a single tree extraction method based on boundary point perception and ecological structure probability analysis. Based on Embodiment 1-2, step 3 is specifically as follows:

[0121] Step 3.1,

[0122] Given a multi-tree cluster polyhedron topology Σ i = {V i ,E i ,W i} and the path p between the boundary point and the seed point th= {v 1 ,v 2 ,…,v k}, p th The weight is recorded as w(p th ), is the sum of the weights of each edge in the path, w(p th ) is calculated by formula (5),

[0123]

[0124] In formula (5), w(v j-1 ,v j ) is point v j-1 To point v j The weight of

[0125] According to formula (6), the transmission distance is minimized. If w(u, v) exists and is the smallest, the transmission distance is equal to w(u, v). Otherwise, w(u, v) is considered to be infinite.

[0126]

[0127] In formula (6), u and v are boundary points and seed points respectively, and p th is the path from point u to point v;

[0128] Step 3.2, sort all transmission distances in ascending order, and take out the first and second distances, i.e. the closest distance w 1 And the next close distance w 2 , the seed points corresponding to these two transmission distances are s 1 and 2 , the current point sets of Tree1 and Tree2 are and N tree 1 and N tree 2 is the number of single tree points currently segmented;

[0129] Set the spherical neighborhood radius to r = 0.25 and search for the boundary point t 1 The current centroid c of Tree1 and Tree2 1 and c 2 , and the local centroid c of the boundary points 3 Calculated by formula (7):

[0130]

[0131] In formula (7), j = 1, 2, 3;

[0132] Step 3.3, based on the growth law of branch length and trunk radius in ecological theory, the transmission distance is scaled by 2 / 3 exponentially. The scaled transmission distance is expressed by formula (8), where R is the circle fitting radius that retains the bottom point cloud data,

[0133]

[0134] In formula (8), i = 1, 2;

[0135] Step 3.4, such as Figure 5(a)-Figure 5(c) As shown, the vector and The angle β 1 is the centroid angle, vector and The angle θ 1 is the vertical angle, where e 1 is the intersection of the horizontal and vertical lines, β i ,θ i Calculated by formula (9), For vector The model,

[0136]

[0137] Step 3.5, Regularization β 1 ,β 2 ,θ 1 ,θ 2 ,w 1 ,w 2 ::

[0138]

[0139] Step 3.6, based on the three constraints of transmission distance, centroid angle and vertical angle, a method for probabilistic analysis of ecological structure is designed. Its formula is shown in formula (11), which represents the boundary point t 1 The probability that the tree should be identified as the target tree, The term reduces the probability of belonging to a non-target tree, while Items and The function of the term is to increase the probability that the boundary point belongs to the target tree.

[0140]

[0141] In formula (11), a+b+c=1;

[0142] Step 3.7, compare Pr 1 , Pr 2 , if Pr 1 >Pr 2, the boundary point is considered to belong to Tree1, otherwise, it is considered to belong to Tree2. The boundary points are processed according to steps 3.1-3.6 until the queue Q is empty, and the backbone point set of a single independent multi-tree cluster is obtained. And the boundary point set j is the number of individual trees, is the number of backbone points, is the number of boundary points, and finally the backbone point set with the same j and the boundary point set are combined into the final single tree set As shown in formula (12),

[0143]

Claims

1. A single tree extraction method based on boundary point perception and ecological structure probability analysis, characterized in that: The following steps are involved: Step 1: construct a polyhedron of tree points through Delaunay, extract seed points under a certain height threshold using Euclidean clustering, and detect multiple tree clusters based on the number of seed points; Step 2: After determining the multi-tree cluster, determine the labels of the backbone points and perceive the boundary points through the topological structure of the tree points and the highly ascending queue; Step 3, construct ecological probability distribution to determine the final labels of boundary points, and finally combine the backbone points and boundary points to achieve the extraction of single trees.

2. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 1 is characterized in that: The step 1 is specifically as follows: Step 1.1, tetrahedron decomposition of tree points and generation of topological structure; Step 1.2, separate the independent tree cluster polyhedra; Step 1.3, identify the tree seed points in a single tree cluster, and detect multiple tree clusters based on the number of seed points.

3. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 2 is characterized in that: The step 1.1 is specifically as follows: Step 1.1.1, construct a point set P covering all tree points tree The large tetrahedron is used as the starting point of the Delaunay tetrahedron mesh and its four vertex information is recorded; Step 1.1.2, P tree The data points in are added to the updated tetrahedral mesh one by one. Each time a tree point is added to the tetrahedral mesh, a tetrahedral mesh update is performed, and a new tetrahedral mesh is continuously formed and updated in real time. Step 1.1.3, whenever P tree The new point p in i When inserted into a Delaunay tetrahedral mesh, identify and remove those tetrahedral meshes whose circumscribed spheres contain p i The tetrahedral elements of the mesh are replaced but their boundary structure is preserved, thus creating a Delaunay interior hole in the mesh. Step 1.1.4, connect the new point p i Together with all the vertices on the void boundary, a new tetrahedron mesh is formed. These newly generated tetrahedrons all meet the Delaunay void sphere criterion and are therefore all Delaunay tetrahedrons. Step 1.1.5, when P tree After the points in are inserted, the large tetrahedron containing the entire point set is deleted, and finally a tree point polyhedron Σ={V,E}, V=P is generated, which is composed of Delaunay tetrahedrons. tree ={p i (x i ,y i ,z i )|i=1,2,3,…,N tree }, where x i ,y i ,z i For point p i The three-dimensional coordinate information of E={e ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈P tree },e ij It is the point p i and point p j The connected edges; Step 1.1.6, take out the edge set E in the polyhedron ∑ = {V, E}, and iteratively calculate each element e in E ij (p i ,p j ), that is, the Euclidean distance of the point and Point The Euclidean distance w ij , w ij Calculated by formula (1), where and Point p i ,p j 3D coordinate information of In formula (1), 1≤i≠j≤n; Weight set W = {w ij (p i ,p j )|1≤i≠j≤N tree , p i ,p j ∈P tree }, generate the final tree point weighted topology ∑ = {V, E, W}.

4. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 2 is characterized in that: The step 1.2 is specifically as follows: Step 1.2.1, from the point set P tree Randomly select a point p from n1 , initialize the new point set P bd , P bd Include all points whose distance from p1 is no more than 2α, and then from P bd Pick two points p from n2 ,p n3 , and calculate the centers o1 and o2 of the two spheres with radius α that pass through these three points; Step 1.2.2, traverse the point set P bd , calculate the distance from each point to the center o1, o2 respectively, and form the distance set d1 from each point to the center o1 and the distance set d2 from each point to the center o2 respectively. If at least one of the sets d1 and d2 contains a distance value greater than or equal to α, then determine p n1 ,p n2 ,p n3 is the edge contour point, triangle p n1 ,p n2 ,p n3 That is, it is a boundary triangle. On the contrary, if the distance values ​​in d1 and d2 are both less than α, it means that p n1 ,p n2 ,p n3 If it is not an edge contour point, stop traversal and proceed to the next step; Step 1.2.3, and repeat the judgment process in steps 1.2.1 and 1.2.2 until P bd All points in have been judged; Step 1.2.4, after completing the above steps, tree Select the next point and repeat the judgment process from steps 1.2.1 to 1.2.3 until P tree All points in are processed, and an m×3 boundary triangle matrix M is output, where m represents the number of boundary triangles contained in the final boundary surface, and each row of the matrix is ​​a three-dimensional vector, representing the coordinates of one of the vertices of a boundary triangle; Step 1.2.5, initialize a set Bou1 and a queue Q for storing the boundary triangles of a single polyhedron: first, queue the points of the first row of boundary triangles in the matrix M into Q, dequeue them one by one, and search and delete the rows containing these points in the boundary triangle matrix M, that is, all boundary points connected to the current point, until the search is completed, and then store these points in the set Bou1; Step 1.2.6, initialize the boundary point set Bou i , i≠1, follow step 1.2.5 to query the boundary points in the boundary triangle matrix M in turn until the processing is completed, and output all the boundary point sets {Bou1, Bou2,…, Bou n }, n is the total number of single tree clusters queried; Step 1.2.7, calculate the boundary point set Bou i The bounding box of Bou i The maximum coordinate value x max ,y max ,z max and the minimum coordinate x min ,y min ,z min , from P tree Take out the coordinate point p that satisfies formula (2) i (x i ,y i ,z i ), The coordinate point p that satisfies formula (2) i Put into a single tree cluster collection Where i and Bou i Corresponding.

5. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 2 is characterized in that: The step 1.3 is specifically as follows: Step 1.3.1, determine the maximum value of the z coordinate axis in the tree point cloud data max and the minimum value z min , through formula (3), the height H of the entire scene is calculated, H=z max -z min (3) Set the ratio of the reserved bottom height to the scene height as h, where 0 < h < 1, and select P according to formula (4). tree where z i Satisfy the points p that meet the conditions i (x i , y i , z i ). With min ≤of i ≤h×z min (4) In formula (4), 0 <h<1; Step 1.3.2, z selected in step 1.3.1 i The point p that satisfies the conditions i Depend on N retain Initialize a candidate seed point set C1 to store the number of points to be retained, and randomly select retain Pick a point And insert it into C1, search the ball in P according to the neighborhood with radius R retain Search point p i Neighborhood points of and insert the neighborhood points into C1; Step 1.3.3, search all points in C1 according to the neighborhood search ball in step 1.3.1 until the number of points in C1 stops increasing, and remove the points in C1 from P retain , and continue to initialize a new set of candidate seed points C according to the above operations i , i>1, the updated P retain Follow steps 1.3.1 and 1.3.2 until P retain All the points in have been processed; Step 1.3.4: Set the candidate seed point set C i The point with the smallest coordinate value under the z-axis is used as the tree seed point. If a single tree cluster contains only one seed point, it is identified as a single tree cluster, and a single tree is directly extracted and obtained from P. tree and∑ tree Delete the tree points and polyhedrons corresponding to this tree. If a single tree cluster contains multiple seed points, it is identified as a multi-tree cluster; Step 1.3.5: insert all seed points contained in the identified multi-tree cluster into the seed point set in ascending order of height And get the final P tree ={p1,p2,…,p t }, Here N tree , t and ∑ n They represent the number of remaining single trees, the number of remaining tree points, and the number of polyhedrons corresponding to the remaining multi-tree clusters, respectively.

6. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 1 is characterized in that: The step 2 is specifically as follows: Step 2.1: Set the seed points And the undivided tree point set P tree ={p i (x i ,y i ,z i )|p1,p2,…,p t } Arrange and update in ascending order according to the height of each point. Assume S = {1, 2}, P tree ={1,2,3,4,5,6,7}, initialize a queue Q, and queue the seed point set S = {1,2} in ascending order. At this time, Q = {1,2}, and dequeue the points in Q one by one, and Search for points connected to the midpoint in the topological structure corresponding to the midpoint; Step 2.2, dequeue point 1 and search for the point set directly connected to point 1 as {4,7}, mark {4,7} with the same label as point 1, and queue {4,7} in ascending order of height, at this time Q = {2,4,7}; dequeue point 2 and search for the point set directly connected to point 2 as {3,6}, mark {3,6} with the same label as point 2, and queue {3,6} in ascending order of height, at this time Q = {3,4,6,7}; the points directly connected to points 3 and 4 have been marked and have the same color, so points {1,2,3,4} are now all identified as backbone points, point 6 is directly connected to point 5, so first mark point 5 as green, when point 7 is searched, the labels between point 5 and point 7 are different, so mark point 5 as gray and insert it into the boundary point set, then the backbone point set and boundary point set are P respectively. backbone ={1,2,3,4,6,7},P boundary ={5}; Step 2.3: Follow step 2.2 to convert the undivided tree point set P tree Process them sequentially to obtain the backbone point set of a single independent multi-tree cluster And the boundary point set N backbone is the number of backbone points, N boundary is the number of boundary points. The backbone points obtained can be segmented directly, while the perceived boundary points need to be further analyzed for ecological structure based on the two nearest segmented single trees.

7. The single tree extraction method based on boundary point perception and ecological structure probability analysis according to claim 6 is characterized in that: The step 3 is specifically as follows: Step 3.1, given a multi-tree cluster polyhedron topology ∑ i = {V i ,E i ,W i } and the path p between the boundary point and the seed point th ={v1,v2,…,v k }, p th The weight is recorded as w(p th ), is the sum of the weights of each edge in the path, w(p th ) is calculated by formula (5), In formula (5), w(v j-1 ,v j ) is point v j-1 To point v j The weight of According to formula (6), the transmission distance is minimized. If w(u,v) exists and is the smallest, the transmission distance is equal to w(u,v). Otherwise, w(u,v) is considered to be infinite. In formula (6), u and v are boundary points and seed points respectively, and p th is the path from point u to point v; Step 3.2, sort all the transmission distances in ascending order, and take out the first and second distances, i.e. the closest distance w1 and the second closest distance w2. The seed points corresponding to these two transmission distances are s1 and s2 respectively. The current point sets of Tree1 and Tree2 are and N tree1 and N tree2 is the number of single tree points currently segmented; Set the spherical neighborhood radius to r = 0.25 and search for the neighborhood points of the boundary point t1. Then the centroids c1 and c2 of the current Tree1 and Tree2, and the local centroid c3 of the boundary point are calculated by formula (7): In formula (7), j = 1, 2, 3; Step 3.3, based on the growth law of branch length and trunk radius in ecological theory, the transmission distance is scaled by 2 / 3 exponentially. The scaled transmission distance is expressed by formula (8), where R is the circle fitting radius that retains the bottom point cloud data, In formula (8), i = 1, 2; Step 3.4: For trees and shrubs without obvious trunks, the radius of the circle after fitting is the average of all bottom circle fitting results of multi-tree clusters, and sets The scaling index k represents the ratio of the crown to the shrubs, and the vector and The angle β1 is the centroid angle, and the vector and The angle θ1 is the vertical angle, where e1 is the intersection of the horizontal line and the vertical line, β i ,θ i Calculated by formula (9), For vector The model, Step 3.5, regularize β1,β2,θ1,θ2,w1,w2: Step 3.6, based on the three constraints of transmission distance, centroid angle and vertical angle, a method of ecological structure probability analysis is proposed. Its formula is shown in formula (11), which represents the probability that the boundary point t1 should be identified as the target tree. The term reduces the probability of belonging to a non-target tree, while Items and The function of the term is to increase the probability that the boundary point belongs to the target tree. In formula (11), a+b+c=1; Step 3.7, compare Pr1 and Pr2. If Pr1>Pr2, the boundary point is considered to belong to Tree1. Otherwise, it is considered to belong to Tree2. Process the boundary points according to steps 3.1 to 3.6 until the queue Q is empty, and obtain the backbone point set of a single independent multi-tree cluster. And the boundary point set j is the number of individual trees, is the number of backbone points, is the number of boundary points, and finally the backbone point set with the same j and the boundary point set are combined into the final single tree set As shown in formula (12)

Citation Information

Cited By

  • Data-driven section non-transferable transmission power boundary multi-stage accurate characterization method

    CN119740057A