A tree digital twin method based on ground-based lidar point cloud
Through multi-station scanning of ground-based lidar point clouds and morphological graphics methods, the problem of difficulty in obtaining internal structural information of trees is solved, high-precision digital twins of trees are achieved, and the problems of incomplete tree modeling details and unrealistic branch construction are overcome. .
Patent Information
- Application Number
- CN202210606253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing technology is difficult to accurately obtain the internal structure information of trees, resulting in poor digital twin effects of trees, especially defects and shape distortion problems in the modeling of leaves and small branches.
Using multi-station scanning technology based on ground-based lidar point clouds, combined with morphological and graphics methods, through denoising, branch and leaf separation, Euclidean distance clustering and Alpha-shape algorithms, the leaves and branches were analyzed using the Drone triangulation network. High-precision modeling realizes highly restored digital twins of trees.
It achieves high-precision and high-reduction digital twins of trees, overcomes the problems of unrealistic tree structures and imprecise organ modeling, and provides a more accurate three-dimensional tree model.
Smart Images

Figure CN115018982B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of ground-based laser radar point cloud data processing, and in particular relates to a tree digital twin method based on ground-based laser radar point cloud. Background Art
[0002] Trees are a vital part of the ecology of terrestrial ecosystems. In-depth research on the growth, development and phenotypic traits of trees at various stages requires high-precision digital twins of trees. To study the role of trees in the ecosystem at various stages, the organs of trees can be divided into photosynthetic organs and non-photosynthetic organs, that is, leaf components and wood components. The three-dimensional model of trees has a history of several decades. The earliest scholars tried to scan and model trees using oblique photogrammetry. However, optical measurement cannot effectively penetrate the forest to obtain vertical structural information inside the canopy. The occlusion of leaves will make it impossible to accurately obtain branch information, so branches can only be randomly generated through plant phenotypic knowledge, which is very different from the real tree data and cannot achieve the effect of digital twins.
[0003] To make up for this shortcoming, the introduction of LiDAR (Light Detection And Ranging) technology makes it possible to obtain information about the internal structure of the forest and more accurately invert leaf area. LiDAR is an active remote sensing technology that has developed rapidly in recent years. It has strong penetration and can provide three-dimensional information of the scanned object. Terrestrial Laser Scanning (TLS) can obtain high-precision, high-spatial-resolution three-dimensional geometric structure information on the surface of the target object by measuring it from multiple angles. Compared with optical photogrammetry, it has incomparable advantages in digital twins.
[0004] In the past decade, 3D modeling and digital twinning of trees have been hot research directions in the application of LiDAR in forestry. With the increasing maturity of the branch and leaf separation algorithm, ground-based LiDAR point cloud data can already perform semantic segmentation of tree point clouds. With the continuous improvement of computer vision algorithms and computer graphics methods, ground-based LiDAR 3D point clouds with high spatial resolution and high precision can already perform 3D simulation and organ reconstruction of physical trees in computers, and then perform digital twinning of trees. This is of great value to ecological scene simulation, smart agriculture, virtual reality, metaverse and other fields.
[0005] The digital twin of trees has a history of several decades of research. Domestic and foreign scholars initially used digital photogrammetry to model trees, but were unable to accurately describe the internal structural information of trees. The Sino-French Joint Laboratory of the Institute of Automation, Chinese Academy of Sciences (2007) used the penetration and three-dimensional information of the laser radar to establish a three-dimensional model of tree trunks and branches based on the single-station ground-based laser radar data, combined with the depth image method. However, due to the limited scanning angle of the single-station data, the point cloud data obtained will have large gaps and holes due to the obstruction of wood components during the laser radar scanning process; and the spatial resolution of the single-station scanning point cloud is low, and it is impossible to effectively model the leaves.
[0006] Su Zhonghua et al. (2018) modeled the trunk and local single leaves of trees using multi-station scanning ground-based lidar, but there were problems such as low modeling efficiency, incomplete modeling of small branches, and inability to effectively model all leaf clusters in the canopy. At the same time, during the modeling process, due to the problem of leaf cluster aggregation, the gaps between leaf clusters cannot be removed when establishing the leaf cluster model, resulting in increased leaf cluster volume, increased surface area, and shape distortion, making it impossible to perform a high-fidelity digital twin of the tree. Summary of the invention
[0007] In view of the above-mentioned problems or shortcomings, in order to solve the problem of high-precision and high-reduction digital twins of trees, the present invention provides a tree digital twin method based on ground-based laser radar point cloud. Based on the TLS scanning technology with ultra-high spatial resolution, the present invention combines morphological and graphics methods to perform digital twins on trees, and establishes high-reduction models for the leaves and small branches of trees, getting rid of the problems of unrealistic tree structures and imprecise organ modeling in the past. First, the trees to be treated as digital twins are scanned in a multi-station manner using a ground-based laser radar; then, after filtering and denoising, the tree points are extracted; then, the branch points are extracted using the cylindrical fitting method, and the branches and leaves are separated; for the branch part, the Alpha-shape algorithm is used to model the branch to obtain a branch model; for the leaf part, the Euclidean distance is first clustered to obtain leaf clusters, and then the Delaunay triangulation is used to model the leaf clusters to obtain a leaf model; finally, the branch model and the leaf model are merged to obtain a digital twin tree.
[0008] A tree digital twin method based on ground-based lidar point cloud includes the following steps:
[0009] Step 1: TLS multi-station scanning to obtain target point cloud data;
[0010] During the laser radar scanning process, overlapping leaves and wood components of trees will have a certain shielding effect on the laser, so we need to use multi-station scanning to reduce the loss of tree point cloud data caused by the shielding effect. When scanning with multiple stations, the stations should be set up as evenly as possible along the object to be scanned. After the object is scanned with multiple stations, the data of each station is spliced to obtain the complete ground-based laser radar scanning point cloud data.
[0011] Step 2, denoising and preprocessing the target point cloud data obtained in step 1 for tree point cloud extraction;
[0012] Since the point cloud data obtained by LiDAR scanning is a sampling of objects in the real scene, the original data obtained in step 1 contains irrelevant point clouds such as ground points and other ground object points in addition to the point cloud of the target tree we need. At the same time, during the sampling process, noise points will appear in the sampled point cloud due to interference factors such as wind and flying birds. Therefore, for the original ground-based LiDAR data, basic preprocessing such as point cloud denoising and tree point cloud extraction is required.
[0013] Step 3: Separate the branches and leaves from the point cloud data preprocessed in step 2 to obtain leaf point clouds and branch points:
[0014] Since the point cloud data in the original data only has its coordinate information and no category identification. Therefore, the tree point cloud extracted in step 2 needs to be classified by the branch and leaf separation method, and then the leaf points and wood points in the original point cloud are determined. For ground-based lidar point cloud data, due to its good penetration and high spatial resolution, the contour details of the branches are obtained completely. Compared with leaves, the geometric shape of branches is obvious and easy to extract. Therefore, we use the open source tool LeWoS for branch extraction. LeWoS is a convenient open source extraction algorithm that only requires one parameter to be input. It can efficiently and accurately complete the branch extraction. After extracting the branches, what remains is the leaf point cloud, thereby completing the branch and leaf separation of the point cloud.
[0015] Step 4: Modeling branches and leaves:
[0016] a. Leaf modeling: First, perform Euclidean distance clustering on the point cloud data after the separation of branches and leaves in step 3; then build a model for each leaf cluster separately; finally, accumulate the leaf cluster models to obtain the digital twin of the tree leaf part. Since the curled leaves are relatively flat locally, we use the Droney triangulation to model each leaf cluster. When building the Droney triangulation, we use the Lawson method, and the specific method is as follows:
[0017] (1) A leaf point cloud consisting of points with the same leaf cluster category number is called a leaf cluster. iBuild a triangle convex hull Tri i , where i is the leaf cluster i The subscript of Tri i The subscript means that the leaf cluster category number of the leaf cluster is i, and a one-to-one corresponding triangular convex hull is established. That is to say, each leaf cluster has a corresponding triangular convex hull with the same subscript.
[0018] (2) For the triangular convex hull Tri established in (1) i , insert a leaf cluster into it i Connect the inserted point to the three vertices of the triangle where it is located, and then generate three new triangles.
[0019] Then make circumscribed circles for the three newly generated triangles respectively. If the circumscribed circle of the triangle does not contain the vertices of the already generated triangle, the newly generated triangle is considered to be part of the Droney triangulation. If the circumscribed circle of the triangle contains the vertices of the already generated triangle, the vertex and the three newly generated triangles are deleted.
[0020] (3) In the leaf cluster i Select the points that have not been inserted before and repeat (2) until all leaf clusters are traversed. i All the points within mean that the Droney triangulation model of the leaf cluster is completed.
[0021] Repeat steps (1)-(3) until all leaf clusters are traversed and the model of each leaf cluster is established.
[0022] b. Branch modeling: Since the branches are highly curled, and in actual situations, the density of branches on the surface may be uneven due to problems such as scanning angles and occlusion gaps, we use the Alpha-shape algorithm, which is more tolerant to gaps, to model the branches. The specific method of implementing the Alpha-shape algorithm is as follows:
[0023] In the branch point set, three points that are not on a straight line are randomly selected and recorded as M, N, and P. In three-dimensional space, two spheres with a radius of r can be generated through points M, N, and P, which are recorded as Sphere a and Sphere b .
[0024] If in Sphere a and Sphere bIf there is a sphere in the sphere, which does not contain any point in the branch point set, then the surface composed of these three points is determined to be a surface of the branch model polyhedron and is recorded as a surface of the modeling model. If the above situation does not exist, the surface composed of the three points M, N, and P is not a surface of the modeling model.
[0025] By traversing all combinations of points in the branch point set, the branch model based on the Alpha-shape algorithm is established.
[0026] Step 5: Assign labels and attributes to the leaf model and branch model obtained in step 4 according to actual needs, and then obtain the digital twin of the whole tree.
[0027] Principles involved in step 4:
[0028] Since there is clustering between leaf clusters, if the extracted leaf point cloud is directly modeled, points of different leaves may be classified as the same leaf point for modeling. Therefore, we adopt the solution of clustering the leaf point cloud into leaf clusters based on Euclidean distance first, and then modeling each leaf cluster to avoid the problem of chaotic leaf modeling.
[0029] The present invention first performs multi-station ground-based laser radar scanning on the trees to be digitally twinned to obtain complete ground-based laser radar scanning point cloud data; then performs point cloud preprocessing on the original ground-based laser radar data to complete denoising, tree point cloud extraction and other tasks; then separates the tree point cloud from branches and leaves to obtain its leaf point cloud and branch point cloud; for the leaf point cloud, the Euclidean distance clustering method is used to cluster it at the leaf cluster scale, and on this basis, a leaf model is constructed based on the Drone triangulation network; for the branch point cloud, the Alpha-shape algorithm is used to construct a branch model; finally, the constructed leaf model and branch model are superimposed together to complete the digital twin of the target tree, and the process is as follows: Figure 1 shown.
[0030] To sum up, the present invention makes full use of the high spatial resolution, high precision, and strong penetration of ground-based lidar point cloud data, analyzes the occlusion of the actual scanning time interval of the ground-based lidar, considers leaf aggregation, and combines the morphological characteristics of leaves and branches. It undergoes ground-based lidar multi-station scanning, point cloud preprocessing, branch and leaf separation, leaf cluster Euclidean distance clustering, leaf modeling, and branch modeling; the use of Alpha-shape and Delaunay triangulation algorithm for leaf and branch model fitting effectively overcomes the problems of incomplete details of existing tree digital modeling and unrealistic branch construction, and realizes tree digital twins based on ground-based lidar point cloud data, with high precision and high restoration technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1It is a schematic diagram of the process of the present invention;
[0032] Figure 2 This is a leaf cluster Euclidean distance clustering result diagram of the embodiment;
[0033] Figure 3 This is a diagram of blade modeling results in the embodiment;
[0034] Figure 4 This is a diagram of the branch modeling result of the embodiment;
[0035] Figure 5 This is the tree digital twin result diagram of the embodiment. DETAILED DESCRIPTION
[0036] The present invention is further described in detail below through an example implementation and in conjunction with the accompanying drawings:
[0037] The development environment is MATLAB and Dev-C++5.11, and the programming language is mixed programming of MATLAB and C++.
[0038] Step 1: Use a ground-based laser radar scanner with the model Leica Scan Station C10 to obtain point cloud data of a camphor tree. Considering the complex factors such as the aggregation and occlusion of the leaves and branches of the tree, in order to obtain the three-dimensional point cloud data of the tree more comprehensively and accurately, three stations are set up to perform a surrounding scan of the tree under test, where the angle between adjacent stations among the three stations is 120°.
[0039] Step 2: perform point cloud data preprocessing such as denoising and tree point extraction on the original ground-based laser point cloud obtained in step 1.
[0040] Step 3, separate the branches and leaves of the tree point cloud preprocessed in step 2 to obtain the leaf points and branch points of the tree.
[0041] Step 4: Modeling branches and leaves:
[0042] a. Blade modeling:
[0043] Perform Euclidean distance clustering on the leaf points obtained in step 3 to obtain the leaf cluster point set (such as Figure 2 shown).
[0044] (1) Initialize the leaf cluster category number of the leaf point cloud, and set the leaf cluster category number of all leaf point clouds to 0;
[0045] (2) Take any point P in the leaf point cloud and record its leaf cluster category number as K n , K1=1,K n = n; take P as the center point, search in the leaf point cloud for points whose distance R from P is less than the fixed threshold R thThe points are classified into point set K n , n is a natural number starting from 1; R th The value is 5 mm-3 dm. The larger the leaf size, the greater the R th The bigger;
[0046] The distance R between P and non-P points is calculated as follows:
[0047]
[0048] Where (x, y, z) is the coordinate of point P, (x t ,y t , z t ) are the coordinates of non-P points;
[0049] Traverse the point set K n For all points in the leaf point cloud, search whether there is a point T such that the point set K n There is a point G in the memory such that the distance R between point G and point T is less than a fixed threshold R th ; If it exists, T is included in the point set K n , and repeat the above steps again to search for points that can be incorporated into the point set K n If it does not exist, it means that the point set K n All points within are found;
[0050] (3) Loop through step (2) from K1 to K n The remaining leaf point clouds other than , until there is no point with leaf cluster category number 0 in the leaf point cloud.
[0051] Then, each leaf cluster of the leaf point cloud after Euclidean distance clustering is modeled based on the Droney triangulation network, and the models of each leaf cluster are accumulated to obtain the overall leaf model (such as Figure 3 shown).
[0052] b. Branch modeling: The branch points obtained in step 3 are modeled based on the Alpha-shape algorithm to obtain a branch model (such as Figure 4 shown).
[0053] Step 5: Combine the leaf model and branch model in step 4 to complete the digital twin of the tree (such as Figure 5 shown).
[0054] It can be seen from the above embodiments that the present invention makes full use of the high spatial resolution, high precision, and strong penetration of ground-based lidar point cloud data, analyzes the occlusion of the actual scanning time interval of the ground-based lidar, considers leaf aggregation, and combines the morphological characteristics of leaves and branches. It undergoes ground-based lidar multi-station scanning, point cloud preprocessing, branch and leaf separation, leaf cluster Euclidean distance clustering, leaf modeling, and branch modeling; the use of Alpha-shape and Delaunay triangulation algorithm for leaf and branch model fitting effectively overcomes the problems of incomplete details of existing tree digital modeling and unrealistic branch construction, and realizes tree digital twins based on ground-based lidar point cloud data, with high precision and high restoration technical effects.
Claims
1. A tree digital twin method based on ground-based lidar point cloud, characterized in that: The following steps are involved: Step 1: TLS multi-station scanning to obtain target point cloud data; Step 2, denoising and preprocessing the target point cloud data obtained in step 1 for tree point cloud extraction; Step 3: Separate the branches and leaves from the point cloud data preprocessed in step 2 to obtain leaf point clouds and branch points: Step 4: Modeling branches and leaves: a. Leaf modeling: First, perform Euclidean distance clustering on the leaf point cloud obtained in step 3, then use the Droney triangulation network to build a model for each leaf cluster, and finally accumulate the leaf cluster models to obtain the digital twin of the tree leaf part. The specific method is as follows: (1) A point set consisting of points with the same leaf cluster category number in the leaf point cloud is called a leaf cluster; i Build a triangle convex hull Tri i , where i is the leaf cluster i The subscript of Tri i The subscript of means that the leaf cluster category number of the leaf cluster is i, and a one-to-one corresponding triangular convex hull is established; (2) For the triangular convex hull Tri established in (1) i , insert a leaf cluster into it i Connect the inserted point to the three vertices of the triangle where it is located, and then generate three new triangles; Then make circumscribed circles for the three newly generated triangles respectively. If the circumscribed circle of the triangle does not contain the vertex of the already generated triangle, the newly generated triangle is considered to be part of the Droney triangulation. If the circumscribed circle of the triangle contains the vertex of the already generated triangle, the vertex and the three newly generated triangles are deleted. (3) In the leaf cluster i Select the points that have not been inserted before and repeat (2) until all leaf clusters are traversed. i All the points in it mean that the Droney triangulation model of the leaf cluster is established; Repeat steps (1)-(3) until all leaf clusters have been traversed; b. Branch modeling: Use the Alpha-shape algorithm to model the branch points obtained in step 3, as follows: In the branch point set, three points that are not on a straight line are selected, denoted as M, N, and P. Two spheres with a radius of r are generated through points M, N, and P in three-dimensional space, denoted as Sphere a and Sphere b ; If in Sphere a and Sphere b If there is a sphere in the sphere, which does not contain any point in the branch point set, then the surface composed of these three points is determined to be a surface of the branch model polyhedron and is recorded as a surface of the modeling model; if the above situation does not exist, the surface composed of the three points M, N, and P is not a surface of the modeling model; Traverse all combinations of points in the branch point set, and the branch model based on the Alpha-shape algorithm is established; The Euclidean distance clustering of the leaf point cloud in step 4 is specifically as follows: (1) Initialize the leaf cluster category number of the leaf point cloud, and set the leaf cluster category number of all leaf point clouds to 0; (2) Take any point P in the leaf point cloud and record its leaf cluster category number as K n , K1=1,K n =n; Taking P as the center point, search for the leaf point cloud whose distance R from P is less than the fixed threshold R t The points of h are classified into the point set K n , n is a natural number starting from 1; R t h is 5 mm to 3 dm. When the leaf distribution density remains unchanged, the larger the leaf size, the greater the R t The larger h is; The distance R between P and non-P points is calculated as follows: Where (x, y, z) is the coordinate of point P, (x t ,y t , z t ) are the coordinates of non-P points; Traverse the point set K n For all points in the leaf point cloud, search whether there is a point T such that the point set K n There is a point G in the memory such that the distance R between point G and point T is less than a fixed threshold R t h; if it exists, T is included in the point set K n , and repeat the above steps again to search for points that can be incorporated into the point set K n If it does not exist, it means that the point set K n All points within are found; (3) Loop through step (2) from K1 to K n The remaining leaf point clouds except for the leaf point cloud, until there is no point with leaf cluster category number 0 in the leaf point cloud; Step 5: Assign labels and attributes to the leaf model and branch model obtained in step 4 according to actual needs, merge the leaf model and branch model in step 4, and complete the digital twin of the tree.
2. The tree digital twin method based on ground-based laser radar point cloud as claimed in claim 1, characterized in that: The branch and leaf separation of point cloud data in step 3 is specifically as follows: The open source tool LeWoS is used to extract branches and trunks. After extracting the branches and trunks, what remains is the leaf point cloud, which then completes the branch and leaf separation of the point cloud.
Citation Information
Patent Citations
Method for extracting parameters of tree branches based on ground laser radar three-dimensional scanning
CN103258345A
Acquisition method for anatomical parameters of femur and acetabulum based on CT three-dimensional sequence image
CN107274389A
A pre-background separation method based on three-dimensional reconstruction results
CN109345557A
Lattice projection deep learning network broad-leaved tree branch and leaf separation and skeleton reconstruction method
CN114494586A
Sketch-based shape-preserving tree deformation animation method
WO2019200683A1
