WO2015149302A1 - Method for rebuilding tree model on the basis of point cloud and data driving - Google Patents

Method for rebuilding tree model on the basis of point cloud and data driving Download PDF

Info

Publication number
WO2015149302A1
WO2015149302A1 PCT/CN2014/074634 CN2014074634W WO2015149302A1 WO 2015149302 A1 WO2015149302 A1 WO 2015149302A1 CN 2014074634 W CN2014074634 W CN 2014074634W WO 2015149302 A1 WO2015149302 A1 WO 2015149302A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
tree
point cloud
cylinder
points
Prior art date
Application number
PCT/CN2014/074634
Other languages
French (fr)
Chinese (zh)
Inventor
张晓鹏
李红军
郭建伟
代明睿
刘佳
Original Assignee
中国科学院自动化研究所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院自动化研究所 filed Critical 中国科学院自动化研究所
Priority to PCT/CN2014/074634 priority Critical patent/WO2015149302A1/en
Publication of WO2015149302A1 publication Critical patent/WO2015149302A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/188Vegetation

Definitions

  • the present invention relates to the field of cross-technology of plant modeling and computer graphics processing, and relates to physical point measurement using a three-dimensional laser scanner to obtain tree point cloud data, in particular, a scan from A method for reconstructing a complete 3D tree model from 3D point cloud data.
  • Accurate reconstruction of plant models can be applied in many areas, such as directing agricultural forestry production, protecting endangered old trees, or providing virtual environments in digital cinema and entertainment games.
  • the techniques of plant modeling can be roughly divided into four categories: rule-based methods, geometric analysis-based methods, sketch-based methods, and tree-based methods.
  • the reconstruction method based on tree digitization has gained more and more attention in plant reconstruction.
  • tree photographs, point clouds, etc. obtained by tree digitization are mainly used as input data, and some Knowledge and rules are obtained to obtain a plant model similar to the input data.
  • the accuracy of the reconstruction model has gradually become one of the goals of reconstruction.
  • the photo-based reconstruction method has the advantages of convenient data collection and good visual effect of reconstructing the model, but the preparation work is too much, the manual interaction is large, and the reconstruction model and the real model can only remain at a certain angle or a certain angle, and It does not reflect the true form of the plant.
  • the method based on 3D scanning point cloud takes the 3D scan data of the tree as input, and the geometric information is rich, the precision is high, and the model with much higher precision than the photo can be obtained.
  • Cheng2007 Z. Cheng, X. Zhang and B. Chen, "Simple Reconstruction of Tree Branches From a Single Range Image," Journal of Computer Science and Technology, vol. 22, no. 6, pp. 846C858, 2007
  • the crown portion is separated from the trunk portion by manual segmentation, and for the trunk portion, the branch is first detected by the depth of the scanned image.
  • the method can obtain relatively accurate skeleton position and branch radius, but can not reconstruct the twigs and crown.
  • Neubert2007 Nembert, T. Franken and O. Deussen, Approximate Image Based Tree-Modeling Using Particle Flows, ACM Transactions on Graphics (TOG). ACM, 26(3): 88, 2007.
  • particle flow methods for data In the driven tree modeling, they first extract the directional field from the two orthogonally photographed trees, and then use the particle flow method to connect the crown to the main branch along the directional field, so that the reconstructed model is related to the input photo. Match.
  • the present invention uses the motion of a single layer particle stream and is therefore only applicable to secondary structures.
  • the present invention extends the method by using a hierarchical particle flow method to extract a multi-level structure of trees, and the present invention reconstructs a model from point cloud data.
  • Livny2010 Y. Livny, F. Yan, M. Olson, B. Chen, H. Zhang and J. El-Sana, "Automatic Reconstruction of Tree Skeletal Structures from Point Clouds," ACM Trans. Graph, vol.29, no .151, pp. 1C8, 2010.
  • a method based on global fitting optimization is proposed to extract the skeleton structure of point cloud data. This method is more robust, but it still cannot reconstruct the master accurately in the case of severe occlusion.
  • Livny2011 (Y. Livny, S. Pirk, Z. Cheng, F. Yan, O. Deussen, D. Cohen-Or and B. Chen. Texture-lobes for Tree Modelling, ACM Transactions on Graphics (Proceedings of SIGGRAPH 2011), Vol.30, no.4, 2011.)
  • a method for representing trees based on splinters is proposed. The method can be used for reconstruction of trees or for re-presenting existing tree models.
  • the present invention has been carried out on this method.
  • the expansion taking into account the information of the canopy and the visible main branch, and filling the canopy and the main branch by the method of hierarchical particle flow.
  • the present invention provides a tree model reconstruction method based on point cloud and data driving, so as to solve the problem that the existing tree reconstruction method is not accurate, and can only process a relatively simple model, which is difficult for a model with severe occlusion and complex shape. The disadvantage of obtaining better reconstruction results.
  • the present invention provides a point cloud and data driven tree model reconstruction method, the method comprising the following steps: Step S1, obtaining tree point cloud data, pre-processing it, and defining a hierarchical representation of the tree model;
  • Step S2 extracting a main branch skeleton point and a radius thereof from the tree point cloud data, and performing branch and leaf separation processing;
  • Step S3 extracting a crown feature point from the tree point cloud data
  • Step S4 structuring the main branch skeleton point
  • Step S5 structuring the crown feature points and calculating the radius of each branch; Step S6, reconstructing a complete tree model according to the skeleton points and radii of all the branches that have been structured.
  • the invention adopts the technology of computer graphics processing to reconstruct a complete tree model from the scanned three-dimensional tree point cloud data.
  • the invention automatically and accurately in a complex point cloud through comprehensive analysis of the local geometrical relationship of the point cloud and the spatial position relationship.
  • the skeleton point of the main branch is calculated and the radius is obtained, and the crown shape is completely restored.
  • a large number of fine branches are simulated in accordance with the biological characteristics, so that the reconstruction model obtains a higher realism on an accurate basis.
  • FIG. 1 is a flow chart of a method for reconstructing a point cloud and a data driven tree model according to the present invention
  • FIG. 2 is a view showing a point cloud data of a white pine tree obtained according to an embodiment of the present invention
  • FIG. Tree grading indicates a schematic diagram
  • FIG. 4 is a schematic view of a cylinder search space in accordance with an embodiment of the present invention.
  • FIG. 5 is a flow chart of a cylinder movement search method according to an embodiment of the present invention.
  • FIG. 6 is a main branch skeleton point extracted by a fractional ion current according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram showing the result of branch and leaf separation according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram showing the result of extracting the feature points of the canopy according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram showing the structure of the main branches and the crowns according to an embodiment of the present invention
  • FIG. 10 is a reconstruction according to an embodiment of the present invention. a complete white pine tree model
  • Figure 11 is a comparison of the results of the present invention with the prior art in the case of input point cloud data occlusion
  • Figure 12 is a graphical representation of the results obtained by reconstructing a scanned forest point cloud using the present invention.
  • FIG. 1 is a flow chart of a point cloud and data driven tree model reconstruction method according to the present invention.
  • the method of the present invention includes the following steps: Sl, tree point cloud data acquisition and preprocessing, and defining a tree model. Graded representation; S2, main branch skeleton point extraction and branch and leaf separation; S3, canopy feature point extraction; S4, main branch skeleton point structure; S5, canopy feature point structure; S6, complete model reconstruction.
  • Step S1 acquiring tree point cloud data, pre-processing the same, and defining a hierarchical representation of the tree model;
  • the invention utilizes a three-dimensional laser scanner (eg.
  • Cyrax tools such as visual photography capture tree point cloud data, point cloud analysis techniques to preserve point clouds on single and multiple trees that need to be reconstructed, and to remove points from other objects, ie preprocessing.
  • 2 is a white pine tree scanning point cloud data acquired according to an embodiment of the invention.
  • the present invention classifies the shape of the tree: main branches, twigs and leaves, wherein the main branches contain 2 to 4 branches, and the twigs contain 2-5 branches, the specific series and Tree species and tree age are related.
  • the number of main branches is NL
  • the number of twigs is NS
  • twigs and leaves are combined to form a canopy.
  • 3 is a schematic diagram showing hierarchical representation of trees according to an embodiment of the present invention, taking 5 levels as an example, wherein FIG. 3A shows the main structure of trees, FIG. 3B shows elements of level 5, and FIG. 3C shows trees of level 5. model.
  • Step S2 extracting a main branch skeleton point and a radius thereof from the tree point cloud data, and performing branch and leaf separation processing;
  • the first step is to extract the main branch skeleton point from the point cloud data of the tree, and use the extracted main branch skeleton point to realize the separation of the branches and leaves, and then complete the structure of the main branch and the canopy in the subsequent steps.
  • the step S2 includes the following steps:
  • Step S2.1 calculating a local geometric quantity at each point p of the point cloud
  • the local geometric quantity at each point P of the point cloud includes a normal direction Q ⁇ , a principal curvature (» and k 2 (p) (fc 1 (p) ⁇ /c 2 (p)), and a main direction corresponding to the main curvature 3 ⁇ 4) and 0).
  • the step S2.1 further includes the following steps:
  • Step S2.1.1 establishing a kd tree of the entire point cloud data
  • the kd tree is one of the fastest data structures that have been proven to find neighbors. The method of building a kd tree is not described here.
  • Step S2.1.2 for each point p in the point cloud data, use the kd tree to find multiple of them, such as 15 or 30 neighbors, assuming that the neighbors are from the same plane, using the least squares method Combine this plane, using the normal vector of this plane as the normal direction n of point p (
  • the principal curvature / and fc 2 (p) at the point P and the main directions 3 ⁇ 4 and 3 ⁇ 40?) are calculated using the quadric surface. ;
  • Step S2.2 defining a cylinder fitting the p-shaped branch shape based on the local geometric quantity at each point p of the point cloud, and searching for a potential branch (ie, moving the cylinder method) by using the movement of the cylinder, thereby extracting Obtaining the main branch skeleton point and its radius;
  • the scanned data points are recorded as a set s).
  • FIG. 5 is a flow chart of a cylinder movement search method according to an embodiment of the present invention. As shown in FIG. 5, the cylinder movement search method includes the following steps:
  • Step S2.2.2 first determine whether any point q in the set Sd)) is valid, that is, if the cylinders S(p.) and S(q) satisfy: 1) b(q) 6 S(p.) 2) r(q)/r(p 0 ) - 1.0; 3) The angle between ⁇ and ⁇ ( ⁇ .) is small, where b(q) represents the center of curvature of the cylinder S(q), r (q) represents the radius of curvature of the cylinder S(q), r(p.) represents the radius of curvature of the cylinder S(p.), represents the axial direction of the cylinder S(q), and ⁇ ( ⁇ .) represents the cylinder In the axial direction of S(p.), the point q is referred to as a valid point; if the number of effective points in the set Sd)) is greater than the first threshold N x (set to 6 in an embodiment of the present invention), the initial The cylinder S (the successor cylinder S( 2 )
  • Step S2.2.4 the S (2) or S - continues until the search does not find any subsequent cylinder (2) on the basis of the number of cylinders if found N 2 than the second threshold value (in the embodiment of the present invention, a In the example set to 6), the cylinders form a main branch segment, and the center of the circle is recorded as the main branch skeleton point;
  • Figure 6 is a schematic diagram of the main branch skeleton points extracted in accordance with an embodiment of the present invention.
  • these skeleton points are not completely connected, and each skeleton point is represented by its corresponding cylinder (including the center and the radius of the mouth).
  • Step S2. Using the extracted main branch skeleton points, the point cloud data is divided into two parts: a point cloud on the main branch and a point cloud on the crown to realize separation of the branches and leaves;
  • the point cloud data is divided into a point cloud on the main branch and a point cloud on the crown.
  • the point cloud located in the column search area is considered to be a point cloud located on the main branch, and other point clouds are considered It is a point cloud located in the canopy.
  • the search radius of the cylindrical search area is ⁇ , where rp) is the radius of the cylinder, which is considered to be the radius of the main branch at the position, in an embodiment of the present invention, the input is ⁇ , so the search area of the cylinder is more realistic.
  • the range of branches is large, and while the point clouds on the main branches are all located in the search area, some of the point clouds on the crown are enveloped.
  • Figure 7 shows the results of the separation of the branches of the Pinus bungeana according to an embodiment of the present invention.
  • the point cloud (the portion of the gray scale) on the main branch is recorded as ⁇ ⁇
  • Step S3 extracting a crown feature point from the tree point cloud data
  • a multi-scale method is constructed to extract a crown feature point in the tree model.
  • each scale corresponds to a first-level representation of the tree, that is, the NS scales ⁇ 2 , ..., n NS corresponds to the NS-level twig representation of the tree, and ni
  • For each scale ⁇ , divide the bounding box of the crown point cloud into several uniform and equal sizes (the size of the cube.
  • FIG. 8 is a schematic diagram showing the results of extracting feature points of a canopy according to an embodiment of the invention. In the figure, points with brighter gray scales (shown by small balls) are feature points, and these feature points are evenly distributed in space, and can be better. The ground shows the shape of the canopy.
  • Step S4 structuring the main branch skeleton point
  • the main branch skeleton points obtained by the foregoing steps do not have a complete connection relationship, that is, the skeleton points inside each of the obtained main branches have a connection relationship, but there is no connection information between the main branches and the main branches, and three of the crowns are
  • the feature points of the scale are also completely discrete. Therefore, in an embodiment of the present invention, the skeleton points are effectively and accurately structured by using a three-dimensional hierarchical particle flow motion method to construct a hierarchical branch.
  • each branch in ⁇ places the particle ⁇ with its lower end point as the initial position of the particle, and finally uses the remaining main branch skeleton point as the attraction to guide the particle to run in space, find a suitable connectable point, and use the particle
  • the trajectory is used as a supplement to the main branch to connect the scattered branches to achieve the structuring of all the main branch points.
  • each particle in the process of searching for connectable points, before tapping its own connectable points is constantly performing a cone-like hierarchical search.
  • the purpose of the cone-shaped hierarchical search is to find the branches that can be connected. As follows: Let the representative particle ⁇ / in the speed direction of 1 ,, ⁇ / record at the position of 1 ,, that is, the trajectory point of the particle running, for the particle located at ⁇ / position, ⁇ / as the apex, as the axis, Take ⁇ . High, to. Establish a cone for the angle between the busbar and the axis
  • Step S5 structuring the crown feature points and calculating the radius of each branch; after fully connecting the main branch skeleton points, in the step, the corresponding tree first-level canopy feature points are used as the starting point of the particle flow To the main branch skeleton point, the trajectory of the particle running is used as the skeleton point of the fine branch; the crown feature points corresponding to other levels of the tree are moved as the starting point of the particle flow to the upper primary skeleton point, and the trajectory of the particle still remains. As the skeleton point of the level, the structuring of all the feature points is realized; finally, the radius of each branch is estimated according to the radius of the main branch.
  • the structure of the canopy feature points has a great similarity with the structure of the main branch skeleton points.
  • set the canopy attraction point X for example, you can select one third of the tree height above the root node G
  • NS respectively.
  • the crown feature points of the scales are the particles at the beginning of the particle flow, and the NS scale particles are divided into NS batches to move toward the main branch skeleton point under the guidance of the main branch skeleton point and the attraction point X, so as to find a suitable one.
  • FIG. 9 is a schematic diagram showing the results of structuring of the branches of the main branches and the crowns according to an embodiment of the present invention.
  • the present invention sets the radius of the root of the twig to a fixed multiple of the radius of the parent branch. For example, 0.7 times, and the tip radius of the twig is set to be a fixed ⁇ . In an embodiment of the invention, ⁇ is set to 0.2 cm.
  • the radius of the intermediate skeleton point of the twig is obtained by linear fitting.
  • Step S6 reconstructing a complete tree model according to the skeleton points and radii of all the branches that have been structured.
  • the branches are fitted with cylinders of different radii (triangular mesh model), and the three-dimensional mesh model of the trees is reconstructed; then texture synthesis is adopted.
  • the method adds a suitable texture to the mesh model (the texture addition method belongs to the texture processing method commonly used in the prior art, which will not be described here), and then according to the size of the input point cloud data and the type of the leaf (broad or coniferous)
  • the statistical estimation method is used to determine the leaf information such as the number of leaves required, the length and width of the leaves, and different leaves are added to the end of the three-dimensional mesh model twig, thereby realizing the complete reconstruction of the tree three-dimensional model.
  • Figure 10 is a complete three-dimensional tree model reconstructed from scanned white-skin tree point cloud data using the method of the present invention, which includes the main branches, canopies, and leaves.
  • the reconstructed tree model is very consistent with the shape of the input point cloud, which is reflected in two aspects: 1) The point cloud on the main branch is in good agreement with the reconstructed model, which illustrates this
  • the main branch reconstruction of the invention is accurate in both the position and the radius of the skeleton point; 2)
  • the crown portion completely fills the entire canopy space, and accurately reduces the concave and convex features of the crown.
  • the method of Livny 2010 shown in FIG.
  • the method of the invention can also be easily applied to model reconstruction aspects of trees.
  • the difference between the model reconstruction method of the forest point cloud data and the reconstruction method of the single tree is that the root node G and the canopy attraction point X are first set, and the rest are similar.
  • the present invention establishes two sectional planes parallel to the ground plane from the ground plane at a height of 1/4 and 1/3 of the ground plane in space, and the skeleton point between the section planes is called an alternative point attraction point.
  • each point automatically searches for the closest point to its own Euclidean distance from the candidate attraction points during the motion as its own attraction point, so as to attract the point at the ground plane.
  • the upper projection point is its own root node.
  • the feature point is structured by the particle flow motion.
  • Fig. 12A is input forest point cloud data
  • Fig. 12B is a forest model obtained by reconstruction using the method of the present invention.
  • the method of the invention automatically and accurately calculates the skeleton points of the branches in the complex tree point cloud model and obtains the accurate radius by comprehensively analyzing the local geometrical relationship of the point cloud and the spatial position relationship, and changes the manual interaction in the previous trunk extraction algorithm. More, the workload is large, and the results are not accurate enough.
  • the method of grading particle flow motion automatically realizes the connection of the main branch skeleton points and the comprehensive characterization of the canopy feature points and the skeleton skeleton points, which completely restores the crown shape. And it is in line with the biological characteristics to simulate a large number of twigs, so that the reconstruction model obtains a higher sense of reality on an accurate basis.

Abstract

Disclosed is a method for rebuilding a tree model on the basis of a point cloud and data driving. The method comprises the following steps: tree point cloud data are acquired and preprocessed, and classification representation of the tree model is defined; a cylinder moving method is provided and used for extracting main branch framework points from the tree point cloud data, and a branch and leaf separation process is carried out; crown feature points are extracted from the tree point cloud data; a classification ion flow method is provided and used for structuralizing the main branch framework points and the crown feature points; the complete tree model is obtained by means of rebuilding on the basis of the structuralized framework points and radiuses of all the branches. A solution is provided for rebuilding the complete tree model in the three-dimensional point cloud data, the obtained rebuilt model and an original point cloud have a high degree of fit, and the good rebuilding result can be obtained on models which are severely blocked and are complex in form.

Description

基于点云与数据驱动的树木模型重建方法 技术领域 本发明属于植物建模和计算机图形处理的交叉技术领域, 涉及利用 三维激光扫描仪进行实物测量得到树木点云数据, 特别涉及一种从扫描 的三维点云数据中重建出完整的三维树木模型的方法。  FIELD OF THE INVENTION The present invention relates to the field of cross-technology of plant modeling and computer graphics processing, and relates to physical point measurement using a three-dimensional laser scanner to obtain tree point cloud data, in particular, a scan from A method for reconstructing a complete 3D tree model from 3D point cloud data.
背景技术 植物在我们日常生活中起着重要的作用, 既可以调节生态平衡, 也 可以绿化环境, 清新空气。 植物模型的准确重建可以应用于许多领域, 如指导农业林业的生产, 保护濒危的古树, 或者在数字电影和娱乐游戏 中提供虚拟的环境。 目前植物建模的技术大体上可以分为四类: 基于规 则的方法, 基于几何解析表达的方法, 基于草绘的方法以及基于树木数 字化的方法。 BACKGROUND OF THE INVENTION Plants play an important role in our daily lives, both to regulate ecological balance, to green the environment, and to clean the air. Accurate reconstruction of plant models can be applied in many areas, such as directing agricultural forestry production, protecting endangered old trees, or providing virtual environments in digital cinema and entertainment games. At present, the techniques of plant modeling can be roughly divided into four categories: rule-based methods, geometric analysis-based methods, sketch-based methods, and tree-based methods.
近年来由于数字化手段的快速发展, 基于树木数字化的重建方法在 植物重建中获得越来越多的重视, 该方法目前主要以树木数字化手段获 得的树木照片、 点云等作为输入数据, 利用一些先验知识和规则, 获得 与输入数据相似的植物模型。 除了获得较好的视觉效果外, 重建模型的 准确性也逐渐成为重建的目标之一。 其中, 基于照片的重建方法具有数 据采集方便, 重建模型视觉效果好的特点, 但是准备工作多, 手工交互 工作量大, 重建模型与真实模型只能保持在某一个或某几个角度相似, 并不能反映出植物的真实形态。 基于三维扫描点云的方法以树的三维扫 描数据作为输入, 几何信息丰富, 精度高, 可以获得较照片精度高得多 的模型。 Cheng2007 ( Z. Cheng, X. Zhang and B. Chen, "Simple Reconstruction of Tree Branches From a Single Range Image," Journal of Computer Science and Technology, vol. 22, no. 6, pp. 846C858, 2007 ) 提出 的树木点云数据的重建方法中, 通过手工分割的方法将树冠部分与树干 部分实现分离, 对于树干部分, 首先通过扫描图像的深度检测实现枝干 之间的分离, 再利用圆柱拟合获得骨架点以及骨架点对应的半径, 该方 法可以获得相对准确的骨架位置和树枝半径, 但是无法对细枝以及树冠 进行重建。 Neubert2007 (Neubert, T. Franken and O. Deussen, Approximate Image Based Tree-Modeling Using Particle Flows, ACM Transactions on Graphics (TOG). ACM, 26(3): 88, 2007. )将粒子流的方法用于数据驱动的 树木建模中, 他们首先从两张正交拍摄的树木图片中提取出方向场, 然 后沿方向场采用粒子流方法将树冠与主枝进行连接, 从而使得重建的模 型与输入的照片相吻合。 但是该方法使用的是单层粒子流的运动, 因此 只适用于二级结构。 本发明将该方法进行了扩展, 使用分级的粒子流方 法来提取树木的多级结构, 而且本发明是从点云数据中重建模型。 Livny2010 ( Y. Livny, F. Yan, M. Olson, B. Chen, H. Zhang and J. El-Sana, "Automatic Reconstruction of Tree Skeletal Structures from Point Clouds," ACM Trans. Graph, vol.29, no.151, pp. 1C8,2010. )提出了一种基于全局拟 合优化的方法提取点云数据的骨架结构, 该方法更加鲁棒, 但在遮挡严 重的情况下仍然无法准确地重构出主枝和树冠的骨架。 Livny2011 ( Y. Livny, S. Pirk, Z. Cheng, F. Yan, O. Deussen, D. Cohen-Or and B. Chen. Texture-lobes for Tree Modelling, ACM Transactions on Graphics (Proceedings of SIGGRAPH 2011), vol.30, no.4, 2011. )提出了一种基于裂 片的树木表示方法, 该方法可以用于树木的重建, 也可以对现有的树木 模型进行重新表示, 本发明对该方法进行了扩展, 同时考虑了树冠和可 见主枝的信息, 并采用分级粒子流的方法对树冠和主枝进行填充。 In recent years, due to the rapid development of digital means, the reconstruction method based on tree digitization has gained more and more attention in plant reconstruction. At present, tree photographs, point clouds, etc. obtained by tree digitization are mainly used as input data, and some Knowledge and rules are obtained to obtain a plant model similar to the input data. In addition to obtaining better visual effects, the accuracy of the reconstruction model has gradually become one of the goals of reconstruction. Among them, the photo-based reconstruction method has the advantages of convenient data collection and good visual effect of reconstructing the model, but the preparation work is too much, the manual interaction is large, and the reconstruction model and the real model can only remain at a certain angle or a certain angle, and It does not reflect the true form of the plant. The method based on 3D scanning point cloud takes the 3D scan data of the tree as input, and the geometric information is rich, the precision is high, and the model with much higher precision than the photo can be obtained. Cheng2007 (Z. Cheng, X. Zhang and B. Chen, "Simple Reconstruction of Tree Branches From a Single Range Image," Journal of Computer Science and Technology, vol. 22, no. 6, pp. 846C858, 2007 ) In the method of reconstructing the point cloud data of the tree, the crown portion is separated from the trunk portion by manual segmentation, and for the trunk portion, the branch is first detected by the depth of the scanned image. The separation between the two, and then the cylindrical point to obtain the skeleton point and the radius corresponding to the skeleton point, the method can obtain relatively accurate skeleton position and branch radius, but can not reconstruct the twigs and crown. Neubert2007 (Neubert, T. Franken and O. Deussen, Approximate Image Based Tree-Modeling Using Particle Flows, ACM Transactions on Graphics (TOG). ACM, 26(3): 88, 2007. ) Using particle flow methods for data In the driven tree modeling, they first extract the directional field from the two orthogonally photographed trees, and then use the particle flow method to connect the crown to the main branch along the directional field, so that the reconstructed model is related to the input photo. Match. However, this method uses the motion of a single layer particle stream and is therefore only applicable to secondary structures. The present invention extends the method by using a hierarchical particle flow method to extract a multi-level structure of trees, and the present invention reconstructs a model from point cloud data. Livny2010 (Y. Livny, F. Yan, M. Olson, B. Chen, H. Zhang and J. El-Sana, "Automatic Reconstruction of Tree Skeletal Structures from Point Clouds," ACM Trans. Graph, vol.29, no .151, pp. 1C8, 2010. ) A method based on global fitting optimization is proposed to extract the skeleton structure of point cloud data. This method is more robust, but it still cannot reconstruct the master accurately in the case of severe occlusion. The skeleton of the branches and crowns. Livny2011 (Y. Livny, S. Pirk, Z. Cheng, F. Yan, O. Deussen, D. Cohen-Or and B. Chen. Texture-lobes for Tree Modelling, ACM Transactions on Graphics (Proceedings of SIGGRAPH 2011), Vol.30, no.4, 2011.) A method for representing trees based on splinters is proposed. The method can be used for reconstruction of trees or for re-presenting existing tree models. The present invention has been carried out on this method. The expansion, taking into account the information of the canopy and the visible main branch, and filling the canopy and the main branch by the method of hierarchical particle flow.
发明内容 本发明提供一种基于点云与数据驱动的树木模型重建方法, 以解决 现有的树木重建方法准确性不高, 且只能处理较为简单的模型, 对于遮 挡严重、 形态复杂的模型难以获得较好重建结果的缺点。 SUMMARY OF THE INVENTION The present invention provides a tree model reconstruction method based on point cloud and data driving, so as to solve the problem that the existing tree reconstruction method is not accurate, and can only process a relatively simple model, which is difficult for a model with severe occlusion and complex shape. The disadvantage of obtaining better reconstruction results.
为实现上述目的, 本发明提供一种基于点云与数据驱动的树木模型 重建方法, 该方法包括以下歩骤: 歩骤 Sl、 获取树木点云数据, 对其进行预处理, 并定义树木模型的 分级表示; To achieve the above object, the present invention provides a point cloud and data driven tree model reconstruction method, the method comprising the following steps: Step S1, obtaining tree point cloud data, pre-processing it, and defining a hierarchical representation of the tree model;
歩骤 S2、从所述树木点云数据中提取得到主枝骨架点及其半径, 并 进行枝叶分离处理;  Step S2: extracting a main branch skeleton point and a radius thereof from the tree point cloud data, and performing branch and leaf separation processing;
歩骤 S3、 从所述树木点云数据中提取得到树冠特征点;  Step S3: extracting a crown feature point from the tree point cloud data;
歩骤 S4、 对于主枝骨架点进行结构化;  Step S4, structuring the main branch skeleton point;
歩骤 S5、 对于树冠特征点进行结构化并计算得到各个小枝的半径; 歩骤 S6、根据已经结构化的所有树枝的骨架点和半径, 重建得到完 整的树木模型。  Step S5: structuring the crown feature points and calculating the radius of each branch; Step S6, reconstructing a complete tree model according to the skeleton points and radii of all the branches that have been structured.
本发明采用计算机图形处理的技术, 从扫描的三维树木点云数据中 重建出完整的树木模型, 本发明通过对点云局部几何量和空间位置关系 的综合分析, 既自动准确地在复杂点云数据中计算出主枝的骨架点并获 得准确的半径, 又完整地恢复了树冠形状, 符合生物学特征地模拟出大 量细枝, 使重建模型在准确的基础上获得了较高的真实感。  The invention adopts the technology of computer graphics processing to reconstruct a complete tree model from the scanned three-dimensional tree point cloud data. The invention automatically and accurately in a complex point cloud through comprehensive analysis of the local geometrical relationship of the point cloud and the spatial position relationship. In the data, the skeleton point of the main branch is calculated and the radius is obtained, and the crown shape is completely restored. A large number of fine branches are simulated in accordance with the biological characteristics, so that the reconstruction model obtains a higher realism on an accurate basis.
附图说明 图 1是本发明点云与数据驱动的树木模型重建方法的流程图; 图 2是根据本发明一实施例获取的白皮松树扫描点云数据; 图 3是根据本发明一实施例的树木分级表示示意图; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a method for reconstructing a point cloud and a data driven tree model according to the present invention; FIG. 2 is a view showing a point cloud data of a white pine tree obtained according to an embodiment of the present invention; FIG. Tree grading indicates a schematic diagram;
图 4是根据本发明一实施例中圆柱体搜索空间的示意图;  4 is a schematic view of a cylinder search space in accordance with an embodiment of the present invention;
图 5是根据本发明一实施例圆柱体移动搜索方法流程图;  5 is a flow chart of a cylinder movement search method according to an embodiment of the present invention;
图 6是根据本发明一实施例用分级离子流提取的主枝骨架点; 图 7是根据本发明一实施例得到的枝叶分离结果示意图;  6 is a main branch skeleton point extracted by a fractional ion current according to an embodiment of the present invention; FIG. 7 is a schematic diagram showing the result of branch and leaf separation according to an embodiment of the present invention;
图 8是根据本发明一实施例提取得到的树冠特征点的结果示意图; 图 9是根据本发明一实施例结构化的主枝和树冠细枝示意图; 图 10是根据本发明一实施例重建出的完整白皮松树模型; 图 11 是输入点云数据遮挡严重情况下本发明与现有技术的结果对 比图; 图 12是利用本发明对扫描的树林点云进行重建得到的结果示意图。 8 is a schematic diagram showing the result of extracting the feature points of the canopy according to an embodiment of the present invention; FIG. 9 is a schematic diagram showing the structure of the main branches and the crowns according to an embodiment of the present invention; FIG. 10 is a reconstruction according to an embodiment of the present invention. a complete white pine tree model; Figure 11 is a comparison of the results of the present invention with the prior art in the case of input point cloud data occlusion; Figure 12 is a graphical representation of the results obtained by reconstructing a scanned forest point cloud using the present invention.
具体实施方式 为使本发明的目的、 技术方案和优点更加清楚明白, 以下结合具体 实施例, 并参照附图, 对本发明进一歩详细说明。 DETAILED DESCRIPTION OF THE INVENTION In order to make the objects, the technical solutions and the advantages of the present invention more comprehensible, the present invention will be described in detail below with reference to the accompanying drawings.
图 1是本发明点云与数据驱动的树木模型重建方法的流程图, 如图 1所示,本发明方法包括以下歩骤: Sl、树木点云数据的获取及预处理, 并定义树木模型的分级表示; S2、 主枝骨架点提取及枝叶分离; S3、 树 冠特征点提取; S4、 主枝骨架点的结构化; S5、 树冠特征点的结构化; S6、 完整模型的重建。  1 is a flow chart of a point cloud and data driven tree model reconstruction method according to the present invention. As shown in FIG. 1, the method of the present invention includes the following steps: Sl, tree point cloud data acquisition and preprocessing, and defining a tree model. Graded representation; S2, main branch skeleton point extraction and branch and leaf separation; S3, canopy feature point extraction; S4, main branch skeleton point structure; S5, canopy feature point structure; S6, complete model reconstruction.
下面对上述每个歩骤进行更加详细的说明。  Each of the above steps will be described in more detail below.
步骤 Sl、获取树木点云数据,对其进行预处理, 并定义树木模型的 分级表示;  Step S1: acquiring tree point cloud data, pre-processing the same, and defining a hierarchical representation of the tree model;
要实现真实的植物三维建模首先要获得植物的原始模型, 目前获取 植物原始模型的方法主要有两种, 分别为依靠照相机获取图像模型和依 靠激光扫描仪获取三维点云模型。 本发明利用三维激光扫描仪 (如 To achieve real plant 3D modeling, we must first obtain the original model of the plant. At present, there are two main methods for obtaining the original model of the plant, which are to obtain the image model by camera and the 3D point cloud model by laser scanner. The invention utilizes a three-dimensional laser scanner (eg
Cyrax), 视觉照相等工具获取树木点云数据, 基于点云分析技术保留需 要重建的单个和多个树木上的点云, 去掉其它对象的点, 即预处理。 图 2是根据本发明一实施例获取的白皮松树扫描点云数据。 Cyrax), tools such as visual photography capture tree point cloud data, point cloud analysis techniques to preserve point clouds on single and multiple trees that need to be reconstructed, and to remove points from other objects, ie preprocessing. 2 is a white pine tree scanning point cloud data acquired according to an embodiment of the invention.
另外, 根据植物学的知识, 本发明将树木的形状进行分级表示: 主 枝、 细枝和树叶, 其中主枝包含 2到 4级枝, 细枝包含 2-5级枝, 具体 的级数与树种、 树龄有关, 一般来说, 树龄大的分级数也多, 主枝分级 数记为 NL, 细枝分级数记为 NS, 细枝和树叶合起来构成树冠。 图 3是 根据本发明一实施例的树木分级表示示意图, 以 5级为例, 其中, 图 3A 显示了树木的主要结构, 图 3B显示了 5级分级的元素, 图 3C显示了 5 级的树木模型。  In addition, according to the knowledge of botany, the present invention classifies the shape of the tree: main branches, twigs and leaves, wherein the main branches contain 2 to 4 branches, and the twigs contain 2-5 branches, the specific series and Tree species and tree age are related. Generally speaking, there are many grades of tree age. The number of main branches is NL, the number of twigs is NS, and twigs and leaves are combined to form a canopy. 3 is a schematic diagram showing hierarchical representation of trees according to an embodiment of the present invention, taking 5 levels as an example, wherein FIG. 3A shows the main structure of trees, FIG. 3B shows elements of level 5, and FIG. 3C shows trees of level 5. model.
步骤 S2、从所述树木点云数据中提取得到主枝骨架点及其半径,并 进行枝叶分离处理; 该歩骤首先从所述树木点云数据中提取出主枝骨架点, 并利用提取 得到的主枝骨架点实现枝叶分离, 然后在后续的歩骤中完成主枝和树冠 的结构化。 Step S2: extracting a main branch skeleton point and a radius thereof from the tree point cloud data, and performing branch and leaf separation processing; The first step is to extract the main branch skeleton point from the point cloud data of the tree, and use the extracted main branch skeleton point to realize the separation of the branches and leaves, and then complete the structure of the main branch and the canopy in the subsequent steps.
所述歩骤 S2包括以下歩骤:  The step S2 includes the following steps:
步骤 S2.1、 计算点云各个点 p处的局部几何量;  Step S2.1: calculating a local geometric quantity at each point p of the point cloud;
所述点云各个点 P处的局部几何量包括法方向 Q^、 主曲率 (»和 k2(p) (fc1(p) < /c2(p)), 以及主曲率对应的主方向 ¾ )和 0)。 The local geometric quantity at each point P of the point cloud includes a normal direction Q^, a principal curvature (» and k 2 (p) (fc 1 (p) < /c 2 (p)), and a main direction corresponding to the main curvature 3⁄4) and 0).
所述歩骤 S2.1进一歩包括以下歩骤:  The step S2.1 further includes the following steps:
歩骤 S2.1.1、 建立整个点云数据的 kd树;  Step S2.1.1, establishing a kd tree of the entire point cloud data;
在计算几何中, kd树是已经被证明的查找近邻的最快捷的数据结构 之一, kd树的建立方法在此不作赘述。  In computational geometry, the kd tree is one of the fastest data structures that have been proven to find neighbors. The method of building a kd tree is not described here.
歩骤 S2.1.2、对于点云数据中的每一个点 p,利用 kd树查找其多个, 比如 15个或 30个近邻点, 假设这些近邻点来自于同一个平面, 利用最 小二乘方法拟合出这个平面, 以这个平面的法向量作为点 p的法方向 n(  Step S2.1.2, for each point p in the point cloud data, use the kd tree to find multiple of them, such as 15 or 30 neighbors, assuming that the neighbors are from the same plane, using the least squares method Combine this plane, using the normal vector of this plane as the normal direction n of point p (
歩骤 S2.1.3、 在点 p处建立局部坐标系, 并拟合出一个二次曲面 (u, v) = c0u2 + 2c uv + c2v2 , 其中 (u,v,h(u,i;))是表示空间中的一点, c。, c , c2是曲面系数。 求得二次曲面的系数后, 利用该二次曲面计算 出点 P处的主曲率/ 和 fc2(p)以及主方向 ¾ )和¾0?)。; Step S2.1.3, establish a local coordinate system at point p, and fit a quadric surface (u, v) = c 0 u 2 + 2c uv + c 2 v 2 , where (u, v, h( u, i;)) is a point in the space, c. , c , c 2 are surface coefficients. After obtaining the coefficient of the quadric surface, the principal curvature / and fc 2 (p) at the point P and the main directions 3⁄4 and 3⁄40?) are calculated using the quadric surface. ;
歩骤 S2.1.4、 定义 p点处的曲率圆半径为 r(p) = l/k2(p), 曲率圆心 为 b(p) = p— r(p) (p)。, 用¾¾?)近似表示 p处树枝的轴向, r(p)近似的 表示该点处的树枝半径, b(p)估计为该点处的树干轴线的位置, 也称为 树枝骨架点。 Step S2.1.4. Define the radius of the curvature circle at point p as r(p) = l/k 2 (p), and the center of curvature is b(p) = p- r(p) (p). , with 3⁄43⁄4? Approximate to the axial direction of the branch at p, r(p) approximates the radius of the branch at that point, and b(p) is estimated to be the position of the trunk axis at that point, also known as the branch skeleton point.
步骤 S2.2、基于点云各个点 p处的局部几何量来定义一个拟合 p点枝 干形状的圆柱, 利用圆柱体的移动来搜索潜在的枝干 (即移动圆柱体方 法), 从而提取得到主枝骨架点及其半径;  Step S2.2, defining a cylinder fitting the p-shaped branch shape based on the local geometric quantity at each point p of the point cloud, and searching for a potential branch (ie, moving the cylinder method) by using the movement of the cylinder, thereby extracting Obtaining the main branch skeleton point and its radius;
如图 4所示, 一个点 p处的圆柱体定义为 S(q) = S = (b,r,¾H), 其 中, b,r 为所述歩骤 S2.1 计算得到的局部几何量: 曲率圆心、 曲率半 径和主方向, 代表 S的底面圆心, r为底面圆半径, 3为轴向, H代表高 度并且是一个定值。 s的扩展圆柱体记为 T(S) = α ^, ζ ),其中,入^殳 为一定值, 比如 1.3, T S)定义了寻找潜在主枝骨架点的搜索空间, 将所 有位于 T S)中的扫描数据点记为集合 s)。 As shown in Fig. 4, a cylinder at a point p is defined as S(q) = S = (b, r, 3⁄4H), where b, r is the local geometric quantity calculated in the step S2.1: The center of curvature, the radius of curvature and the main direction represent the center of the bottom of S, r is the radius of the bottom circle, 3 is the axial direction, and H is the height. Degree is a fixed value. The extended cylinder of s is denoted by T(S) = α ^, ζ ), where 入 is a certain value, such as 1.3, TS) defines the search space for finding potential main branch skeleton points, which will be located in TS) The scanned data points are recorded as a set s).
图 5是根据本发明一实施例圆柱体移动搜索方法流程图, 如图 5所 示, 所述圆柱体移动搜索方法包括以下歩骤:  5 is a flow chart of a cylinder movement search method according to an embodiment of the present invention. As shown in FIG. 5, the cylinder movement search method includes the following steps:
歩骤 S2.2.1、 构造初始圆柱体: 从点云数据中任选一点 p。, 构造初 始圆柱体 S(p0) = S(1) = (b(1),r(1) (1),H(1)), 其中, b(D表示初始圆柱 体 S(D的底面圆心, r(D为初始圆柱体 S(D的底面圆半径, 3(D代表初始圆 柱体 S( 的轴向, H(D代表初始圆柱体 S(D的高度, 初始圆柱体 S( 的拓 展圆柱体为 T(S(D), TCS^) = ω,λιΓ(1)(1),2Ηω), (S(D)代表 T(S(1))中的所有点; Step S2.2.1. Construct the initial cylinder: Select a point p from the point cloud data. , construct the initial cylinder S(p 0 ) = S( 1 ) = (b( 1 ), r( 1 ) ( 1 ), H( 1 )), where b (D represents the initial cylinder S (the bottom surface of D) Center, r (D is the initial cylinder S (D of the bottom circle radius of D, 3 (D represents the initial cylinder S (the axial direction, H (D represents the initial cylinder S (D height, initial cylinder S (expansion) The cylinder is T(S(D), TCS^) = ω, λιΓ (1) , ά (1) , 2Η ω), and (S(D) represents all points in T(S (1) );
歩骤 S2.2.2、 首先判断集合 Sd))中的任意一点 q是否是有效的, 即如果圆柱体 S(p。)和 S(q)满足: 1) b(q) 6 S(p。); 2) r(q)/r(p0) - 1.0; 3) 和 ϊ(ρ。)之间的夹角较小, 其中, b(q)表示圆柱体 S(q)的曲率 圆心, r(q)表示圆柱体 S(q)的曲率半径, r(p。)表示圆柱体 S(p。)的曲率半 径, 表示圆柱体 S(q)的轴向, ϊ(ρ。)表示圆柱体 S(p。)的轴向, 则 点 q称为一个有效的点;如果集合 Sd))中有效点的数目大于第一阈值 Nx (在本发明一实施例中设为 6),则初始圆柱体 S(D的后继圆柱体 S(2)存 在, 且其参数 bG),rG), 2)分别是集合 SW)中所有点的曲率圆心、 曲 率半径和主方向的平均值, 然后将 S( 中的所有点都标记为已处理, 且 在后续歩骤中不再被访问; Step S2.2.2, first determine whether any point q in the set Sd)) is valid, that is, if the cylinders S(p.) and S(q) satisfy: 1) b(q) 6 S(p.) 2) r(q)/r(p 0 ) - 1.0; 3) The angle between ϊ and ϊ(ρ.) is small, where b(q) represents the center of curvature of the cylinder S(q), r (q) represents the radius of curvature of the cylinder S(q), r(p.) represents the radius of curvature of the cylinder S(p.), represents the axial direction of the cylinder S(q), and ϊ(ρ.) represents the cylinder In the axial direction of S(p.), the point q is referred to as a valid point; if the number of effective points in the set Sd)) is greater than the first threshold N x (set to 6 in an embodiment of the present invention), the initial The cylinder S (the successor cylinder S( 2 ) of D exists, and its parameters bG), rG), 2 ) are the average of the center of curvature, the radius of curvature and the main direction of all points in the set SW), respectively, and then S All points in ( are marked as processed and are no longer accessed in subsequent steps;
歩骤 S2.2.3、 注意初始圆柱体 S(D有一个轴向相反的伴生圆柱体 S(- 1) = (b(i),r(D,— SW'Hd)), S(D与 S(- D的轴向相反, 因此从 S(- D出发 按照歩骤 S2.2.2的方法寻找后继圆柱体 S(_2); Step S2.2.3, pay attention to the initial cylinder S (D has an axially opposite associated cylinder S(-1) = (b(i), r(D, - SW'Hd)), S(D and S (-D is axially opposite, so look for the successor cylinder S(_ 2 ) from S(-D) according to the method of step S2.2.2;
歩骤 S2.2.4、 在 S(2)或 S(-2)的基础上继续执行搜索直到没有找到任 何后继圆柱体, 如果找到的圆柱体的数目大于第二阈值 N2 (在本发明一 实施例中设为 6), 则这些圆柱体构成一个主枝片段, 并记录其圆心作为 主枝骨架点; 歩骤 S2.2.5、 在点云数据中重新选择一个未被处理的点并重复执行 上述四个歩骤, 直到所有点都被标记为已处理, 此时得到一个有序的圆 柱序列, 这就是移动圆柱的序列, 同时也得到一个有序骨架点序列 T, = ( 1 = 1 η },其中每个 (代表一段主枝,」表示第」段主枝, 表 示第 j段主枝包含骨架点的数目。 Ho step S2.2.4, the S (2) or S - continues until the search does not find any subsequent cylinder (2) on the basis of the number of cylinders if found N 2 than the second threshold value (in the embodiment of the present invention, a In the example set to 6), the cylinders form a main branch segment, and the center of the circle is recorded as the main branch skeleton point; Step S2.2.5, reselect an unprocessed point in the point cloud data and repeat the above four steps until all points are marked as processed, and an ordered cylindrical sequence is obtained, which is Moving the sequence of the cylinder, we also get an ordered skeleton point sequence T, = ( 1 = 1 η }, where each (representing a section of the main branch,) represents the first section of the main branch, indicating that the j-th branch contains the skeleton point Number of.
图 6是根据本发明一实施例提取的主枝骨架点示意图, 图 6中, 这 些骨架点并不是完全连在一起的, 每个骨架点用其对应的圆柱 (包括中 心禾口半径) 表示。  Figure 6 is a schematic diagram of the main branch skeleton points extracted in accordance with an embodiment of the present invention. In Figure 6, these skeleton points are not completely connected, and each skeleton point is represented by its corresponding cylinder (including the center and the radius of the mouth).
步骤 S2. 3、 利用提取得到的主枝骨架点, 将所述点云数据分为主枝 上的点云和树冠上的点云两部分, 实现枝叶分离;  Step S2. 3. Using the extracted main branch skeleton points, the point cloud data is divided into two parts: a point cloud on the main branch and a point cloud on the crown to realize separation of the branches and leaves;
该歩骤中, 将点云数据分为主枝上的点云^ ^和树冠上的点云 ^, 位 于圆柱搜索区域内的点云认为是位于主枝上的点云, 其它点云被认为是 位于树冠上的点云。 由于圆柱搜索区域的搜索半径为 λ^Ο^ , 其中 r p) 为圆柱体的半径, 被认为是该位置主枝的半径, 在本发明一实施例中, 入取^,所以圆柱搜索区域比真实的树枝范围大,在保证主枝上的点云 全部位于搜索区域中的同时, 也会有一部分树冠上的点云被包络进去。 但是这不会对最终结果的准确性造成不良影响, 因为主枝与树冠点云分 离的结果使我们更关注位于树冠上的那部分点云, 少量的缺失不会对树 冠点云的形状和外围轮廓造成影响。 图 7展示了根据本发明一实施例的 白皮松枝叶分离之后的结果,图 7中,将主枝上的点云(灰度深的部分) 记为^ ^, 树冠上的点云 (灰度亮的部分) 记为 。  In this step, the point cloud data is divided into a point cloud on the main branch and a point cloud on the crown. The point cloud located in the column search area is considered to be a point cloud located on the main branch, and other point clouds are considered It is a point cloud located in the canopy. Since the search radius of the cylindrical search area is λ^Ο^, where rp) is the radius of the cylinder, which is considered to be the radius of the main branch at the position, in an embodiment of the present invention, the input is ^, so the search area of the cylinder is more realistic. The range of branches is large, and while the point clouds on the main branches are all located in the search area, some of the point clouds on the crown are enveloped. But this does not adversely affect the accuracy of the final result, because the result of the separation of the main branch from the canopy point cloud makes us pay more attention to the part of the point cloud located in the canopy, a small amount of missing will not affect the shape and periphery of the canopy point cloud The contours have an effect. Figure 7 shows the results of the separation of the branches of the Pinus bungeana according to an embodiment of the present invention. In Figure 7, the point cloud (the portion of the gray scale) on the main branch is recorded as ^ ^, the point cloud on the crown (the gray scale is bright) Part of it).
步骤 S3、 从所述树木点云数据中提取得到树冠特征点;  Step S3, extracting a crown feature point from the tree point cloud data;
在本发明一实施例中, 构建多尺度的方法提取所述树木模型中的树 冠特征点, 该方法中, 每一尺度对应树木的一级表示, 即划分 NS个尺 度 Ω2、 ...、 nNS分别对应树木的 NS 级的细枝表示, 并且 ni
Figure imgf000009_0001
对于每一尺度 Ω, 将树冠点云 的包围盒划分为 若干均匀且等尺寸 (大小为 的立方体 当一个立方体 ½满足下 列两个条件的时候,称½是有效的, 即½的重心 ^为树冠在尺度 上的一 个特征点: 1) ½ 中属于 ^ 的点的数量不能小于第三阈值 N3, 在本发明 一实施例中, N3设为 5 ; 2) ½ 中没有属于^ ^的点。 对应于尺度 的有 效立方体的列表为^: = 。计算每一个尺度 下中所有 ½的 重心 被计算出来, 则所有的重心 ^被认为是树冠在尺度 Ω上的所有特 征点。 图 8 是根据发明一实施例提取得到的树冠特征点的结果示意图, 图中, 灰度较亮的点 (用小球显示) 为特征点, 这些特征点在空间中均 匀分布, 且能较好地表示出树冠的形状。
In an embodiment of the present invention, a multi-scale method is constructed to extract a crown feature point in the tree model. In the method, each scale corresponds to a first-level representation of the tree, that is, the NS scales Ω 2 , ..., n NS corresponds to the NS-level twig representation of the tree, and ni
Figure imgf000009_0001
For each scale Ω, divide the bounding box of the crown point cloud into several uniform and equal sizes (the size of the cube. When a cube meets the following two conditions, it is effective, that is, the center of gravity of the 1⁄2 is the crown A feature point on the scale: 1) The number of points belonging to ^ in 1⁄2 cannot be less than the third threshold N 3 , in the present invention In one embodiment, N 3 is set to 5; 2) 1⁄2 has no points belonging to ^ ^. The list of valid cubes corresponding to the scale is ^: = . Calculating the center of gravity of all 1⁄2 in each scale is calculated, then all the centers of gravity ^ are considered to be all the feature points of the canopy on the scale Ω. FIG. 8 is a schematic diagram showing the results of extracting feature points of a canopy according to an embodiment of the invention. In the figure, points with brighter gray scales (shown by small balls) are feature points, and these feature points are evenly distributed in space, and can be better. The ground shows the shape of the canopy.
步骤 S4、 对于主枝骨架点进行结构化;  Step S4: structuring the main branch skeleton point;
由前述歩骤得到的主枝骨架点并没有完整的连接关系, 即获取的每 段主枝内部的骨架点具有连接关系, 但是主枝与主枝之间没有任何连接 信息, 同时树冠的三个尺度的特征点也完全是离散的, 因此, 在本发明 一实施例中, 采用三维分级粒子流运动的方法将这些骨架点进行有效而 准确地结构化, 构建分级枝干。  The main branch skeleton points obtained by the foregoing steps do not have a complete connection relationship, that is, the skeleton points inside each of the obtained main branches have a connection relationship, but there is no connection information between the main branches and the main branches, and three of the crowns are The feature points of the scale are also completely discrete. Therefore, in an embodiment of the present invention, the skeleton points are effectively and accurately structured by using a three-dimensional hierarchical particle flow motion method to construct a hierarchical branch.
对于主枝部分, 首先设置一个根节点 G (可以选择树木模型靠近地 面的位置) 来引导粒子流运动, 然后对已经得到的有序骨架点列表 τ,- = {c , h = 1 , ... , η 中的每一个枝干 ,以其下端点 作为粒子的初始 位置放置粒子 ^, 最后用剩余的主枝骨架点作为吸引, 引导粒子在空间 中运行, 寻找合适的可连接点, 用粒子的轨迹作为主枝的补充连接各个 分散的枝干, 实现所有主枝骨架点的结构化。 其中, 每一个粒子在寻找 可连接点的运行过程中, 在没有找到属于自己的可连接点之前, 都不断 进行锥状分级搜索, 锥状分级搜索的目的在于寻找可以连接的枝干, 具 体过程如下: 设 代表粒子 ρ/在 1歩骤的速度方向, ρ/记录 在 1歩骤 的位置, 也就是粒子运行的轨迹点, 对于位于 ρ/位置的粒子 , 以 ρ/为 顶点, 以 为轴, 以ι。为高, 以 。为母线与轴线的夹角, 建立一个圆锥 For the main branch part, first set a root node G (you can select the position of the tree model close to the ground) to guide the particle flow motion, and then to the ordered list of ordered skeleton points τ, - = {c , h = 1 , .. Each branch in η places the particle ^ with its lower end point as the initial position of the particle, and finally uses the remaining main branch skeleton point as the attraction to guide the particle to run in space, find a suitable connectable point, and use the particle The trajectory is used as a supplement to the main branch to connect the scattered branches to achieve the structuring of all the main branch points. Among them, each particle in the process of searching for connectable points, before tapping its own connectable points, is constantly performing a cone-like hierarchical search. The purpose of the cone-shaped hierarchical search is to find the branches that can be connected. As follows: Let the representative particle ρ / in the speed direction of 1 ,, ρ / record at the position of 1 ,, that is, the trajectory point of the particle running, for the particle located at ρ / position, ρ / as the apex, as the axis, Take ι. High, to. Establish a cone for the angle between the busbar and the axis
F。, 如果在这个圆锥内存在除了 (以外的其他枝干骨架点, 则选择在这 个区域内这些骨架点中与 夹角最小的点作为 W的 "可连接点", 如果 在圆锥内没有搜索到可连接点, 再同样以 ρ/为顶点, 以 为轴, 以 h! = hup + ι。为高, 以 6^ = θηρ + 6>。为母线与轴线的夹角, 其中1 ^为高 度的增加量, 。为夹角的增加量, 之后建立一个新圆锥 , 在其中重新 寻找可连接点, 如果仍然没有找到并且 < lmax, ^ < ^nax, 就进一歩 扩大高度和夹角, 反复上面的搜索过程, 其中/ ½ ^和^ 为高度和夹角 的最大值。 当 ^搜索到可连接点 gattaeh之后, 在后面的运动过程中将不 再进行锥状区域搜索, 把 gatta 记录作为?^的吸引点。 F. If there is a branch skeleton point other than (in this cone), select the point with the smallest angle among these skeleton points in this area as the "connectable point" of W, if there is no search in the cone Connect the point, and then use ρ/ as the apex, and then as the axis, with h! = h up + ι. Be high, with 6^ = θ ηρ + 6>. The angle between the busbar and the axis, where 1 ^ is the height Increase the amount, for the increase of the angle, then create a new cone, in which to find the connectable point again, if still not found and < l max , ^ < ^n ax , then go ahead Expand the height and angle, repeat the above search process, where / 1⁄2 ^ and ^ are the maximum height and angle. After searching for the connectable point g attaeh , the cone-shaped area search will not be performed during the subsequent movement, and the g atta record is taken as the attraction point of ?^.
步骤 S5、 对于树冠特征点进行结构化并计算得到各个小枝的半径; 在将主枝骨架点全面连接起来之后, 该歩骤中, 将对应的树木第一 级树冠特征点作为粒子流的起点运动到主枝骨架点上, 粒子运行的轨迹 作为该级细枝的骨架点; 将树木其它级别对应的树冠特征点作为粒子流 的起点运动到上一级主枝骨架点上, 粒子运行的轨迹仍然作为该级的骨 架点, 从而实现所有特征点的结构化; 最后根据主枝的半径估计得到各 个小枝的半径。  Step S5: structuring the crown feature points and calculating the radius of each branch; after fully connecting the main branch skeleton points, in the step, the corresponding tree first-level canopy feature points are used as the starting point of the particle flow To the main branch skeleton point, the trajectory of the particle running is used as the skeleton point of the fine branch; the crown feature points corresponding to other levels of the tree are moved as the starting point of the particle flow to the upper primary skeleton point, and the trajectory of the particle still remains. As the skeleton point of the level, the structuring of all the feature points is realized; finally, the radius of each branch is estimated according to the radius of the main branch.
树冠特征点的结构化与主枝骨架点的结构化有很大的相似之处, 首 先设置树冠吸引点 X(例如可以选择根节点 G正上方三分之一树高处), 然后分别以 NS个尺度的树冠特征点为粒子流的起点撒下粒子, NS个尺 度的粒子分为 NS批先后在主枝骨架点和吸引点 X 的引导作用下向主枝 骨架点方向运动,寻找合适的可连接点,最后全部运行到主枝骨架点上, 粒子运行的轨迹作为细枝的骨架点。 i尺度下的粒子全部运行到主枝骨 架点之后形成第 (NL+l)级分枝, Ω2尺度下的粒子全部运行到第NL+l) 级分枝骨架点之后形成 (NL+2)级分枝, 依次类推, 最后 尺度下的粒 子全部运行形成细枝。 这个过程完成了树冠特征点与主枝骨架点的完整 结构化。 图 9是根据本发明一实施例的主枝和树冠各级细枝结构化的结 果示意图。 The structure of the canopy feature points has a great similarity with the structure of the main branch skeleton points. First, set the canopy attraction point X (for example, you can select one third of the tree height above the root node G), and then use NS respectively. The crown feature points of the scales are the particles at the beginning of the particle flow, and the NS scale particles are divided into NS batches to move toward the main branch skeleton point under the guidance of the main branch skeleton point and the attraction point X, so as to find a suitable one. The connection point, and finally all run to the main branch skeleton point, the trajectory of the particle running as the skeleton point of the twig. The particles at the i scale all run to the main branch skeleton point to form the (NL+l) level branch, and the particles at the Ω 2 scale all run to the NL+l) branching skeleton point (NL+2). The branching, and so on, the particles at the final scale all run to form twigs. This process completes the complete structuring of the canopy feature points and the main branch skeleton points. 9 is a schematic diagram showing the results of structuring of the branches of the main branches and the crowns according to an embodiment of the present invention.
由于树木重建效果的主要因素在于主枝可见部分的树干的半径, 细 枝的半径对模型的应用没有大的影响, 因此本发明将细枝根部的半径设 定为其父枝干半径的固定倍数, 比如 0.7倍, 并且设定细枝的末端半径 为固定的 σ, 在本发明一实施例中, σ被设为 0.2cm。 细枝中间骨架点的 半径通过线性拟合获得。  Since the main factor of the tree reconstruction effect is the radius of the trunk of the visible part of the main branch, the radius of the twig does not have a large influence on the application of the model. Therefore, the present invention sets the radius of the root of the twig to a fixed multiple of the radius of the parent branch. For example, 0.7 times, and the tip radius of the twig is set to be a fixed σ. In an embodiment of the invention, σ is set to 0.2 cm. The radius of the intermediate skeleton point of the twig is obtained by linear fitting.
步骤 S6、根据已经结构化的所有树枝的骨架点和半径,重建得到完 整的树木模型。 该歩骤中, 首先利用已经结构化的所有树枝的骨架结构和半径, 使 用不同半径的圆柱体 (三角网格模型) 对树枝进行拟合, 重建得到树木 的三维网格模型; 然后采用纹理合成的方法在网格模型上添加合适的纹 理(纹理添加方法属于现有技术中常用的纹理处理方法,在此不作赘述), 然后根据输入点云数据的规模和树叶的种类 (阔叶或者针叶), 利用统 计估计的方法决定所需树叶的数量、 树叶的长度和宽度等树叶信息, 并 将不同的树叶添加到所述三维网格模型细枝的末端, 从而实现树木三维 模型的完整重建。 Step S6: reconstructing a complete tree model according to the skeleton points and radii of all the branches that have been structured. In this step, firstly, using the skeleton structure and radius of all the branches that have been structured, the branches are fitted with cylinders of different radii (triangular mesh model), and the three-dimensional mesh model of the trees is reconstructed; then texture synthesis is adopted. The method adds a suitable texture to the mesh model (the texture addition method belongs to the texture processing method commonly used in the prior art, which will not be described here), and then according to the size of the input point cloud data and the type of the leaf (broad or coniferous) The statistical estimation method is used to determine the leaf information such as the number of leaves required, the length and width of the leaves, and different leaves are added to the end of the three-dimensional mesh model twig, thereby realizing the complete reconstruction of the tree three-dimensional model.
图 10 是采用本发明的方法从扫描的白皮树点云数据中重建出的完 整三维树木模型, 其包含了主枝、树冠以及树叶。从图 10中可以看到, 重建的树木模型与输入的点云形状非常一致, 这体现在两方面: 1 ) 主 枝上的点云与重建的模型实现了很好的吻合, 这说明了本发明的主枝重 建无论是骨架点位置还是半径都是准确的; 2) 树冠部分完整的填充了 整个树冠空间, 准确的还原了树冠的凹凸特征。 另外, 对于图 11A显示 的被遮挡的点云数据, Livny2010的方法 (如图 11B所示) 提取的树枝 受到输入点云密度的影响, 对于树叶较密的区域, 枝的生长方向容易沿 着树冠表面爬行, 而采用本发明方法(如图 11C所示) 能够准确地计算 出主枝和树冠特征点的位置, 且计算树枝半径的准确性更高, 最后的结 果也具有很好的美观性。  Figure 10 is a complete three-dimensional tree model reconstructed from scanned white-skin tree point cloud data using the method of the present invention, which includes the main branches, canopies, and leaves. As can be seen from Figure 10, the reconstructed tree model is very consistent with the shape of the input point cloud, which is reflected in two aspects: 1) The point cloud on the main branch is in good agreement with the reconstructed model, which illustrates this The main branch reconstruction of the invention is accurate in both the position and the radius of the skeleton point; 2) The crown portion completely fills the entire canopy space, and accurately reduces the concave and convex features of the crown. In addition, for the occluded point cloud data shown in FIG. 11A, the method of Livny 2010 (shown in FIG. 11B) extracts the branches affected by the input point cloud density, and for the densely packed areas, the branches grow easily along the canopy. The surface crawls, and the method of the present invention (as shown in Fig. 11C) can accurately calculate the position of the main branch and the canopy feature points, and the accuracy of calculating the branch radius is higher, and the final result also has a good aesthetic appearance.
此外, 本发明的方法也可以很容易地应用到树林的模型重建方面。 树林点云数据的模型重建方法与单棵树木的重建方法区别之处在于要 首先设置根节点 G和树冠吸引点 X, 其余歩骤相似。本发明在空间中距 离地平面 1/4 和 1/3 树林高位置平行于地平面建立两个截平面,处在截 平面间的骨架点被称为备选点吸引点。 在进行特征点结构化的粒子流运 动时, 每个点在运动过程中自动的从备选吸引点中寻找与自己欧氏距离 最近的点作为自己的吸引点, 以自己吸引点在地平面的上投影点作为自 己的根节点。 当根节点和吸引点的搜索方法确定后, 通过粒子流运动实 现特征点的结构化。图 12A是输入的树林点云数据, 图 12B是利用本发 明方法重建后得到的树林模型。 本发明方法通过对点云局部几何量和空间位置关系的综合分析, 自 动准确地在复杂树木点云模型中计算出树枝的骨架点并获得准确的半 径, 改变了以往树干提取算法中手工交互过多, 工作量大, 结果不够准 确的状况; 同时, 采用分级粒子流运动的方法自动实现了主枝骨架点的 连接和树冠特征点与树枝骨架点的全面特征化, 既完整的恢复了树冠形 状, 又符合生物学特征的模拟出大量细枝, 使重建模型在准确的基础上 获得了较高的真实感。 Furthermore, the method of the invention can also be easily applied to model reconstruction aspects of trees. The difference between the model reconstruction method of the forest point cloud data and the reconstruction method of the single tree is that the root node G and the canopy attraction point X are first set, and the rest are similar. The present invention establishes two sectional planes parallel to the ground plane from the ground plane at a height of 1/4 and 1/3 of the ground plane in space, and the skeleton point between the section planes is called an alternative point attraction point. During the movement of the particle flow structured by the feature points, each point automatically searches for the closest point to its own Euclidean distance from the candidate attraction points during the motion as its own attraction point, so as to attract the point at the ground plane. The upper projection point is its own root node. After the root node and the attraction point search method are determined, the feature point is structured by the particle flow motion. Fig. 12A is input forest point cloud data, and Fig. 12B is a forest model obtained by reconstruction using the method of the present invention. The method of the invention automatically and accurately calculates the skeleton points of the branches in the complex tree point cloud model and obtains the accurate radius by comprehensively analyzing the local geometrical relationship of the point cloud and the spatial position relationship, and changes the manual interaction in the previous trunk extraction algorithm. More, the workload is large, and the results are not accurate enough. At the same time, the method of grading particle flow motion automatically realizes the connection of the main branch skeleton points and the comprehensive characterization of the canopy feature points and the skeleton skeleton points, which completely restores the crown shape. And it is in line with the biological characteristics to simulate a large number of twigs, so that the reconstruction model obtains a higher sense of reality on an accurate basis.
上述实验结果和基于点云与数据驱动的树木模型重建的方法, 可以 用于农林业测量、 树木保护、 数字娱乐及虚拟场景模拟等应用领域, 具 有较高的实际应用价值。  The above experimental results and the method based on point cloud and data-driven tree model reconstruction can be applied to agricultural and forestry measurement, tree protection, digital entertainment and virtual scene simulation applications, and have high practical application value.
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进 行了进一歩详细说明, 所应理解的是, 以上所述仅为本发明的具体实施 例而已, 并不用于限制本发明, 凡在本发明的精神和原则之内, 所做的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种点云与数据驱动的树木模型重建方法, 其特征在于, 该方 法包括以下歩骤: 1. A point cloud and data-driven tree model reconstruction method, characterized in that the method includes the following steps:
歩骤 Sl、 获取树木点云数据, 对其进行预处理, 并定义树木模型的 分级表示; Step S1: Obtain tree point cloud data, preprocess it, and define a hierarchical representation of the tree model;
歩骤 S2从所述树木点云数据中提取得到主枝骨架点及其半径, 并 进行枝叶分离处理; Step S2 extracts the main branch skeleton points and their radius from the tree point cloud data, and performs branch and leaf separation processing;
歩骤 S3、 从所述树木点云数据中提取得到树冠特征点; Step S3: Extract crown feature points from the tree point cloud data;
歩骤 S4、 对主枝骨架点进行结构化; Step S4: Structure the main branch skeleton points;
歩骤 S5、 对树冠特征点进行结构化并计算得到各个小枝的半径; 歩骤 S6、根据已经结构化的所有树枝的骨架点和半径, 重建得到完 整的树木模型。 Step S5: Structure the crown feature points and calculate the radius of each branch; Step S6: Reconstruct the complete tree model based on the skeleton points and radii of all structured branches.
2、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S1中, 利 用三维激光扫描仪、 视觉照相工具获取所述树木点云数据, 基于点云分 析技术保留需要重建的单个和多个树木上的点云, 去掉其它对象的点。 2. The method according to claim 1, characterized in that, in the step S1, a three-dimensional laser scanner and a visual photography tool are used to obtain the tree point cloud data, and the individual sums that need to be reconstructed are retained based on the point cloud analysis technology. Point clouds on multiple trees, removing points from other objects.
3、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S1中, 树 木的形状分为主枝、 细枝和树叶, 其中, 主枝的分级数记为 NL, 细枝 的分级数记为 NS, 细枝和树叶构成树冠。 3. The method according to claim 1, characterized in that, in the step S1, the shape of the tree is divided into main branches, twigs and leaves, wherein the number of grades of the main branches is recorded as NL, and the number of grades of the twigs is NL. Numbered as NS, the twigs and leaves form the crown.
4、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S2中利用 移动圆柱体方法从所述树木点云数据中提取得到主枝骨架点及其半径, 所述歩骤 S2进一歩包括以下歩骤: 4. The method according to claim 1, characterized in that, in the step S2, the main branch skeleton point and its radius are extracted from the tree point cloud data using a moving cylinder method, and the step S2 is performed. One step includes the following steps:
歩骤 S2.1、 计算点云各个点 p处的局部几何量: 法方向 p 主曲 率^^^和^ ), 其中 k p)≤k2(p), 以及主曲率对应的主方向 5 (ρ)和 Step S2.1. Calculate the local geometric quantities at each point p of the point cloud: normal direction p principal curvature ^^^ and ^ ), where kp)≤k 2 (p), and the principal direction corresponding to the principal curvature 5 (ρ )and
¾P) ; ¾P) ;
歩骤 S2.2、基于点云各个点 p处的局部几何量来定义一个拟合 p点枝 干形状的圆柱, 利用圆柱体的移动来搜索潜在的枝干, 从而提取得到主 枝骨架点及其半径; Step S2.2: Define a cylinder that fits the branch shape at point p based on the local geometric quantity at each point p in the point cloud. Use the movement of the cylinder to search for potential branches, thereby extracting the main branch skeleton points and its radius;
歩骤 S2.3、 利用提取得到的主枝骨架点, 将所述点云数据分为主枝 上的点云 和树冠上的点云 , 实现枝叶分离。 Step S2.3: Use the extracted main branch skeleton points to divide the point cloud data into main branches. The point cloud on the tree and the point cloud on the tree crown realize the separation of branches and leaves.
5、 根据权利要求 4所述的方法, 其特征在于, 所述歩骤 S2.1进一 歩包括以下歩骤: 5. The method according to claim 4, characterized in that step S2.1 further includes the following steps:
歩骤 S2.1.1、 建立整个点云数据的 kd树; Step S2.1.1. Establish a kd tree of the entire point cloud data;
歩骤 S2.1.2、 对于点云数据中的每一个点 p, 利用 kd树查找其多个 近邻点, 假设这些近邻点来自于同一个平面, 利用最小二乘方法拟合得 到该平面, 以该平面的法向量作为点 p的法方向 p); Step S2.1.2. For each point p in the point cloud data, use kd tree to find its multiple neighboring points. Assume that these neighboring points come from the same plane, use the least squares method to fit the plane, and use this The normal vector of the plane is used as the normal direction of point p);
歩骤 S2.1.3、 在点 p处建立局部坐标系, 并拟合得到一个二次曲面, 利用该二次曲面计算得到点 p处的主曲率 ^ !和^ 以及主方向 5¾ρ) 歩骤 S2.1.4、 定义 p点处的曲率圆半径为 r(p) = l/k p), 曲率圆心 为 b(p) = p-r(p)n(p),用¾¾表示 p处树枝的轴向, r(p)表示该点处的 树枝半径, b(p)表示该点处的树干轴线的位置, 即树枝骨架点。 Step S2.1.3. Establish a local coordinate system at point p, and obtain a quadratic surface by fitting. Use this quadratic surface to calculate the principal curvature ^ at point p! and ^ and the main direction 5¾ρ) Step S2.1.4. Define the radius of the curvature circle at point p as r(p) = l/k p), and the center of the curvature circle as b(p) = p-r(p)n(p). Use ¾ represents the axial direction of the branch at p, r(p) represents the radius of the branch at this point, and b(p) represents the position of the trunk axis at this point, that is, the branch skeleton point.
6、 根据权利要求 4所述的方法, 其特征在于, 所述歩骤 S2.2进一 歩包括以下歩骤: 6. The method according to claim 4, characterized in that step S2.2 further includes the following steps:
歩骤 S2.2. 从点云数据中任选一点 p。, 构造初始圆柱体 S(p0) = = ( ^,τ^,ά^, ^), 其中, b«表示初始圆柱体 SC0的底 面圆心, r(D表示初始圆柱体 S(D的底面圆半径, ^1)表示初始圆柱体 S( 的轴向, H(D表示初始圆柱体 S(D的高度, 将初始圆柱体 S(D的拓展圆柱 体记为 T(S(1)),
Figure imgf000015_0001
, 其中, 为一定值, 集合 (S(1))代表 T(S(1))中的所有点;
Step S2.2. Select any point p from the point cloud data. , construct the initial cylinder S(p 0 ) = = ( ^,τ^,ά^, ^), where b« represents the center of the bottom surface of the initial cylinder S C0, r(D represents the bottom surface of the initial cylinder S(D The radius of the circle, ^ 1 ) represents the axial direction of the initial cylinder S(, H(D represents the height of the initial cylinder S(D), and the expanded cylinder of the initial cylinder S(D) is recorded as T(S (1) ),
Figure imgf000015_0001
, where, is a certain value, and the set (S (1) ) represents all points in T (S (1) );
歩骤 S2.2.2、 判断集合 Sd))中的任意一点 q是否是有效的, 如果 集合 Sd))中有效点的数目大于第一阈值 则认为初始圆柱体 S( 的 后继圆柱体 S 存在,且其参数 b(2), r(2) (2)分别是集合 (S«)中所有点 的曲率圆心、 曲率半径和主方向的平均值, 并将初始圆柱体 S( 中的所 有点标记为已处理; Step S2.2.2. Determine whether any point q in the set Sd)) is valid. If the number of valid points in the set Sd)) is greater than the first threshold, it is considered that the successor cylinder S of the initial cylinder S ( exists, and Its parameters b( 2 ), r( 2 ) ( 2 ) are respectively the average of the curvature center, curvature radius and main direction of all points in the set (S«), and all points in the initial cylinder S( are marked as Processed;
歩骤 S2.2.3、 从与初始圆柱体 S( 的轴向相反的伴生圆柱体 s(- 1) = ω,Γω,— 3ω,Ηω)出发按照歩骤 S2.2.2寻找后继圆柱体 s(-2); 歩骤 S2.2.4、 在后继圆柱体 S(2)或其伴生圆柱体 S(-2)的基础上继续 执行搜索直到没有找到任何后继圆柱体, 如果找到的圆柱体的数目大于 第二阈值 N2,则这些圆柱体构成一个主枝片段,其圆心作为主枝骨架点; 歩骤 S2.2.5、 在点云数据中重新选择一个未被处理的点并重复执行 上面四个歩骤, 直到所有点都被标记为已处理, 此时得到一个有序的圆 柱序列以及一个有序骨架点序列 η = {C[, h = 1 , nj}, 其中每个 c代表 一段主枝, j表示第」段主枝, nj表示第 _j段主枝包含骨架点的数目。 Step S2.2.3. Starting from the companion cylinder s (- 1) = ω, Γ ω, — 3ω, Η ω) which is opposite to the axial direction of the initial cylinder S ( ), follow step S 2.2.2 to find the successor cylinder. s( -2 ) ; Step S2.2.4. Continue the search based on the successor cylinder S( 2 ) or its companion cylinder S( -2 ) until no successor cylinder is found. If the number of found cylinders is greater than the second threshold N 2 , then these cylinders form a main branch segment, and the center of the circle is used as the main branch skeleton point; Step S2.2.5, re-select an unprocessed point in the point cloud data and repeat the above four steps until all The points are all marked as processed. At this time, an ordered cylinder sequence and an ordered skeleton point sequence η = {C[, h = 1, nj } are obtained, where each c represents a section of the main branch, and j represents the first branch. Segment main branch, nj represents the number of skeleton points included in the _jth segment main branch.
7、根据权利要求 6所述的方法,其特征在于,所述歩骤 S2.2.2中, 如果圆柱体 S(p。)和 S(q)满足: l ) b(q) 6 S(p0) ; 2 ) r(q)/r(p0) - 1.0; 3 ) (q)和 ^(p。)之间的夹角较小, 其中, S(q)表示点 处的圆柱体, b(q)表 示圆柱体 S(q)的曲率圆心, r(q)表示圆柱体 S(q)的曲率半径, r(p。)表示 圆柱体 S(p。)的曲率半径, (q)表示圆柱体 S(q)的轴向, (ρ。)表示圆柱 体 S(p。)的轴向, 则点 q为一个有效的点。 7. The method according to claim 6, characterized in that in step S2.2.2, if cylinders S(p.) and S(q) satisfy: l ) b(q) 6 S(p 0 ); 2) r(q)/r(p 0 ) - 1.0; 3) The angle between (q) and ^(p.) is small, where S(q) represents the cylinder at the point, b (q) represents the center of curvature of cylinder S(q), r(q) represents the radius of curvature of cylinder S(q), r(p.) represents the radius of curvature of cylinder S(p.), (q) represents The axial direction of cylinder S(q), (ρ.) represents the axial direction of cylinder S(p.), then point q is a valid point.
8、 根据权利要求 4所述的方法, 其特征在于, 所述歩骤 2.3中, 位 于圆柱搜索区域内的点云认为是位于主枝上的点云, 其它点云认为是位 于树冠上的点云。 8. The method according to claim 4, characterized in that, in step 2.3, the point cloud located in the cylindrical search area is considered to be a point cloud located on the main branch, and the other point clouds are considered to be points located on the crown of the tree. cloud.
9、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S3中, 利 用多尺度方法提取所述树冠特征点, 其中, 每一尺度对应树木的一级表 示, NS个尺度 Ω2、 ...、 ΩΝ5分别对应树木的 NS级细枝表示, 并且 。丄〉。?〉…〉。^; 对于每一尺度 将树冠点云 的包围盒划分为 若干均匀且等尺寸的立方体 {V 有效 ¼的重心 bi认为是树冠在尺度 上 的一个特征点; 计算每一尺度 下所有有效 ¼的重心 b 得到树冠在尺 度 上的所有特征点。 9. The method according to claim 1, characterized in that, in the step S3, a multi-scale method is used to extract the crown feature points, wherein each scale corresponds to a first-level representation of the tree, NS scales Ω 2 , ..., Ω N5 respectively correspond to the NS-level twig representation of trees, and.丄〉. ? 〉…〉. ^; For each scale, divide the bounding box of the crown point cloud into a number of uniform and equal-sized cubes {V The center of gravity bi of the effective ¼ is considered to be a characteristic point of the tree crown on the scale; Calculate the center of gravity of all effective ¼ at each scale b Obtain all characteristic points of the tree crown on the scale.
10、根据权利要求 9所述的方法, 其特征在于, 当一个立方体 voxel ¼满足下列两个条件的时候, 称 ¼是有效的: 10. The method according to claim 9, characterized in that when a cube voxel ¼ satisfies the following two conditions, it is said that ¼ is effective:
1) ¼ 中属于 A 的点的数量不小于第三阈值 N3 ; 1) The number of points belonging to A in ¼ is not less than the third threshold N 3;
2) ¼ 中没有属于 b的点。 2) There is no point belonging to b in ¼.
11、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S4和歩 骤 S5 中, 采用三维分级粒子流运动方法对主枝骨架点和树冠特征点进 行结构化, gp : 11. The method according to claim 1, characterized in that, in the steps S4 and S5, a three-dimensional hierarchical particle flow motion method is used to perform the main branch skeleton points and crown feature points. Row structuring, gp:
1) 将主枝骨架点全面连接起来; 1) Comprehensively connect the main branch skeleton points;
2) 将对应的树木第一级树冠特征点作为粒子流的起点运动到主枝 骨架点上, 粒子运行的轨迹作为该级细枝的骨架点; 2) Use the corresponding first-level crown feature point of the tree as the starting point of the particle flow to move to the skeleton point of the main branch, and the trajectory of the particle running as the skeleton point of the thin branch at that level;
3) 将树木其它级别对应的树冠特征点作为粒子流的起点运动到上 一级主枝骨架点上, 粒子运行的轨迹仍然作为该级的骨架点; 3) Use the canopy feature points corresponding to other levels of the tree as the starting point of the particle flow to move to the main branch skeleton point of the previous level, and the trajectory of the particle running is still used as the skeleton point of that level;
4) 最后根据主枝的半径估计得到各个小枝的半径。 4) Finally, the radius of each branch is estimated based on the radius of the main branch.
12、 根据权利要求 1所述的方法, 其特征在于, 所述歩骤 S6中, 首先利用已经结构化的所有树枝的结构和半径, 使用不同半径的三角网 格模型的圆柱体对树枝进行拟合, 重建得到树木的三维网格模型; 然后 在网格模型上添加合适的纹理; 最后根据输入点云数据的规模和树叶的 种类, 决定所需树叶的信息, 并将不同的树叶添加到所述三维网格模型 细枝的末端, 最终实现树木三维模型的完整重建。 12. The method according to claim 1, characterized in that, in step S6, the structure and radius of all structured branches are first used to simulate the branches using cylinders of triangular mesh models with different radii. Combined, reconstruct the three-dimensional mesh model of the tree; then add appropriate textures to the mesh model; finally, according to the scale of the input point cloud data and the type of leaves, determine the required leaf information, and add different leaves to all The three-dimensional mesh model describes the ends of the twigs, and finally achieves a complete reconstruction of the three-dimensional tree model.
PCT/CN2014/074634 2014-04-02 2014-04-02 Method for rebuilding tree model on the basis of point cloud and data driving WO2015149302A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074634 WO2015149302A1 (en) 2014-04-02 2014-04-02 Method for rebuilding tree model on the basis of point cloud and data driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074634 WO2015149302A1 (en) 2014-04-02 2014-04-02 Method for rebuilding tree model on the basis of point cloud and data driving

Publications (1)

Publication Number Publication Date
WO2015149302A1 true WO2015149302A1 (en) 2015-10-08

Family

ID=54239283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074634 WO2015149302A1 (en) 2014-04-02 2014-04-02 Method for rebuilding tree model on the basis of point cloud and data driving

Country Status (1)

Country Link
WO (1) WO2015149302A1 (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894044A (en) * 2016-04-29 2016-08-24 武汉大学 Single-plant tree point cloud automatic extraction method based on vehicle-mounted laser scanning data
WO2017113260A1 (en) * 2015-12-30 2017-07-06 中国科学院深圳先进技术研究院 Three-dimensional point cloud model re-establishment method and apparatus
CN107507207A (en) * 2017-07-07 2017-12-22 中国农业大学 A kind of trimming evaluation method calculated based on fruit tree canopy illumination patterns
CN109448120A (en) * 2018-10-31 2019-03-08 广州凡拓动漫科技有限公司 Processing method, device and the computer equipment of three-dimensional building model
CN109636914A (en) * 2018-12-17 2019-04-16 中国人民解放军战略支援部队信息工程大学 A kind of curve reestablishing method and system based on adaptive spin algorithm
CN109712229A (en) * 2018-11-26 2019-05-03 漳州通正勘测设计院有限公司 A kind of isolated tree wooden frame point extracting method, device, equipment and storage medium
CN110348478A (en) * 2019-06-04 2019-10-18 西安理工大学 It is a kind of based on Shape Classification and trees extracting method in the outdoor point cloud scene combined
CN111612896A (en) * 2020-05-28 2020-09-01 西北农林科技大学 Method for reconstructing three-dimensional tree model based on airborne laser radar tree point cloud
CN111612909A (en) * 2020-05-14 2020-09-01 北京林业大学 Three-dimensional branch breaking effect simulation algorithm based on point cloud data
CN111736167A (en) * 2019-03-25 2020-10-02 北京京东尚科信息技术有限公司 Method and device for obtaining laser point cloud density
CN112487571A (en) * 2020-11-24 2021-03-12 上海市建工设计研究总院有限公司 Design method of crown branch of externally-packaged tree
CN112634432A (en) * 2020-12-01 2021-04-09 北京林业大学 Tree modeling method, device and equipment
CN112802089A (en) * 2021-02-05 2021-05-14 重庆大学 Point cloud skeleton line extraction method and system based on automatic estimation of bifurcation number
CN112991300A (en) * 2021-03-04 2021-06-18 中国林业科学研究院资源信息研究所 Single-wood skeleton extraction and visualization method based on neighborhood characteristics
CN113111548A (en) * 2021-03-27 2021-07-13 西北工业大学 Product three-dimensional feature point extraction method based on cycle angle difference
CN113345089A (en) * 2021-05-31 2021-09-03 西北农林科技大学 Regularization modeling method based on power tower point cloud
CN113364699A (en) * 2021-06-15 2021-09-07 北京明朝万达科技股份有限公司 Cloud data flow management and control method and system based on multi-scale self-similar characteristic
CN113422699A (en) * 2021-06-22 2021-09-21 中国电信股份有限公司 Data stream processing method and device, computer readable storage medium and electronic equipment
CN114494586A (en) * 2022-01-10 2022-05-13 南京林业大学 Lattice projection deep learning network broad-leaved tree branch and leaf separation and skeleton reconstruction method
CN115599526A (en) * 2022-10-31 2023-01-13 上海铼钠克信息技术有限公司(Cn) Intelligent editing method and device for five-axis numerical control machine tool, electronic equipment and storage medium
CN116229010A (en) * 2022-11-29 2023-06-06 北京市园林古建设计研究院有限公司 Three-dimensional visualization auxiliary ancient tree rejuvenation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488226A (en) * 2008-01-16 2009-07-22 中国科学院自动化研究所 Tree measurement and reconstruction method based on single three-dimensional laser scanning
CN101847267A (en) * 2010-06-01 2010-09-29 中国科学院自动化研究所 Tree modeling method based on depth search
CN101866495A (en) * 2010-06-01 2010-10-20 中国科学院自动化研究所 Tree modeling method based on skeleton point cloud

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488226A (en) * 2008-01-16 2009-07-22 中国科学院自动化研究所 Tree measurement and reconstruction method based on single three-dimensional laser scanning
CN101847267A (en) * 2010-06-01 2010-09-29 中国科学院自动化研究所 Tree modeling method based on depth search
CN101866495A (en) * 2010-06-01 2010-10-20 中国科学院自动化研究所 Tree modeling method based on skeleton point cloud

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113260A1 (en) * 2015-12-30 2017-07-06 中国科学院深圳先进技术研究院 Three-dimensional point cloud model re-establishment method and apparatus
US10089781B2 (en) 2015-12-30 2018-10-02 Shenzhen Institutes Of Advanced Technology Chinese Academy Of Sciences Three-dimensional point cloud model reconstruction method, computer readable storage medium and device
CN105894044B (en) * 2016-04-29 2017-08-25 武汉大学 A kind of individual plant tree point cloud extraction method based on Vehicle-borne Laser Scanning data
CN105894044A (en) * 2016-04-29 2016-08-24 武汉大学 Single-plant tree point cloud automatic extraction method based on vehicle-mounted laser scanning data
CN107507207B (en) * 2017-07-07 2020-09-08 中国农业大学 Pruning evaluation method based on fruit tree canopy illumination distribution calculation
CN107507207A (en) * 2017-07-07 2017-12-22 中国农业大学 A kind of trimming evaluation method calculated based on fruit tree canopy illumination patterns
CN109448120A (en) * 2018-10-31 2019-03-08 广州凡拓动漫科技有限公司 Processing method, device and the computer equipment of three-dimensional building model
CN109448120B (en) * 2018-10-31 2023-09-08 广州凡拓动漫科技有限公司 Processing method and device for three-dimensional building model and computer equipment
CN109712229A (en) * 2018-11-26 2019-05-03 漳州通正勘测设计院有限公司 A kind of isolated tree wooden frame point extracting method, device, equipment and storage medium
CN109636914A (en) * 2018-12-17 2019-04-16 中国人民解放军战略支援部队信息工程大学 A kind of curve reestablishing method and system based on adaptive spin algorithm
CN109636914B (en) * 2018-12-17 2022-10-18 中国人民解放军战略支援部队信息工程大学 Curved surface reconstruction method and system based on adaptive rolling ball algorithm
CN111736167B (en) * 2019-03-25 2024-04-12 北京京东乾石科技有限公司 Method and device for obtaining laser point cloud density
CN111736167A (en) * 2019-03-25 2020-10-02 北京京东尚科信息技术有限公司 Method and device for obtaining laser point cloud density
CN110348478B (en) * 2019-06-04 2022-10-11 西安理工大学 Method for extracting trees in outdoor point cloud scene based on shape classification and combination
CN110348478A (en) * 2019-06-04 2019-10-18 西安理工大学 It is a kind of based on Shape Classification and trees extracting method in the outdoor point cloud scene combined
CN111612909A (en) * 2020-05-14 2020-09-01 北京林业大学 Three-dimensional branch breaking effect simulation algorithm based on point cloud data
CN111612896A (en) * 2020-05-28 2020-09-01 西北农林科技大学 Method for reconstructing three-dimensional tree model based on airborne laser radar tree point cloud
CN111612896B (en) * 2020-05-28 2023-02-03 西北农林科技大学 Method for reconstructing three-dimensional tree model based on airborne laser radar tree point cloud
CN112487571A (en) * 2020-11-24 2021-03-12 上海市建工设计研究总院有限公司 Design method of crown branch of externally-packaged tree
CN112634432A (en) * 2020-12-01 2021-04-09 北京林业大学 Tree modeling method, device and equipment
CN112634432B (en) * 2020-12-01 2023-09-08 北京林业大学 Tree modeling method, device and equipment
CN112802089A (en) * 2021-02-05 2021-05-14 重庆大学 Point cloud skeleton line extraction method and system based on automatic estimation of bifurcation number
CN112802089B (en) * 2021-02-05 2023-09-01 重庆大学 Point cloud skeleton line extraction method and system based on automatic bifurcation quantity estimation
CN112991300A (en) * 2021-03-04 2021-06-18 中国林业科学研究院资源信息研究所 Single-wood skeleton extraction and visualization method based on neighborhood characteristics
CN112991300B (en) * 2021-03-04 2023-09-26 中国林业科学研究院资源信息研究所 Single wood skeleton extraction and visualization method based on neighborhood characteristics
CN113111548A (en) * 2021-03-27 2021-07-13 西北工业大学 Product three-dimensional feature point extraction method based on cycle angle difference
CN113345089A (en) * 2021-05-31 2021-09-03 西北农林科技大学 Regularization modeling method based on power tower point cloud
CN113364699B (en) * 2021-06-15 2023-04-07 北京明朝万达科技股份有限公司 Cloud data flow management and control method and system based on multi-scale self-similar characteristic
CN113364699A (en) * 2021-06-15 2021-09-07 北京明朝万达科技股份有限公司 Cloud data flow management and control method and system based on multi-scale self-similar characteristic
CN113422699B (en) * 2021-06-22 2023-04-07 中国电信股份有限公司 Data stream processing method and device, computer readable storage medium and electronic equipment
CN113422699A (en) * 2021-06-22 2021-09-21 中国电信股份有限公司 Data stream processing method and device, computer readable storage medium and electronic equipment
CN114494586A (en) * 2022-01-10 2022-05-13 南京林业大学 Lattice projection deep learning network broad-leaved tree branch and leaf separation and skeleton reconstruction method
CN114494586B (en) * 2022-01-10 2024-03-19 南京林业大学 Lattice projection deep learning network broadleaf branch and leaf separation and skeleton reconstruction method
CN115599526B (en) * 2022-10-31 2023-05-16 上海铼钠克信息技术有限公司 Five-axis numerical control machine tool intelligent editing method and device, electronic equipment and storage medium
CN115599526A (en) * 2022-10-31 2023-01-13 上海铼钠克信息技术有限公司(Cn) Intelligent editing method and device for five-axis numerical control machine tool, electronic equipment and storage medium
CN116229010A (en) * 2022-11-29 2023-06-06 北京市园林古建设计研究院有限公司 Three-dimensional visualization auxiliary ancient tree rejuvenation method and device
CN116229010B (en) * 2022-11-29 2024-01-23 北京市园林古建设计研究院有限公司 Three-dimensional visualization auxiliary ancient tree rejuvenation method and device

Similar Documents

Publication Publication Date Title
WO2015149302A1 (en) Method for rebuilding tree model on the basis of point cloud and data driving
CN103871100B (en) Tree modelling method for reconstructing based on a cloud Yu data-driven
Gibbs et al. Approaches to three-dimensional reconstruction of plant shoot topology and geometry
CN109285217B (en) Multi-view image-based procedural plant model reconstruction method
Hu et al. Efficient tree modeling from airborne LiDAR point clouds
Zhang et al. Data-driven synthetic modeling of trees
Livny et al. Texture-lobes for tree modelling
CN109410321A (en) Three-dimensional rebuilding method based on convolutional neural networks
US11887253B2 (en) Terrain generation and population system
Xie et al. Tree modeling with real tree-parts examples
CN103745497B (en) Plant growth modeling method and system
CN111612896B (en) Method for reconstructing three-dimensional tree model based on airborne laser radar tree point cloud
CN111754618B (en) Object-oriented live-action three-dimensional model multi-level interpretation method and system
CN110992473A (en) Tree branch modeling method and system based on vehicle-mounted laser scanning point cloud
Pound et al. A patch-based approach to 3D plant shoot phenotyping
CN106504277A (en) A kind of improved ICP points cloud autoegistration method
CN114187310A (en) Large-scale point cloud segmentation method based on octree and PointNet ++ network
CN115471634B (en) Modeling method and device for urban green plant twins
Chaudhury et al. 3D plant phenotyping: All you need is labelled point cloud data
CN115018982A (en) Digital tree twinning method based on foundation laser radar point cloud
Meyer et al. CherryPicker: Semantic skeletonization and topological reconstruction of cherry trees
CN114241155A (en) Urban tree three-dimensional visualization method based on vehicle-mounted laser point cloud data
Huang et al. A 3D individual tree modeling technique based on terrestrial LiDAR point cloud data
Deng et al. Multiresolution foliage for forest rendering
Verykokou et al. A Comparative analysis of different software packages for 3D Modelling of complex geometries

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14888312

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
122 Ep: pct application non-entry in european phase

Ref document number: 14888312

Country of ref document: EP

Kind code of ref document: A1