CN103996221A - Plant organ mesh simplification method targeted for visualization calculation - Google Patents

Plant organ mesh simplification method targeted for visualization calculation Download PDF

Info

Publication number
CN103996221A
CN103996221A CN201410160735.0A CN201410160735A CN103996221A CN 103996221 A CN103996221 A CN 103996221A CN 201410160735 A CN201410160735 A CN 201410160735A CN 103996221 A CN103996221 A CN 103996221A
Authority
CN
China
Prior art keywords
vertex
model
mesh
weights
simplified
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.)
Pending
Application number
CN201410160735.0A
Other languages
Chinese (zh)
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.)
Beijing Research Center for Information Technology in Agriculture
Original Assignee
Beijing Research Center for Information Technology in Agriculture
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 Beijing Research Center for Information Technology in Agriculture filed Critical Beijing Research Center for Information Technology in Agriculture
Priority to CN201410160735.0A priority Critical patent/CN103996221A/en
Publication of CN103996221A publication Critical patent/CN103996221A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a plant organ mesh simplification method targeted for visualization calculation. With the triangular mesh model simplification of the plant organ being a target, the simplification and optimization of a mesh model are realized by utilizing and combining a quadric error measure simplification method and Laplace fairing operators comprehensively. The main method is that to begin with, simplifying the input triangular mesh model through the mesh simplification method based on quadric error measure, and then, carrying out fairing operation on the inner top point of the simplified mesh model by utilizing the Laplace fairing operators. The method well solves the technical problem that in the prior art, the quality of the mesh cannot be guaranteed at the same time the mesh is reduced, and when the model is simplified to be very few surface elements, relatively-large form distortion occurs; the simplified organ mesh model is still of good mesh quality; and the effect cannot be realized by the ordinary method.

Description

A kind of lattice simplified method of plant organ towards Visual calculation
Technical field
The invention belongs to field of Computer Graphics, especially relate to a kind of lattice simplified method of plant organ towards Visual calculation.
Background technology
Plant Geometric Modeling is the element task of digital plant research, the quantity of grid model and quality play decisive role to the digital plant Visual calculation of carrying out taking it as carrier, as crop canopies light distribution calculating, Realistic Rendering, plant growth and wilting deformation simulative etc.Compared with industrial circle, the botanical geometric model has the features such as systematicness is poor, complexity is high, colony's number of grid is large.
Be focus and the difficulties in intelligent CAD field towards the grid model optimization of Visual calculation, the algorithm adopting for different demands is also different always.In many engineering application, as finite element numerical simulation or complex model are played up, because the reasons such as the initial subdivision of grid, grid initially generate, data acquisition cause model quality poor, for raising the efficiency and precision, require grid cell sparse as far as possible under the prerequisite that ensures mesh quality, reduce model size.There is research to play up field towards high-level efficiency, inquire at generation level (LOD) model method meeting under constraint condition; How to carry out high-quality lattice simplified and optimization towards finite element simulation area research, to promote the efficiency and precision of analysis.In field of Computer Graphics, have two large class methods can realize this target---gridding and mesh simplification again.Again the target of gridding is a given triangle gridding, according to specific quality requirements, it is processed and obtains a new triangle grid model.Divide according to different objects, gridding method is divided into tactical rule, isotropy, anisotropy, compatible, gridding again based on feature etc. again.Mesh simplification is to remove the grid processing method of " redundancy " geometric units in order to reduce moulded dimension, and wherein most representative method is famous QEM shortcut calculation, has the plurality of advantages such as efficient, simple, low storage.Due to the relatively lagging behind property of plant Geometric Modeling and the complicacy of plant structure and organ, the research of the botanical geometric model grid optimization aspect is less, mainly contain the geometric model simplification method that the propositions such as Remolar are played up towards extensive forest, Xiao Baixiang etc. have proposed lattice simplified function for maize leaf, and Zhao Chunjiang etc. utilize self-adaptive gridding method to carry out mesh generation for plant organ.
From the prior art, have and just reduce from number of grid for the lattice simplified technology of plant, in reducing grid, do not ensure the quality of grid; And plant leaf blade boundary curve is comparatively mixed and disorderly, and often present belt shape, directly adopt the lattice simplified method of other field for plant leaf blade poor effect, poor robustness.
Summary of the invention
The technical matters that the present invention mainly solves is: solve when triangular mesh model is reduced to few bin and ensure that model does not produce larger distortion, to be applicable to the Visual calculation of digital plant.
Technical scheme proposed by the invention is: first adopt the lattice simplified method based on Quadric Error Metrics to simplify to the triangular mesh model M of input, be simplified grid model M '; Then adopt Laplacian method operator to carry out fairing operation to the internal vertex of simplifying grid model M '.
Grid model M is simplified to the lattice simplified method based on Quadric Error Metrics adopting to be comprised:
S31, input triangular mesh model M;
S32, calculates each vertex v ideflation error degree matrix Q i, note vertex v ihomogeneous coordinates be [v xv yv z1] t, definition v ito it in abutting connection with triangle set P (v i) Euclidean distance quadratic sum be Δ (v i), computing formula is as follows:
Δ ( v i ) = Σ p ∈ P ( v i ) ( p T v i ) 2 = v i T ( Σ p ∈ P ( v i ) pp T ) v i
p=[a b c d] trepresent by the defined plane of equation ax+by+cz+d=0, wherein a 2+ b 2+ c 2=1, definition for vertex v ideflation error degree matrix;
S33, to every limit (v i, v j), calculate the target location of shrinking summit computing formula is as follows:
v ‾ ij q 11 q 12 q 13 q 14 q 12 q 22 q 23 q 24 q 13 q 23 q 33 q 34 0 0 0 1 - 1 0 0 0 1
Wherein q mntake from matrix (Q i+ Q j) (m, n) position, Q i, Q jfor vertex v i, v jcorresponding degree of error matrix, if above formula right-hand member square formation is irreversible, get the mid point on this limit, for border vertices, increase weights to keep border by penalty factor;
S34, with error as limit (v i, v j) contraction weights, and above-mentioned weights are arranged in heaps, minimum weights are set to heap top;
S35, deletes minimum weights limit, heap top, and shrinking this limit is summit renewal comprises vertex v i, v jentitlement value information;
S36, repeats above-mentioned steps S32 to step S35, till being met default number of vertex object simplified model M '.
Adopt Laplacian method operator to carry out fairing operation to the internal vertex of simplifying grid model M ', definition vertex v iposition after optimizing formula is as follows:
Wherein, the in-degree that n is vertex v, v ijfor v ione ring summit, ω i jfor lax weight coefficient, meet in fairing process, border vertices and given unique point are not carried out loose operations.
Preferably, lax weight coefficient ω i jobtaining value method is: evenly weights: ω i j=1/n, n is the in-degree of vertex v i; Or, discrete mediation weights: wherein λ i j=(cot α i j+ cot β i j)/2, α ij, β ijbe respectively and simplify in Vee formation shape grid model M ' with limit (v i, v j) as two leg-of-mutton drift angles on base.
The invention has the beneficial effects as follows: complex mesh model is simplified and optimization process, can be reached promising result at aspects such as mesh quality, simplification efficiency and maintenance initial model features.Model after simplifying, for digital plant Visual calculation, in having ensured computational accuracy, is significantly improved to counting yield.
Brief description of the drawings
Can more clearly understand the features and advantages of the present invention by reference to accompanying drawing, accompanying drawing is schematically to should not be construed as the present invention is carried out to any restriction, in the accompanying drawings:
Fig. 1 shows the Visual calculation principle process of digital plant;
Fig. 2 shows angle α ij, β ijthe location drawing;
Fig. 3 shows graticule model simplification Optimizing Flow figure of the present invention.
Embodiment
Below in conjunction with accompanying drawing to implementation example explanation of the present invention.
First, be calculated as the Visual calculation principle of the digital plant of example explanation with SIMULATION OF RADIATION DISTRIBUTION IN MAIZE CANOPY.For maize canopy, the ground grid that only calculates of paramount importance organ blade and canopy to participating in the distribution of canopy light is optimized.Flow process as shown in Figure 1.
S1, the grid model M0 of plant population of input corn;
S2, by maize population grid model taking the organ component netlist lattice model M single as unit is split as i;
S3, also optimizes after each organ parts grid model is simplified, and back part model M is optimized i';
S4, will optimize back part model M i' reconsolidate and become the new grid model M0 ' of plant population;
S5, utilizes the model M 0 ' after optimizing to carry out SIMULATION OF RADIATION DISTRIBUTION IN MAIZE CANOPY calculating.
The embodiment of the present invention mainly elaborates the simplification optimization method to each organ parts grid model in above-mentioned steps S3.
First, adopt the lattice simplified method based on Quadric Error Metrics to simplify to single partial model M, flow process as shown in Figure 3, specifically comprises:
S31, input triangular mesh model M;
S32, calculates each vertex v ideflation error degree matrix Q i, note vertex v ihomogeneous coordinates be [v xv yv z1] t, definition v ito it in abutting connection with triangle set P (v i) Euclidean distance quadratic sum be Δ (v i), computing formula is as follows:
Δ ( v i ) = Σ p ∈ P ( v i ) ( p T v i ) 2 = v i T ( Σ p ∈ P ( v i ) pp T ) v i
P=[a b c d] trepresent by the defined plane of equation ax+by+cz+d=0, wherein a 2+ b 2+ c 2=1, and definition Δ (v)=v tqv, therefore vertex v ideflation error degree matrix
S33, to every limit (v i, v j), calculate the target location of shrinking summit computing formula is as follows:
v ‾ ij q 11 q 12 q 13 q 14 q 12 q 22 q 23 q 24 q 13 q 23 q 33 q 34 0 0 0 1 - 1 0 0 0 1
Wherein q mntake from matrix (Q i+ Q j) (m, n) position, Q i, Q jfor vertex v i, v jcorresponding degree of error matrix, if above formula right-hand member square formation is irreversible, get the mid point on this limit, for border vertices, increase weights to keep border by penalty factor;
S34, with error as limit (v i, v j) contraction weights, and above-mentioned weights are arranged in heaps, minimum weights are set to heap top;
S35, deletes minimum weights limit, heap top, and shrinking this limit is summit renewal comprises vertex v i, v jentitlement value information;
S36, repeats above-mentioned steps S32 to step S35, till being met default number of vertex object simplified model M '.
Secondly, adopt Laplacian method operator to carry out fairing operation to the internal vertex of simplifying grid model M ', definition vertex v iposition after optimizing formula is as follows:
Wherein, the in-degree that n is vertex v, v ijfor v ione ring summit, ω i jfor lax weight coefficient, meet in fairing process, border vertices and given unique point are not carried out loose operations.
About lax weight coefficient ω i jobtaining value method has multiple, at this we adopt below two kinds of obtaining value methods:
1. even weights: ω i j=1/n, n is vertex v iin-degree;
2. discrete mediation weights: wherein λ ij=(cot α ij+ cot β ij)/2, α ij, β ijbe respectively and simplify in Vee formation shape grid model M ' with limit (v i, v j) as two leg-of-mutton drift angles on base.As shown in Figure 2.
Usually, can restrain by the iteration of 50 left and right for plant organ data acquisition, reach satisfactory result.
The embodiment of the present invention, carries out multiple dimensioned simplification to plant organ, and realizes the optimization of simplifying rear grid model.The embodiment of the present invention can be by the extremely bin of small number of graticule model simplification, simplification rate can be low to moderate below 3%, on this basis, when plant population's grid model is realized to significantly simplification, keep organ morphological feature, ensure mesh quality, and the Visual calculation of utilizing the botanical geometric model after embodiment of the present invention method is simplified to carry out, in ensureing computational accuracy, can significantly improve counting yield.
Although described by reference to the accompanying drawings embodiments of the present invention, but those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, such amendment and modification all fall into by within claims limited range.

Claims (4)

1. towards the lattice simplified method of plant organ of Visual calculation, it is characterized in that: first adopt the lattice simplified method based on Quadric Error Metrics to simplify to the triangular mesh model M of input, be simplified grid model M '; Then adopt Laplacian method operator to carry out fairing operation to the internal vertex of simplifying grid model M '.
2. a kind of lattice simplified method of plant organ towards Visual calculation according to claim 1, is characterized in that, grid model M is simplified to the lattice simplified method based on Quadric Error Metrics adopting and comprise:
S31, input triangular mesh model M;
S32, calculates each vertex v ideflation error degree matrix Q i, note vertex v ihomogeneous coordinates be [v xv yv z1] t, definition v ito it in abutting connection with triangle set P (v i) Euclidean distance quadratic sum be Δ (v i), computing formula is as follows:
Δ ( v i ) = Σ p ∈ P ( v i ) ( p T v i ) 2 = v i T ( Σ p ∈ P ( v i ) pp T ) v i
P=[a b c d] trepresent by the defined plane of equation ax+by+cz+d=0, wherein a 2+ b 2+ c 2=1, definition for the deflation error degree matrix of vertex v i;
S33, to every limit (v i, v j), calculate the target location of shrinking summit computing formula is as follows:
v ‾ ij q 11 q 12 q 13 q 14 q 12 q 22 q 23 q 24 q 13 q 23 q 33 q 34 0 0 0 1 - 1 0 0 0 1
Wherein q mntake from matrix (Q i+ Q j) (m, n) position, Q i, Q jfor vertex v i, v jcorresponding degree of error matrix, if above formula right-hand member square formation is irreversible, get the mid point on this limit, for border vertices, increase weights to keep border by penalty factor;
S34, with error as limit (v i, v j) contraction weights, and above-mentioned weights are arranged in heaps, minimum weights are set to heap top;
S35, deletes minimum weights limit, heap top, and shrinking this limit is summit renewal comprises vertex v i, v jentitlement value information;
S36, repeats above-mentioned steps S32 to step S35, till being met default number of vertex object simplified model M '.
3. a kind of lattice simplified method of plant organ towards Visual calculation according to claim 1, is characterized in that: adopt Laplacian method operator to carry out fairing operation to the internal vertex of simplifying grid model M ', definition vertex v iposition after optimizing formula is as follows:
Wherein, the in-degree that n is vertex v, v ijfor v ione ring summit, ω i jfor lax weight coefficient, meet in fairing process, border vertices and given unique point are not carried out loose operations.
4. a kind of lattice simplified method of plant organ towards Visual calculation according to claim 3, is characterized in that, lax weight coefficient ω i jobtaining value method is: evenly weights: ω i j=1/n, n is vertex v iin-degree; Or, discrete mediation weights: wherein λ i j=(cot α i j+ cot β i j)/2, α ij, β ijbe respectively and simplify in Vee formation shape grid model M ' with limit (v i, v j) as two leg-of-mutton drift angles on base.
CN201410160735.0A 2014-04-21 2014-04-21 Plant organ mesh simplification method targeted for visualization calculation Pending CN103996221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410160735.0A CN103996221A (en) 2014-04-21 2014-04-21 Plant organ mesh simplification method targeted for visualization calculation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410160735.0A CN103996221A (en) 2014-04-21 2014-04-21 Plant organ mesh simplification method targeted for visualization calculation

Publications (1)

Publication Number Publication Date
CN103996221A true CN103996221A (en) 2014-08-20

Family

ID=51310373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410160735.0A Pending CN103996221A (en) 2014-04-21 2014-04-21 Plant organ mesh simplification method targeted for visualization calculation

Country Status (1)

Country Link
CN (1) CN103996221A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463960A (en) * 2014-11-28 2015-03-25 杭州科澜信息技术有限公司 Mean quadratic error metrics edge contraction simplifying method
CN109859322A (en) * 2019-01-22 2019-06-07 广西大学 A kind of spectrum posture moving method based on deformation pattern
US10417821B2 (en) 2015-05-07 2019-09-17 Institut Mines Telecom Method of simplifying a geometry model
CN110310353A (en) * 2019-07-02 2019-10-08 北京飞渡科技有限公司 A kind of optimization method and system of BIM model data
CN113792459A (en) * 2021-09-09 2021-12-14 中国航天科工集团第二研究院 Mesh fairing optimization method and device for finite element triangular mesh
CN114187421A (en) * 2021-09-30 2022-03-15 北京博能科技股份有限公司 Method and system for simplifying finite element mesh model

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463960A (en) * 2014-11-28 2015-03-25 杭州科澜信息技术有限公司 Mean quadratic error metrics edge contraction simplifying method
CN104463960B (en) * 2014-11-28 2018-03-20 浙江科澜信息技术有限公司 Shrink method for simplifying in a kind of side of mean quadratic error measurement
US10417821B2 (en) 2015-05-07 2019-09-17 Institut Mines Telecom Method of simplifying a geometry model
CN109859322A (en) * 2019-01-22 2019-06-07 广西大学 A kind of spectrum posture moving method based on deformation pattern
CN109859322B (en) * 2019-01-22 2022-12-06 广西大学 Spectral attitude migration method based on deformation graph
CN110310353A (en) * 2019-07-02 2019-10-08 北京飞渡科技有限公司 A kind of optimization method and system of BIM model data
CN110310353B (en) * 2019-07-02 2023-07-04 北京飞渡科技有限公司 BIM model data optimization method and system
CN113792459A (en) * 2021-09-09 2021-12-14 中国航天科工集团第二研究院 Mesh fairing optimization method and device for finite element triangular mesh
CN113792459B (en) * 2021-09-09 2023-11-14 中国航天科工集团第二研究院 Grid fairing optimization method and device for finite element triangle grid
CN114187421A (en) * 2021-09-30 2022-03-15 北京博能科技股份有限公司 Method and system for simplifying finite element mesh model
CN114187421B (en) * 2021-09-30 2022-09-02 北京博能科技股份有限公司 Method and system for simplifying finite element mesh model

Similar Documents

Publication Publication Date Title
CN103996221A (en) Plant organ mesh simplification method targeted for visualization calculation
Ringler et al. A multi-resolution approach to global ocean modeling
CN104268934B (en) Method for reconstructing three-dimensional curve face through point cloud
CN108595858A (en) Lightweight advanced treating working method based on BIM
CN104778744B (en) Extensive three-dimensional forest Visual Scene method for building up based on Lidar data
Wadbro et al. Megapixel topology optimization on a graphics processing unit
Gao et al. A new method to simulate irregular particles by discrete element method
CN103500371A (en) Change control method based on BIM
CN110544305B (en) Terrain steeple ridge line information fusion method constructed by DEM (digital elevation model) oriented to regular grids
Andrade et al. Efficient viewshed computation on terrain in external memory
CN102521863A (en) Three-dimensional fluid scalar vector uniform dynamic showing method based on particle system
CN104268322B (en) A kind of BORDER PROCESSING technology of WENO difference methods
CN107038308B (en) A kind of regular grid terrain modeling method based on linear interpolation
CN103256914B (en) A kind of method and system calculating silt arrester inundated area based on DEM
Fang et al. Climate-dependence of ecosystem services in a nature reserve in northern China
Welch et al. Isogeometric analysis for the multigroup neutron diffusion equation with applications in reactor physics
CN111079326B (en) Two-dimensional anisotropic grid cell measurement tensor field smoothing method
CN112800641A (en) Generalized coarse net finite difference acceleration method based on region decomposition parallel
Zhu et al. High-quality tree structures modelling using local convolution surface approximation
CN102054294B (en) Surface modeling method based on surface theory and optimal control theory
US20140347373A1 (en) Method of generating terrain model and device using the same
CN106897425A (en) A kind of three-dimensional visualization method of terrestrial gravitation field data
CN107886573B (en) Slope three-dimensional finite element grid generation method under complex geological conditions
CN104299262B (en) A kind of three-dimensional cloud analogy method based on velocity field streamline
Liu et al. Automatic sizing functions for unstructured mesh generation revisited

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140820

RJ01 Rejection of invention patent application after publication