CN111462301A - Method for constructing generation model for multi-view plant three-dimensional reconstruction - Google Patents

Method for constructing generation model for multi-view plant three-dimensional reconstruction Download PDF

Info

Publication number
CN111462301A
CN111462301A CN202010147283.8A CN202010147283A CN111462301A CN 111462301 A CN111462301 A CN 111462301A CN 202010147283 A CN202010147283 A CN 202010147283A CN 111462301 A CN111462301 A CN 111462301A
Authority
CN
China
Prior art keywords
plant
model
image
skeleton
probability
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010147283.8A
Other languages
Chinese (zh)
Other versions
CN111462301B (en
Inventor
刘烨斌
钟源
王松涛
戴琼海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN202010147283.8A priority Critical patent/CN111462301B/en
Publication of CN111462301A publication Critical patent/CN111462301A/en
Application granted granted Critical
Publication of CN111462301B publication Critical patent/CN111462301B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • G06F18/24155Bayesian classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/08Projecting images onto non-planar surfaces, e.g. geodetic screens

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开了一种用于多视图植物三维重建的生成模型的构建方法,该方法包括:利用贝叶斯概率框架构建植物生长模型,通过对支取生长模型赋予带参先验概率,构建植物骨架生长的概率表示;通过在根节点上指定初始生长因子和分叉代数限制,植物生长模型通过随机采样生成实例化的骨架;获取同种植物的图像集,植物生长模型利用矢量场方法对图像集中的每个单图像计算一个2D骨架,通过对2D骨架聚类分析,提取出图像集的形态基元,利用形态基元的模型与训练集中的骨架拟合,使用高斯‑牛顿梯度下降方法求取植物生长模型参数的最优解。该方法能够反映植物生长姿态特性的贝叶斯概率模型,可作为植物表示的一般框架,能用于多视图植物重建。

Figure 202010147283

The invention discloses a method for constructing a generative model for multi-view three-dimensional reconstruction of plants. The method includes: constructing a plant growth model by using a Bayesian probability framework, and constructing a plant skeleton by assigning a prior probability with parameters to the branching growth model Probabilistic representation of growth; by specifying the initial growth factor and bifurcation algebra limit on the root node, the plant growth model generates an instantiated skeleton through random sampling; to obtain the image set of the same plant, the plant growth model uses the vector field method to analyze the image set. A 2D skeleton is calculated for each single image of the 2D skeleton, and the morphological primitives of the image set are extracted by clustering analysis of the 2D skeletons. The model of the morphological primitives is used to fit the skeletons in the training set, and the Gauss-Newton gradient descent method is used to obtain Optimal solutions for plant growth model parameters. This method can reflect the Bayesian probability model of plant growth posture characteristics, which can be used as a general framework for plant representation and can be used for multi-view plant reconstruction.

Figure 202010147283

Description

用于多视图植物三维重建的生成模型的构建方法Construction method of generative model for multi-view 3D reconstruction of plants

技术领域technical field

本发明涉及三维重建技术领域,特别涉及一种用于多视图植物三维重建的生成模型的构建方法。The invention relates to the technical field of three-dimensional reconstruction, in particular to a method for constructing a generative model for multi-view three-dimensional reconstruction of plants.

背景技术Background technique

植物是城市和自然景观环境的常见元素,植物模型在于农业、生物、建筑、游戏、电影行业中运用广泛。然而植物模型的创建仍然是繁琐昂贵的工作。已有的植物生成系统需要微调参数或手工建模以获得所需的树形,不便于获取大量的不同的树实例。现有的植物重建技术或者利用激光扫描的点云来重建树的骨架,或者使用多视图来恢复特定的某棵树的形态,其无法学习树的生长模式并生成新的不同的树的实例。Plants are common elements in urban and natural landscape environments, and plant models are widely used in agriculture, biology, architecture, games, and film industries. However, the creation of plant models is still tedious and expensive work. Existing plant generation systems require fine-tuning of parameters or manual modeling to obtain the desired tree shape, which is inconvenient to obtain a large number of different tree instances. Existing plant reconstruction techniques either use laser-scanned point clouds to reconstruct tree skeletons, or use multiple views to restore a specific tree shape, which cannot learn tree growth patterns and generate new and different tree instances.

发明内容SUMMARY OF THE INVENTION

本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本发明的一个目的在于提出一种用于多视图植物三维重建的生成模型的构建方法,该方法能够反映植物生长姿态特性的贝叶斯概率模型,可作为植物表示的一般框架,能用于多视图植物重建。Therefore, an object of the present invention is to propose a method for constructing a generative model for multi-view three-dimensional reconstruction of plants, which can reflect a Bayesian probability model of plant growth posture characteristics, which can be used as a general framework for plant representation and can For multi-view plant reconstruction.

为达到上述目的,本发明一方面实施例提出了一种用于多视图植物三维重建的生成模型的构建方法,包括:In order to achieve the above object, an embodiment of the present invention provides a method for constructing a generative model for multi-view three-dimensional reconstruction of plants, including:

利用贝叶斯概率框架构建植物生长模型,通过对所述支取生长模型赋予带参先验概率,构建植物骨架生长的概率表示;A plant growth model is constructed by using a Bayesian probability framework, and a probability representation of plant skeleton growth is constructed by assigning a prior probability with parameters to the branching growth model;

通过在根节点上指定初始生长因子和分叉代数限制,所述植物生长模型通过随机采样生成实例化的骨架;The plant growth model generates an instantiated skeleton by random sampling by specifying an initial growth factor and a bifurcation algebra limit on the root node;

获取同种植物的图像集,所述植物生长模型利用矢量场方法对所述图像集中的每个单图像计算一个2D骨架,通过对2D骨架聚类分析,提取出所述图像集的形态基元,利用所述形态基元的模型与训练集中的骨架拟合,使用高斯-牛顿梯度下降方法求取所述植物生长模型参数的最优解。Obtain an image set of the same plant, the plant growth model uses the vector field method to calculate a 2D skeleton for each single image in the image set, and extracts the morphological primitives of the image set through cluster analysis of the 2D skeleton , using the model of the morphological primitive to fit the skeleton in the training set, and using the Gauss-Newton gradient descent method to obtain the optimal solution of the parameters of the plant growth model.

本发明实施例的用于多视图植物三维重建的生成模型的构建方法,通过植物生长的参数化分形模型,通过对模型赋予带参先验概率,构建植物骨架生长的概率表示。生长模型的构建可以重构植物在不同年龄阶段的形态,它们构成了模型的形态空间。给定同株植物的单视图或多视图图像,利用深度学习方法可提取出该植物的分支概率图像,使用该图像可以对生成模型的参数进行优化,并推理补全植物被遮挡部分的后验概率。使用同种植物的图片训练该模型将使该模型特化到该种植物上,对模型的采样将能够实例化该种植物的不同的随机形态,在形态空间中进行插值将实现不同形态的平滑过渡。能够反映植物生长姿态特性的贝叶斯概率模型,可作为植物表示的一般框架,能用于多视图植物重建。The method for constructing a generative model for multi-view plant three-dimensional reconstruction according to the embodiment of the present invention constructs a probability representation of plant skeleton growth by assigning a prior probability with parameters to the model through a parametric fractal model of plant growth. The construction of growth model can reconstruct the morphology of plants at different ages, which constitute the morphological space of the model. Given a single-view or multi-view image of the same plant, the deep learning method can be used to extract the branch probability image of the plant. Using this image, the parameters of the generative model can be optimized, and the posterior of the occluded part of the plant can be inferred and completed. probability. Training the model with pictures of the same plant will specialize the model to that plant, sampling the model will be able to instantiate different random shapes of the plant, interpolating in the shape space will achieve smoothing of the different shapes transition. The Bayesian probability model that can reflect the characteristics of plant growth posture can be used as a general framework for plant representation and can be used for multi-view plant reconstruction.

另外,根据本发明上述实施例的用于多视图植物三维重建的生成模型的构建方法还可以具有以下附加的技术特征:In addition, the method for constructing a generative model for multi-view plant three-dimensional reconstruction according to the above-mentioned embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,在所述植物生长模型中,植物骨架的每个分叉定义了枝干间的父子关系,每个分叉可以定义分叉数、分叉形态、生长因子的参数化局部概率,生长因子为由该分叉传递至下一分叉的生长信息,其将影响后续分叉的条件概率,植物局部概率的参数将决定模型所描述的植物的形态特征。Further, in an embodiment of the present invention, in the plant growth model, each bifurcation of the plant skeleton defines the parent-child relationship between the branches, and each bifurcation can define the number of bifurcations, the bifurcation shape, The parameterized local probability of the growth factor. The growth factor is the growth information transmitted from this bifurcation to the next bifurcation, which will affect the conditional probability of the subsequent bifurcation. The parameters of the local probability of the plant will determine the morphological characteristics of the plant described by the model. .

进一步地,在本发明的一个实施例中,在输入为多视图图像时,分割出图像中的单棵植株,利用Pix2Pix网络将每幅图像转换为分支概率图像,再将分支概率反投影到3D体素坐标中,形成3D概率分支结构,使用贪婪搜索生成多个概率候选结构,为每个候选结构使用Metropolis Hasting采样优化最优候选,形成后验分布的离散近似,通过采样实现分支骨架的重建。Further, in an embodiment of the present invention, when the input is a multi-view image, a single plant in the image is segmented, each image is converted into a branch probability image by using the Pix2Pix network, and the branch probability is back projected to the 3D image. In voxel coordinates, a 3D probabilistic branch structure is formed, multiple probabilistic candidate structures are generated using greedy search, and Metropolis Hasting sampling is used for each candidate structure to optimize the optimal candidate to form a discrete approximation of the posterior distribution, and the branch skeleton is reconstructed through sampling. .

进一步地,在本发明的一个实施例中,通过对输入图像进行细分和聚类,提取出图像中的纹理簇,利用所述纹理簇在输入图像叶子的反投影区域创建叶片,对未被源图像的覆盖的区域,将额外合成叶子以确保均匀分布的叶片密度。Further, in an embodiment of the present invention, by subdividing and clustering the input image, the texture clusters in the image are extracted, and the texture clusters are used to create leaves in the back-projection area of the leaves of the input image. Covered area of the source image, additional leaves will be composited to ensure an evenly distributed leaf density.

进一步地,在本发明的一个实施例中,通过访问修改并指定所述植物生长模型中某个分支的局部参数,该分支涉及的子树将被重新优化计。Further, in one embodiment of the present invention, by modifying and specifying local parameters of a certain branch in the plant growth model, the subtree involved in the branch will be re-optimized.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1为根据本发明一个实施例的用于多视图植物三维重建的生成模型的构建方法流程图。FIG. 1 is a flowchart of a method for constructing a generative model for multi-view three-dimensional reconstruction of plants according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

下面参照附图描述根据本发明实施例提出的用于多视图植物三维重建的生成模型的构建方法。The following describes a method for constructing a generative model for multi-view 3D reconstruction of plants according to an embodiment of the present invention with reference to the accompanying drawings.

图1为根据本发明一个实施例的用于多视图植物三维重建的生成模型的构建方法流程图。FIG. 1 is a flowchart of a method for constructing a generative model for multi-view three-dimensional reconstruction of plants according to an embodiment of the present invention.

如图1所示,该用于多视图植物三维重建的生成模型的构建方法包括以下步骤:As shown in Figure 1, the method for constructing a generative model for multi-view three-dimensional reconstruction of plants includes the following steps:

步骤S1,利用贝叶斯概率框架构建植物生长模型,通过对支取生长模型赋予带参先验概率,构建植物骨架生长的概率表示。In step S1, a Bayesian probability framework is used to construct a plant growth model, and a prior probability with parameters is assigned to the branched growth model to construct a probability representation of plant skeleton growth.

具体地,植物的生长模型具有合成性和因果性,每个实例经由自下而上的生成过程,后过程与前过程之间具有因果联系,这种联系可用贝叶斯概率框架来刻画。具体地,植物骨架的每个分叉定义了枝干间的父子关系,为每个分叉可以定义分叉数、分叉形态、生长因子的参数化局部概率,生长因子可视为由该分叉传递至下一分叉的生长信息,其将影响后续分叉的条件概率。植物局部概率的参数将决定该模型所描述的植物的形态特征。Specifically, the growth model of plants is synthetic and causal, each instance goes through a bottom-up generation process, and there is a causal connection between the latter process and the former process, and this connection can be described by a Bayesian probability framework. Specifically, each fork of the plant skeleton defines the parent-child relationship between the branches. For each fork, the number of forks, the shape of the fork, and the parameterized local probability of the growth factor can be defined. Forks transmit growth information to the next fork, which will affect the conditional probability of subsequent forks. The parameters of the plant local probability will determine the morphological characteristics of the plant described by the model.

步骤S2,通过在根节点上指定初始生长因子和分叉代数限制,植物生长模型通过随机采样生成实例化的骨架。Step S2, by specifying the initial growth factor and the bifurcation algebra limit on the root node, the plant growth model generates an instantiated skeleton through random sampling.

具体地,通过在根节点上指定初始生长因子和分叉代数限制,模型可通过随机采样生成实例化的骨架,其由结构树的数据结构加以描述,其允许在后续操作中对结构进行微调和拓扑的改变。所有的结构树构成模型的形态空间,不同的结构树间可进行结构匹配实现结构的连续变化。Specifically, by specifying an initial growth factor and a bifurcation algebra limit on the root node, the model can generate an instantiated skeleton through random sampling, which is described by the data structure of the structure tree, which allows fine-tuning and fine-tuning of the structure in subsequent operations. Changes in topology. All structure trees constitute the morphological space of the model, and structure matching can be performed between different structure trees to realize continuous change of structure.

对于多视图图像输入,首先使用Pix2Pix网络将每幅图像转换为分支概率图像,然后将分支概率反投影到3D体素坐标中,形成3D概率分支结构,使用贪婪搜索生成多个概率候选结构,为每个候选结构使用Metropolis Hasting采样优化最有前途的候选,从而形成后验分布的离散近似,最后通过采样实现分支骨架的重建。这种方法对输入图像的数量没有要求。For multi-view image input, first use the Pix2Pix network to convert each image into a branch probability image, and then back-project the branch probabilities into 3D voxel coordinates to form a 3D probabilistic branch structure, and use greedy search to generate multiple probability candidate structures, as The most promising candidates are optimized using Metropolis Hasting sampling for each candidate structure, resulting in a discrete approximation of the posterior distribution, and finally the branch skeleton reconstruction is achieved through sampling. This method has no requirement on the number of input images.

对于植物叶片,由于植物叶片繁多且具有严重的相互遮挡,因此并不精确地对叶片进行建模,作为替代,通过对图像进行细分和聚类,可以提取出所给图像的纹理簇,使用这些纹理可在输入图像叶子的反投影区域创建叶片。对未被源图像的覆盖的区域,将额外合成叶子以确保均匀分布的叶片密度。For plant leaves, which are not accurately modeled due to their large number of leaves and their severe mutual occlusion, instead, by subdividing and clustering the image, the texture clusters of the given image can be extracted, using these Textures create leaves in the back-projected areas of the leaves of the input image. For areas not covered by the source image, additional leaves are composited to ensure an evenly distributed leaf density.

步骤S3,获取同种植物的图像集,植物生长模型利用矢量场方法对图像集中的每个单图像计算一个2D骨架,通过对2D骨架聚类分析,提取出图像集的形态基元,利用形态基元的模型与训练集中的骨架拟合,使用高斯-牛顿梯度下降方法求取植物生长模型参数的最优解。In step S3, an image set of the same plant is obtained, the plant growth model uses the vector field method to calculate a 2D skeleton for each single image in the image set, and through clustering analysis of the 2D skeleton, the morphological primitives of the image set are extracted, and the morphological elements are used. The model of the primitive is fitted to the skeleton in the training set, and the Gauss-Newton gradient descent method is used to obtain the optimal solution of the parameters of the plant growth model.

具体地,使用生成模型的优势在于其学习过程将不受数据集大小的限制并可以进行不同程度的特化。针对同种植物的训练,可为生长模型定义基本的形态“基元”,形态基元描述了该种植物特有的分叉生长模式。给定同种植物的图像集(不一定是对同一株植物),使用矢量场方法可为每副图像建立一个2D骨架,该2D骨架为植物的3D分叉提供后验,通过对这些2D骨架的聚类分析,可提取出数据集所提供的形态基元。通过将父子关系、基元实例化的参数与训练集中的骨架拟合,使用高斯-牛顿梯度下降方法求取模型参数的最优解。Specifically, the advantage of using a generative model is that its learning process will not be limited by the size of the dataset and can be specialized to varying degrees. Training for the same plant can define basic morphological "primitives" for the growth model, which describe the specific bifurcated growth patterns of that plant. Given a set of images of the same plant (not necessarily of the same plant), a vector field method can be used to build a 2D skeleton for each image, which provides a posterior for the 3D bifurcation of the plant. The cluster analysis can extract the morphological primitives provided by the dataset. By fitting the parent-child relationship and the parameters of primitive instantiation with the skeleton in the training set, the Gauss-Newton gradient descent method is used to obtain the optimal solution of the model parameters.

综上,本发明实施例的植物生长模型,可用于某特定植株的多图像三维重建和某种植物的多实例生成。In conclusion, the plant growth model of the embodiment of the present invention can be used for multi-image three-dimensional reconstruction of a specific plant and multi-instance generation of a certain plant.

首先,建立植物生长的贝叶斯模型,将植物的多图像三维重建和某种植物的多实例生成。将植物形态解析为具有因果结构的时序概率模型,植物的每个新分叉的产生都将收到已有分叉形态的影响。自然环境对植物的影响将被建模为全局参数。特别地,当将模型应用与某特定植物时,会为模型定义形态基元集合,形态基元描述了该种植物特有的分叉生长模式,并起到混合不同概率模型的作用。First, a Bayesian model of plant growth is established, and the multi-image 3D reconstruction of plants and the multi-instance generation of a certain plant are generated. Analyzing the plant morphology into a time series probability model with a causal structure, each new fork of the plant will be affected by the existing fork morphology. The effects of the natural environment on plants will be modeled as global parameters. In particular, when a model is applied to a particular plant, a set of morphological primitives is defined for the model, which describes the bifurcated growth pattern specific to that plant and serves to mix different probabilistic models.

要应用上述模型,首先需使用同种植物的图像集训练此模型。对每张训练图片(如果训练图片有枝干和叶片的分割,则提取其枝干部分),模型会对此单图像计算一个2D矢量场,然后使用递归使用骨架化算法逐次计算植物2D投影的一阶、二阶、高阶分支,2D投影的约束给出了植物的3D分叉的后验信息。为了防止模型的训练出现角度上的偏好,会从0~180°间随机采样一个投影角进行训练。通过对这些2D骨架的聚类分析,可提取出数据集所提供的形态基元。之后将使用这些形态基元的模型与训练集中的骨架拟合,使用高斯-牛顿梯度下降方法求取模型参数的最优解。To apply the above model, first train the model on a set of images of the same plant. For each training image (if the training image has branches and leaves, the branches are extracted), the model will calculate a 2D vector field for this single image, and then use the recursive skeletonization algorithm to successively calculate the 2D projection of the plant. The constraints of first-order, second-order, and higher-order branches, 2D projections give the posterior information on the 3D branches of plants. In order to prevent the angular preference in the training of the model, a projection angle is randomly sampled from 0 to 180° for training. Through cluster analysis of these 2D skeletons, the morphological primitives provided by the dataset can be extracted. The model using these morphological primitives is then fitted to the skeleton in the training set, and the optimal solution of the model parameters is obtained using the Gauss-Newton gradient descent method.

要使用已训练的特化模型实现对单视图/多视图植物的重建,首先需要训练Pix2Pix网络。为使Pix2Pix网络生成概率图像,网络本身最好带有一定的不确定性,因此给网络增加额外的dropout层以输出概率意义上的结果。使用Speedtree的植物库作为训练集,对每个模型渲染36个视点(附带不同的光照条件),并翻转图像进行训练。To achieve single-view/multi-view plant reconstruction using the trained specialized model, the Pix2Pix network needs to be trained first. In order for the Pix2Pix network to generate probabilistic images, the network itself preferably has a certain uncertainty, so an additional dropout layer is added to the network to output probabilistic results. Using Speedtree's plant library as the training set, 36 viewpoints (with varying lighting conditions) were rendered for each model, and the images were flipped for training.

对多视图图像输入,首先需分割出图像中的单棵植株,然后使用Pix2Pix网络将每幅图像转换为分支概率图像,将分支概率反投影到3D体素坐标中,形成3D概率分支结构,使用贪婪搜索生成多个概率候选结构,为每个候选结构使用Metropolis Hasting采样优化最有前途的候选,从而形成后验分布的离散近似,最后通过采样实现分支骨架的重建。需要指出的是,即使输入图像只有一张,该算法也是可以运行的,只是重建具有较大的任意性。特别地,即使没有任何输入,生成模型也能够自采样得到一个植物实例。For multi-view image input, firstly, a single plant in the image needs to be segmented, and then each image is converted into a branch probability image using the Pix2Pix network, and the branch probability is back projected into 3D voxel coordinates to form a 3D probability branch structure. Greedy search generates multiple probabilistic candidate structures, optimizes the most promising candidate using Metropolis Hasting sampling for each candidate structure, thereby forming a discrete approximation of the posterior distribution, and finally achieves branch skeleton reconstruction through sampling. It should be pointed out that even if there is only one input image, the algorithm can still run, but the reconstruction is more arbitrary. In particular, the generative model is able to self-sample a plant instance even without any input.

对于已经重建的分支骨架,用户可以访问修改并指定其上某个分支的局部参数,这个分支涉及的子树将被重新优化计算。For the reconstructed branch skeleton, the user can access the modification and specify the local parameters of a branch on it, and the subtree involved in this branch will be re-optimized for calculation.

对于植物叶片,由于植物叶片繁多且具有严重的相互遮挡,因此并不精确地对叶片进行建模,作为替代,通过对图像进行细分和聚类,可以提取出所给图像的纹理簇,使用这些纹理可在输入图像叶子的反投影区域创建叶片。对未被源图像的覆盖的区域,将额外合成叶子以确保均匀分布的叶片密度。For plant leaves, which are not accurately modeled due to their large number of leaves and their severe mutual occlusion, instead, by subdividing and clustering the image, the texture clusters of the given image can be extracted, using these Textures create leaves in the back-projected areas of the leaves of the input image. For areas not covered by the source image, additional leaves are composited to ensure an evenly distributed leaf density.

根据本发明实施例提出的用于多视图植物三维重建的生成模型的构建方法,通过植物生长的参数化分形模型,通过对模型赋予带参先验概率,构建植物骨架生长的概率表示。生长模型的构建可以重构植物在不同年龄阶段的形态,它们构成了模型的形态空间。给定同株植物的单视图或多视图图像,利用深度学习方法可提取出该植物的分支概率图像,使用该图像可以对生成模型的参数进行优化,并推理补全植物被遮挡部分的后验概率。使用同种植物的图片训练该模型将使该模型特化到该种植物上,对模型的采样将能够实例化该种植物的不同的随机形态,在形态空间中进行插值将实现不同形态的平滑过渡。能够反映植物生长姿态特性的贝叶斯概率模型,可作为植物表示的一般框架,能用于多视图植物重建。According to the method for constructing a generative model for multi-view 3D reconstruction of plants proposed in the embodiment of the present invention, a probability representation of plant skeleton growth is constructed by assigning a prior probability with parameters to the model through a parametric fractal model of plant growth. The construction of growth models can reconstruct the morphology of plants at different ages, which constitute the morphological space of the model. Given a single-view or multi-view image of the same plant, the deep learning method can be used to extract the branch probability image of the plant. Using this image, the parameters of the generative model can be optimized, and the posterior of the occluded part of the plant can be inferred and completed. probability. Training the model with pictures of the same plant will specialize the model to that plant, sampling the model will be able to instantiate different random shapes of the plant, interpolating in the shape space will achieve smoothing of the different shapes transition. The Bayesian probability model that can reflect the characteristics of plant growth posture can be used as a general framework for plant representation and can be used for multi-view plant reconstruction.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (5)

1.一种用于多视图植物三维重建的生成模型的构建方法,其特征在于,包括以下步骤:1. a construction method for the generative model of multi-view plant three-dimensional reconstruction, is characterized in that, comprises the following steps: 利用贝叶斯概率框架构建植物生长模型,通过对所述支取生长模型赋予带参先验概率,构建植物骨架生长的概率表示;A plant growth model is constructed by using a Bayesian probability framework, and a probability representation of plant skeleton growth is constructed by assigning a prior probability with parameters to the branching growth model; 通过在根节点上指定初始生长因子和分叉代数限制,所述植物生长模型通过随机采样生成实例化的骨架;The plant growth model generates an instantiated skeleton by random sampling by specifying an initial growth factor and a bifurcation algebra limit on the root node; 获取同种植物的图像集,所述植物生长模型利用矢量场方法对所述图像集中的每个单图像计算一个2D骨架,通过对2D骨架聚类分析,提取出所述图像集的形态基元,利用所述形态基元的模型与训练集中的骨架拟合,使用高斯-牛顿梯度下降方法求取所述植物生长模型参数的最优解。Obtain an image set of the same plant, the plant growth model uses the vector field method to calculate a 2D skeleton for each single image in the image set, and extracts the morphological primitives of the image set through cluster analysis of the 2D skeleton , using the model of the morphological primitive to fit the skeleton in the training set, and using the Gauss-Newton gradient descent method to obtain the optimal solution of the parameters of the plant growth model. 2.根据权利要求1所述的用于多视图植物三维重建的生成模型的构建方法,其特征在于,在所述植物生长模型中,植物骨架的每个分叉定义了枝干间的父子关系,每个分叉可以定义分叉数、分叉形态、生长因子的参数化局部概率,生长因子为由该分叉传递至下一分叉的生长信息,其将影响后续分叉的条件概率,植物局部概率的参数将决定模型所描述的植物的形态特征。2. The method for constructing a generative model for multi-view three-dimensional reconstruction of plants according to claim 1, wherein, in the plant growth model, each fork of the plant skeleton defines a parent-child relationship between branches and trunks , each bifurcation can define the parameterized local probability of bifurcation number, bifurcation shape, and growth factor. The growth factor is the growth information transmitted from this bifurcation to the next bifurcation, which will affect the conditional probability of subsequent bifurcations, The parameters of the plant local probability will determine the morphological characteristics of the plant described by the model. 3.根据权利要求1所述的用于多视图植物三维重建的生成模型的构建方法,其特征在于,在输入为多视图图像时,分割出图像中的单棵植株,利用Pix2Pix网络将每幅图像转换为分支概率图像,再将分支概率反投影到3D体素坐标中,形成3D概率分支结构,使用贪婪搜索生成多个概率候选结构,为每个候选结构使用Metropolis Hasting采样优化最优候选,形成后验分布的离散近似,通过采样实现分支骨架的重建。3. the construction method of the generative model that is used for multi-view plant three-dimensional reconstruction according to claim 1, is characterized in that, when inputting is multi-view image, segment out the single plant in the image, utilize Pix2Pix network to convert each The image is converted into a branch probability image, and then the branch probability is back projected into the 3D voxel coordinates to form a 3D probability branch structure. A greedy search is used to generate multiple probability candidate structures, and Metropolis Hasting sampling is used for each candidate structure to optimize the optimal candidate. A discrete approximation of the posterior distribution is formed, and the reconstruction of the branch skeleton is achieved by sampling. 4.根据权利要求1所述的用于多视图植物三维重建的生成模型的构建方法,其特征在于,通过对输入图像进行细分和聚类,提取出图像中的纹理簇,利用所述纹理簇在输入图像叶子的反投影区域创建叶片,对未被源图像的覆盖的区域,将额外合成叶子以确保均匀分布的叶片密度。4. The method for constructing a generative model for multi-view plant three-dimensional reconstruction according to claim 1, characterized in that, by subdividing and clustering the input image, extracting texture clusters in the image, using the texture The cluster creates leaves in the back-projected area of the leaves in the input image. For areas not covered by the source image, additional leaves are composited to ensure an evenly distributed leaf density. 5.根据权利要求1所述的用于多视图植物三维重建的生成模型的构建方法,其特征在于,通过访问修改并指定所述植物生长模型中某个分支的局部参数,该分支涉及的子树将被重新优化计。5. The method for constructing a generative model for multi-view three-dimensional reconstruction of plants according to claim 1, wherein, by accessing, modifying and specifying the local parameters of a certain branch in the plant growth model, the sub-parameters involved in the branch The tree will be re-optimized.
CN202010147283.8A 2020-03-05 2020-03-05 Construction method of generative model for multi-view plant 3D reconstruction Expired - Fee Related CN111462301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010147283.8A CN111462301B (en) 2020-03-05 2020-03-05 Construction method of generative model for multi-view plant 3D reconstruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010147283.8A CN111462301B (en) 2020-03-05 2020-03-05 Construction method of generative model for multi-view plant 3D reconstruction

Publications (2)

Publication Number Publication Date
CN111462301A true CN111462301A (en) 2020-07-28
CN111462301B CN111462301B (en) 2022-10-28

Family

ID=71685564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010147283.8A Expired - Fee Related CN111462301B (en) 2020-03-05 2020-03-05 Construction method of generative model for multi-view plant 3D reconstruction

Country Status (1)

Country Link
CN (1) CN111462301B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108022278A (en) * 2017-12-29 2018-05-11 清华大学 Character animation method for drafting and system based on motion tracking in video
CN108346142A (en) * 2018-01-16 2018-07-31 中国农业大学 A kind of plant growth state recognition methods based on plant illumination image
CN109285217A (en) * 2018-09-10 2019-01-29 中国科学院自动化研究所 Reconstruction method of procedural plant model based on multi-view images
US20190065890A1 (en) * 2017-08-22 2019-02-28 Korea Institute Of Science And Technology System and method for plant leaf identification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065890A1 (en) * 2017-08-22 2019-02-28 Korea Institute Of Science And Technology System and method for plant leaf identification
CN108022278A (en) * 2017-12-29 2018-05-11 清华大学 Character animation method for drafting and system based on motion tracking in video
CN108346142A (en) * 2018-01-16 2018-07-31 中国农业大学 A kind of plant growth state recognition methods based on plant illumination image
CN109285217A (en) * 2018-09-10 2019-01-29 中国科学院自动化研究所 Reconstruction method of procedural plant model based on multi-view images

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾兰玲等: "交互式植物建模系统", 《计算机辅助设计与图形学学报》 *

Also Published As

Publication number Publication date
CN111462301B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
US12118669B2 (en) Subdividing a three-dimensional mesh utilizing a neural network
Shlyakhter et al. Reconstructing 3D tree models from instrumented photographs
CN111028335B (en) A deep learning-based patch reconstruction method for point cloud data
CN100468418C (en) Method and program for generating volume data from data represented by boundaries
CN101512633B (en) A hair motion compositor system and optimization techniques for use in a hair/fur pipeline
CN114782634B (en) Method and system for reconstructing clothed human body from monocular image based on surface implicit function
CN113781667B (en) Three-dimensional structure simplified reconstruction method, device, computer equipment and storage medium
CN101719140A (en) Figure retrieving method
Rakotosaona et al. Differentiable surface triangulation.
Kamra et al. Lightweight reconstruction of urban buildings: Data structures, algorithms, and future directions
CN110660132A (en) Three-dimensional model construction method and device
Zhang et al. Meshlink: a surface structured mesh generation framework to facilitate automated data linkage
CN108109205B (en) Incomplete model retrieval and reconstruction method based on hole filling
Xian et al. Efficient and effective cage generation by region decomposition
Rasoulzadeh et al. Strokes2surface: recovering curve networks from 4D architectural design sketches
Galbraith et al. Implicit visualization and inverse modeling of growing trees
Mirra et al. Exploring a design space of shell and tensile structures generated by AI from historical precedents
CN111462301B (en) Construction method of generative model for multi-view plant 3D reconstruction
CN115393542B (en) A Generalized Architectural 3D Geometric Reconstruction Method
Wang et al. Cellular matrix model for parallel combinatorial optimization algorithms in Euclidean plane
Smith 3D data representation, storage and processing
Ma et al. Implementation of Object-oriented Design Technology and Deep Learning Algorithm in Interior Design CAD System
Zhou et al. Construction and Implementation of Soft Interior Design System Based on Deep Learning Aided CAD Modeling
Deprelle Learning surface elements for shape representation
Zhao Deep learning over spatial data: From a 3D reconstructive perspective

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20221028