A method and system for separating wood components and leaf components of tree point clouds

By combining morphological detection and normal vector change features, the deep learning network SPTNet automatically separates wood and leaf components from tree point clouds, solving the problems of universality and accuracy in traditional methods and achieving efficient and automated separation results.

CN116486261BActive Publication Date: 2024-09-17SUN YAT SEN UNIV
View PDF 0 Cites -1 Cited by

Patent Information

Application Number
CN202310396518.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-09-17
Estimated Expiration
2043-04-14

AI Technical Summary

Technical Problem

Existing technologies for separating woody and leaf components from tree point cloud data suffer from poor versatility due to sensor differences, strong parameter dependence, and low accuracy and efficiency due to structural differences among different tree species. Furthermore, there is a lack of application of deep learning methods.

Method used

Employing a fully automated algorithm that combines point cloud morphology detection parameters and normal vector change features, and trained using the deep learning network SPTNet, it automatically separates wood and leaf components from tree point clouds. This method is applicable to all wavelengths of LiDAR and requires no manual parameter setting.

Benefits of technology

It improves separation efficiency and accuracy, is applicable to multiple tree species, reduces manual parameter intervention, and achieves automated separation from the original point cloud.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116486261B
    Figure CN116486261B
Patent Text Reader

Abstract

The present invention relates to a tree point cloud branch and leaf separation technology, which is a method and system for separating wood components from leaf components of a tree point cloud. The method includes the following steps: calculating the morphological detection parameter features of the original point cloud, including determining an adaptive neighborhood radius for the morphological detection parameters; calculating the normal vector variation features of the original point cloud, including determining an adaptive neighborhood radius for the normal vector variation; combining the coordinates of a single tree point cloud with the morphological detection parameter features and the normal vector variation features, and inputting the combined feature vector into a deep learning network for training; restoring the probability output obtained by the deep learning network to a point cloud label to obtain a classified single tree point cloud. The present invention can automatically separate the wood component from the leaf component of a single tree point cloud, is applicable to multiple tree species, and only requires the coordinate information of a single tree point cloud. It can be applied to full-band laser radars, greatly improving the automation of separating branches and leaves from tree point clouds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a tree point cloud branch and leaf separation technology, specifically a method and system for separating wood components and leaf components of a tree point cloud based on sparse convolution and transformer. Background Art

[0002] Forests are important resources of the earth and play an important role in the ecological environment. The crown structure controls the energy transfer between the atmosphere and terrestrial ecosystems through photosynthesis and transpiration. The three-dimensional performance and structure of trees are widely used in more forestry research. The diameter at breast height (DBH) as a key parameter of the trunk is used to estimate biomass and carbon storage. The characteristics of forest structure, especially the distinction between photosynthetic parts (crown, leaves) and non-photosynthetic parts (branches, trunks), have become the basis and key of forest research. Distinguishing between the woody part and the leaf part helps to estimate the physical parameters of the forest, such as leaf area density, effective leaf area index, ratio of woody area to total area, etc.

[0003] With the development of technology, terrestrial laser scanning (TLS) technology is increasingly used in forestry. As an active remote sensing technology, terrestrial laser scanning is different from satellite images. It can obtain the three-dimensional structural information of trees with millimeter-level accuracy, and then calculate various forest parameters. Therefore, most studies on the distinction between wood and leaf components are based on TLS data.

[0004] Currently, there are many studies on separating wood components from leaf components from tree point clouds. Three types of methods are summarized in a large number of studies: one is based on local geometric features, another is the method of radiation features (LRI), and the other is a method that combines geometric features and radiation features. Generally speaking, the obtained TLS data contains XYZ coordinate geometry information, reflection intensity, and other reflection information. The radiation information-based method is limited by the laser wavelength, so the radiation information corresponding to different sensors will be slightly different. Laser radiation information (LRI) refers to the ability of the sensor to pick up the reflection intensity of different ground objects. The difference in reflection intensity can be obtained point by point to distinguish between wood components and leaf components.

[0005] However, there are still many challenges in separating the wood component from the leaf component of tree point clouds.

[0006] (1) For data acquired by different sensors, optical characteristics such as reflectivity will vary with different sensors. In addition, due to the differences in radiation characteristics, there are great difficulties in data fusion. Therefore, methods based on reflection characteristics are difficult to adapt to different data and have poor versatility.

[0007] (2) In traditional methods, many parameters are required to achieve the wood and leaf component segmentation of tree point clouds. However, most of these parameters are set manually, and different parameter choices will have a great impact on the results.

[0008] (3) Different tree species have very different structures, and existing methods have great defects in accuracy and efficiency. The difference in tree species poses a great challenge to the separation of wood components and leaf components, and no method can guarantee accuracy and high efficiency. At the same time, almost no deep learning methods have been used for the task of separating wood and leaf components of trees.

[0009] Therefore, in order to separate the wood components and leaf components of tree point cloud data obtained by TLS, there is a great market demand for developing an effective and reliable method to separate the wood components and leaf components from TLS data. Summary of the invention

[0010] In order to solve the problems existing in the prior art, the purpose of the present invention is to propose a method and system for separating the wood components and leaf components of a tree point cloud, and develop a fully automatic algorithm for separating the wood components and leaf components from tree point cloud data. The algorithm does not require manual setting of parameters and is suitable for full-wavelength lidar, and can directly separate the wood components and leaf components from the original tree point cloud.

[0011] To achieve the above object, the method of the present invention adopts the following technical solution: A method for separating wood components and leaf components of a tree point cloud, comprising the following steps:

[0012] S1. Calculate the morphological detection parameter characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the morphological detection parameters MDC ;

[0013] S2. Calculate the normal vector variation characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the normal vector variation NDO ;

[0014] S3, combining the single wood point cloud coordinates with the morphological detection parameter features and the normal vector change features, and inputting the combined feature vector into the deep learning network for training;

[0015] S4. Restore the probability output obtained by the deep learning network to the point cloud label to obtain the classified single tree point cloud.

[0016] The system of the present invention is implemented by the following technical solution: a system for separating wood components and leaf components of a tree point cloud, comprising the following modules:

[0017] The first calculation module is used to calculate the morphological detection parameter characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the morphological detection parameters. MDC ;

[0018] The second calculation module is used to calculate the normal vector change characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the normal vector change NDO ;

[0019] The network training module is used to combine the single wood point cloud coordinates with the morphological detection parameter features and the normal vector change features, and input the combined feature vector into the deep learning network for training;

[0020] The output module is used to restore the probability output obtained by the deep learning network to the point cloud label to obtain the classified single tree point cloud.

[0021] After adopting the above technical solution, the present invention has the following advantages compared with the prior art:

[0022] 1. The present invention proposes a fully automatic algorithm for separating wood components from leaf components from tree point cloud data obtained by TLS, which can minimize manual intervention in setting parameters. The method of combining voxel point cloud improves efficiency while ensuring accuracy.

[0023] 2. The present invention takes into account both local and global features of point clouds by extracting physical features combined with deep learning networks, and combines local features with global features. It also uses an adaptive radius determination method to avoid preprocessing operations on point cloud scenes, and separates wood components and leaf components from the original tree point cloud.

[0024] 3. The present invention can automatically separate the wood component and leaf component of a single tree point cloud, is applicable to multiple tree species, and only requires the coordinate information of a single tree point cloud. It can be applied to full-band laser radars, greatly improving the degree of automation in separating branches and leaves from tree point clouds. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of a method for automatically separating wood components and leaf components of a tree point cloud based on sparse convolution and transformer in an embodiment of the present invention;

[0026] Figure 2 The network structure diagram of SPTNet in the embodiment of the present invention;

[0027] Figure 3 The structure diagram of the sparse convolution module and the transformer module in the SPTNet mentioned in the embodiment of the present invention, wherein (a) is the sparse convolution module and (b) is the transformer module;

[0028] Figure 4 Schematic diagram of MDC features in an embodiment of the present invention;

[0029] Figure 5 Schematic diagram of NDO characteristics in an embodiment of the present invention;

[0030] Figure 6 is the original point cloud image in the embodiment of the present invention;

[0031] Figure 7 This is a diagram showing the separation results of leaf components and wood components of a tree point cloud obtained in an embodiment of the present invention;

[0032] Figure 8 This is a partially enlarged view of the separation result of the leaf component and the wood component of the tree point cloud obtained in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Any equivalent changes or improvements made according to the spirit and essence of the present invention should be included in the protection scope of the present invention.

[0034] Example 1

[0035] See also Figure 1 This embodiment provides a method for separating wood components and leaf components of a tree point cloud based on sparse convolution and transformer, comprising the following steps:

[0036] S1. Calculation of the original point cloud morphological detection parameter (MDC) feature, including the adaptive neighborhood radius r for the morphological detection parameter MDC determination;

[0037] Each point in the original test point cloud selects a neighborhood with a neighborhood radius of r to calculate the morphological detection parameter (MDC) feature. In this embodiment, this step calculates the morphological detection parameter (MDC) feature based on a single tree point cloud; the step of calculating the point cloud morphological detection parameter (MDC) feature includes:

[0038] S11, for the input point cloud set P = {p i (x i ,y i , z i ), i = 1, 2...n}, calculate the average coordinate row matrix The details are as follows:

[0039]

[0040] T stands for matrix transpose.

[0041] S12, according to the average coordinate row matrix And the point cloud coordinates p of the point cloud set P i Calculate the covariance matrix C cov , as follows:

[0042]

[0043] The covariance matrix C cov The eigenvalues ​​λ in three directions are obtained by eigenvalue decomposition 1 ,λ 2 ,λ 3 , where λ 1 ≥λ 2 ≥λ 3 ≥0, the eigenvalues ​​in the three directions are used to represent the importance of the features in that direction.

[0044] S13, calculate the corresponding eigenvalue λ according to the covariance matrix 1 ,λ 2 ,λ 3 ; Define the morphology detection parameters MDC, as follows:

[0045]

[0046] In this embodiment, the adaptive neighborhood radius r required to calculate the point cloud morphology detection parameter (MDC) is MDC , which is obtained by the following steps:

[0047] S131, according to the eigenvalue λ of the covariance matrix 1 ,λ 2 ,λ 3 Define three shape descriptors α 1D , α 2D , α 3D , as follows:

[0048]

[0049] Where μ is the regularization term;

[0050] S132, for shape descriptor α 1D , α 2D , α 3D Define the entropy function E f , as follows:

[0051] E f =-α 1D ln(α 1D )-α 2D ln(α2D )-α 3D ln(α 3D );

[0052] S133, using the entropy minimum strategy to determine the adaptive neighborhood radius r required for the morphological detection parameter MDC MDC , as follows:

[0053]

[0054] Among them, r min is the minimum value of the neighborhood radius r, r max is the maximum value of the neighborhood radius r.

[0055] S2. Calculation of the normal vector variation (NDO) feature of the original point cloud, including the adaptive neighborhood radius r for the normal vector variation NDO of determination.

[0056] Each point in the original test point cloud selects a neighborhood with a neighborhood radius of r to calculate the normal vector change amount (NDO) feature. In this embodiment, this step calculates the normal vector change amount (NDO) feature based on a single tree point cloud; the step of calculating the point cloud normal vector change amount feature includes:

[0057] S21. For a known point cloud M, select a radius of r NDO A cluster of points, where r NDO You can choose Otsu algorithm (maximum between-class variance method) for calculation;

[0058] S22, for the center point m and other points m in the neighborhood i , respectively calculate the normal vector of the corresponding center point and the normal vectors of other points in the neighborhood

[0059] S23, define the normal vector change NDO, as follows:

[0060]

[0061] Where N represents point m i The number of

[0062] S3, combine the single tree point cloud coordinates XYZ with the morphological detection parameter MDC feature and the normal vector change NDO feature, and input the combined feature vector into the deep learning network (SPTNet) for training. This step is specifically implemented by the following steps:

[0063] S31, combining the single wood point cloud coordinates XYZ with the point cloud morphology detection parameter MDC feature and the normal vector variation NDO feature to obtain a feature vector of 7 dimensions;

[0064] S32. Take the 7-dimensional feature vector as input and use the deep learning network SPTNet for training.

[0065] The structure of the deep learning network SPTNet is as follows Figure 2 As shown, it includes an encoder structure and a decoder structure, specifically:

[0066] The encoder structure, such as Figure 3 As shown in the sub-figure (a), the structure uses sparse convolution modules for local feature extraction and six transformer modules for global feature extraction. The sparse convolution module includes two sub-flow sparse convolution modules and one ordinary sparse convolution module, and the feature map of each layer uses jump connections. The sparse convolution module reduces the size of the feature map by half and doubles the feature dimension. The transformer module uses a multi-head attention mechanism and jumps the linear layer and the normalization layer. The transformer module does not change the feature dimension and size.

[0067] The decoder structure is as follows: Figure 3 As shown in sub-figure (b), a sparse convolution module is used in this structure. The sparse convolution module doubles the size of the feature map and halves the feature dimension. The obtained high-dimensional features are deconvolved back to the feature space of the original point cloud. Finally, the linear layer and the Sigmoid function are connected to plan the output to a probability value between 0 and 1.

[0068] S4. Restore the probability output obtained by the deep learning network (SPTNet) to the point cloud label to obtain a classified single tree point cloud.

[0069] In this embodiment, this step is specifically implemented by the following steps:

[0070] S41, the probability output obtained by the deep learning network SPTNet is segmented by a simple maximum threshold, and the probability value is converted into a 0 or 1 label;

[0071] S42. Match the label of each point with the point cloud coordinates to obtain a classified single tree point cloud.

[0072] After being processed by the separation method of this embodiment, the point cloud morphological detection parameter (MDC) features are as follows: Figure 4 As shown, the point cloud normal vector change (NDO) feature is as follows Figure 5 As shown, the original point cloud is Figure 6 As shown in Figure 2, the separation results of the leaf component and the wood component of the tree point cloud are as follows: Figure 7 As shown in the figure, the local amplification of the separation result is as follows Figure 8 shown.

[0073] Example 2

[0074] This embodiment is based on the same inventive concept as the first embodiment, and proposes a system for separating wood components and leaf components of a tree point cloud, including the following modules:

[0075] The first calculation module is used to calculate the morphological detection parameter characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the morphological detection parameters. MDC ;

[0076] The second calculation module is used to calculate the normal vector change characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the normal vector change NDO ;

[0077] The network training module is used to combine the single wood point cloud coordinates with the morphological detection parameter features and the normal vector change features, and input the combined feature vectors into the deep learning network for training;

[0078] The output module is used to restore the probability output obtained by the deep learning network to the point cloud label to obtain the classified single tree point cloud.

[0079] In this embodiment, the calculation process of the first calculation module includes:

[0080] For the input point cloud set P = {p i (x i ,y i , z i ), i = 1, 2...n}, calculate the average coordinate row matrix

[0081] According to the average coordinate row matrix And the point cloud coordinates p of the point cloud set P i Calculate the covariance matrix C cov , and the covariance matrix C cov The eigenvalues ​​λ in three directions are obtained by eigenvalue decomposition 1 ,λ 2 ,λ 3 ;

[0082] Calculate the corresponding eigenvalue λ based on the covariance matrix 1 ,λ 2 ,λ 3 , define the morphology detection parameters MDC as follows:

[0083]

[0084] The calculation process of the second calculation module includes:

[0085] For a known point cloud M, select a radius of r NDO The point clusters;

[0086] For the center point m and other points mi in the neighborhood, calculate the corresponding center point normal vector and the normal vectors of other points in the neighborhood

[0087] Define the normal vector change NDO:

[0088]

[0089] Where N represents point m i The number of

[0090] The modules of this embodiment are respectively used to implement the steps of Embodiment 1. For a more detailed implementation process, please refer to Embodiment 1 and will not be described in detail.

[0091] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A method for separating wood components and leaf components of tree point clouds, It is characterized in that The following steps are involved: S1. Calculate the morphological detection parameter characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the morphological detection parameters MDC ; S2. Calculate the normal vector variation characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the normal vector variation NDO ; S3, combining the single wood point cloud coordinates with the morphological detection parameter features and the normal vector change features, and inputting the combined feature vector into the deep learning network for training; S4, restore the probability output obtained by the deep learning network to the point cloud label to obtain the classified single tree point cloud; Step S1 calculates the morphological detection parameter features based on the single tree point cloud, and the steps include: S11, for the input point cloud set P = {p i (x i ,y i ,z i ),i=1,2…n}, calculate the average coordinate row matrix S12, according to the average coordinate row matrix And the point cloud coordinates p of the point cloud set P i Calculate the covariance matrix C cov , and the covariance matrix C cov The eigenvalues ​​λ in three directions are obtained by eigenvalue decomposition 1 ,λ 2 ,λ 3 ; S13, calculate the corresponding eigenvalue λ according to the covariance matrix 1 ,λ 2 ,λ 3 , define the morphology detection parameters MDC as follows: Each point in the original point cloud selects a neighborhood with a neighborhood radius of r to calculate the morphological detection parameter features; the adaptive neighborhood radius r MDC Obtained by the following steps: S131, according to the eigenvalue λ of the covariance matrix 1 ,λ 2 ,λ 3 Define three shape descriptors α 1D ,α 2D ,α 3D : Where μ is the regularization term; S132, for shape descriptor α 1D ,α 2D ,α 3D Define the entropy function E f : E f =-a 1D ln(a 1D )-a 2D ln(a 2D )-a 3D ln(a 3D ); S133, using the entropy minimum strategy to determine the adaptive neighborhood radius r required for the morphological detection parameter characteristics MDC : Among them, r min is the minimum value of the neighborhood radius r, r max is the maximum value of the neighborhood radius r; Step S2 calculates the normal vector variation feature based on the single tree point cloud, and the steps include: S21. For a known point cloud M, select a radius of r NDO The point clusters; S22, for the center point m and other points m in the neighborhood i , respectively calculate the normal vector of the corresponding center point and the normal vectors of other points in the neighborhood S23. Define the normal vector change NDO: Where N represents point m i the number of Radius r NDO The maximum between-class variance method was used for calculation.

2. The separation method according to claim 1, It is characterized in that Step S3 includes: S31, combining the single wood point cloud coordinates with the morphological detection parameter features and the normal vector variation features to obtain feature vectors of multiple dimensions; S32. Taking the feature vectors of the multiple dimensions as input, and performing training using a deep learning network.

3. The separation method according to claim 2, It is characterized in that The deep learning network consists of: The encoder structure uses a sparse convolution module for local feature extraction and a transformer module for global feature extraction. The sparse convolution module halves the feature map size and doubles the feature dimension. The transformer module uses a multi-head attention mechanism and skips the linear layer and the normalization layer without changing the feature dimension and size. The decoder structure uses a sparse convolution module to double the size of the feature map and halve the feature dimension; and deconvolutes the obtained high-dimensional features back to the feature space of the original point cloud. Finally, the linear layer and the Sigmoid function are connected to program the output to a probability value between 0 and 1.

4. The separation method according to claim 1, It is characterized in that Step S4 includes: S41, segmenting the probability output obtained by the deep learning network through a simple maximum threshold, and converting the probability value into a 0 or 1 label; S42. Match the label of each point with the point cloud coordinates to obtain a classified single tree point cloud.

5. A system for separating wood components and leaf components of tree point clouds, It is characterized in that Includes the following modules: The first calculation module is used to calculate the morphological detection parameter characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the morphological detection parameters. MDC ; The second calculation module is used to calculate the normal vector change characteristics of the original point cloud, including determining the adaptive neighborhood radius r for the normal vector change NDO ; The network training module is used to combine the single wood point cloud coordinates with the morphological detection parameter features and the normal vector change features, and input the combined feature vectors into the deep learning network for training; The output module is used to restore the probability output obtained by the deep learning network to the point cloud label to obtain the classified single tree point cloud; The calculation process of the first calculation module includes: For the input point cloud set P = {p i (x i ,y i ,z i ),i=1,2…n}, calculate the average coordinate row matrix According to the average coordinate row matrix And the point cloud coordinates p of the point cloud set P i Calculate the covariance matrix C cov , and the covariance matrix C cov The eigenvalues ​​λ in three directions are obtained by eigenvalue decomposition 1 ,λ 2 ,λ 3 ; Calculate the corresponding eigenvalue λ based on the covariance matrix 1 ,λ 2 ,λ 3 , define the morphology detection parameters MDC as follows: Each point in the original point cloud selects a neighborhood with a neighborhood radius of r to calculate the morphological detection parameter features; the adaptive neighborhood radius r MDC Obtained by the following steps: According to the eigenvalue λ of the covariance matrix 1 ,λ 2 ,λ 3 Define three shape descriptors α 1D ,α 2D ,α 3D : Where μ is the regularization term; For shape descriptor α 1D ,α 2D ,α 3D Define the entropy function E f : E f =-a 1D ln(a 1D )-a 2D ln(a 2D )-a 3D ln(a 3D ); The entropy minimization strategy is used to determine the adaptive neighborhood radius r required for the morphological detection parameter characteristics. MDC : Among them, r min is the minimum value of the neighborhood radius r, r max is the maximum value of the neighborhood radius r; The calculation process of the second calculation module includes: For a known point cloud M, select a radius of r NDO The point clusters; For the center point m and other points m in the neighborhood i , respectively calculate the normal vector of the corresponding center point and the normal vectors of other points in the neighborhood Define the normal vector change NDO: Where N represents point m i the number of Radius r NDO The maximum between-class variance method was used for calculation.