CN103632395A - Method for simplifying three-dimensional geometric graphics on basis of triangle contraction - Google Patents
Method for simplifying three-dimensional geometric graphics on basis of triangle contraction Download PDFInfo
- Publication number
- CN103632395A CN103632395A CN201310671940.9A CN201310671940A CN103632395A CN 103632395 A CN103632395 A CN 103632395A CN 201310671940 A CN201310671940 A CN 201310671940A CN 103632395 A CN103632395 A CN 103632395A
- Authority
- CN
- China
- Prior art keywords
- triangle
- contraction
- triangles
- dimensional geometric
- factor
- 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
Links
Images
Landscapes
- Image Generation (AREA)
Abstract
The invention discloses a method for simplifying three-dimensional geometric graphics on the basis of triangle contraction. The method includes firstly, setting conditions for judging triangles and only allowing contraction operation to be carried out on triangles which meet the conditions; secondly, folding and contracting the triangles; thirdly, determining the vertexes V<i> of contraction points with the maximum distances d<i>, using average planes M as planes adjacent to points V<i> and solving the contraction points by a secondary error process. The maximum distances d<i> of the contraction points are equal to computation factors a. The folding and contraction priority of each triangle is represented by a weight L=aXb, the triangles corresponding to small weights L are contracted at first, each factor b represents the area of the corresponding triangle, each average plane M of a triangle plate S<i> of the corresponding triangle T is computed, normal vectors of the average planes M are acquired in such a manner the maximum distances d<i> from the various points V<i> to the triangle plates S<i> are used as the factors a, in other words, each d<i> is equal to an absolute value of nX(V<i>-x), each factor a is the maximum value of the corresponding distances d1, d2 and d3, and the distances d<i> are used for solving the triangles T. The method for simplifying the three-dimensional geometric graphics on the basis of triangle contraction has the advantages that conditional judgment is carried out on the triangles, the triangles are folded and contracted according to priority levels of the triangles, accordingly, simplifying procedures can be optimized, the precision is high, and the original graphics can be effectively preserved.
Description
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of three-dimensional geometric shapes short-cut method based on triangle contraction.
Background technology
The simplification technical purpose of 3-D geometric model is to reduce the data volume of model, and simplification technology, from geometric angle, guaranteeing, under the prerequisite that mode shape is substantially constant, to reduce the segmentation precision of model surface, reduces the polygon number that it is cut apart as far as possible.The research direction of three-dimensional polygon surface model simplification technology mainly comprises the following aspects: the short-cut method of model, and research could reduce the polygon number of model surface by which type of method or operation; The control method of model simplification time error, research adopts the model after which type of means guarantee is simplified similar in shape to master pattern; The building method of multiresolution series model, how research constructs a series of approximate model, and its level of detail reduces gradually, wherein the level of detail of master pattern is the highest, the meticulousst, and the level of detail of last approximate model is minimum, is the most coarse simplified model; Wherein, the short-cut method of model and error control method are the substances in model simplification technology, in conjunction with the method for these two aspects, just can generate an approximate model of master pattern, be referred to as single resolution simplified model, its building method is the basis of multiresolution simplified model building method.
The external Model Simplification Method that oneself proposes roughly can be divided into following four large classes at present: the short-cut method of repartitioning based on surface, the short-cut method based on Vertex Clustering, short-cut method and the short-cut method based on wavelet theory based on geometric graphic element operation; Domestic correlative study direction comprises: point deletion operation, triangle deletion action, limit shrinkage operation and triangle contraction operation.Wherein, triangle contraction operation is the expansion of limit shrinkage operation, and the contraction object of choosing in each cycling is not a limit, but a triangle surface.Leg-of-mutton three summits are moved to same position, this triangle just shrinks and becomes a point, and originally incided the line segment on this Atria summit or be all connected on the point after merging by the line segment of these three summit outgoing, its triangle surface around also changes thereupon.Existing triangle contraction has various ways, topmost problem is that a kind of effective triangle collapse algorithm that the relative importance value that how to determine triangle contraction: Hamann proposes is curvature and three the interior angle angles according to an Atria summit, determine leg-of-mutton weights, the triangle that weights are minimum is folded into a new point at first; The method also having is that the new point of selection is weights to the maximal value of the distance of each triangle place plane in the relevant triangle set of folded triangle, determines leg-of-mutton fold sequence; Other methods that also have are if Isler is according to leg-of-mutton normal direction difference around leg-of-mutton area and summit, determine summit and leg-of-mutton vision importance degree, its short-cut method decides the type (edge contraction or triangle collapse) of folding operation with the vision importance degree on summit, and determine leg-of-mutton fold sequence with leg-of-mutton vision importance degree, but it is folding point that the method is selected the summit in former grid simply, easily produce larger geometric error.
To sum up, still there are a lot of places that need improvement in existing three-dimensional geometric shapes short-cut method, and urgently a kind of three-dimensional geometric shapes short-cut method based on triangle contraction is optimized.
Summary of the invention
The object of this invention is to provide a kind of more excellent simplelyr, and can at utmost preserve the three-dimensional geometric shapes short-cut method based on triangle contraction of original figure.
The invention provides a kind of three-dimensional geometric shapes short-cut method based on triangle contraction, comprise the following steps: first, the diabolo that imposes a condition judges, the triangle T only satisfying condition is just carried out shrinkage operation; Secondly, diabolo carries out folding shrinking; Wherein, the priority that triangle collapse shrinks represents by weights L=ab, and L is less, more first shrinks this triangle, and factor b is leg-of-mutton area, and each leg-of-mutton normal vector of establishing in triangular plate Si is n
k, center is x
k, area is A
k, so, the mean level of the sea M that the plane that the normal vector n of definition and center x construct is defined as triangular plate Si is: N=(∑ A
kn
k)/∑ A
k, n=N/|N|, x=(∑ x
ka
k)/∑ A
k; Factor a: diabolo T, ask relevant leg-of-mutton triangular plate Si, then calculate the mean level of the sea M of Si, its normal vector is the each point V that asks T
idistance d to Si
iget maximum as a, that is: d
i=| n (V
i-x) |, a=max (d
1, d
2, d
3); Determine that constriction point is taken at the d obtaining in calculated factor a
imaximum summit V
i, using mean level of the sea M as with V
iadjacent plane, utilizes second order error method to obtain constriction point.
Preferably, the condition in described determining step comprises: only having at most a summit is border vertices; Associated triangle ring C is aperiodic; Each adjacent triangle T
niin, by the valence mumber on the shared summit of T, be not equal to 4.
Compared with prior art, the three-dimensional geometric shapes short-cut method diabolo based on triangle contraction of the present invention carries out condition judgment, and carries out folding shrinking according to priority level, has optimized simplification process, and has had higher precision, preserves better original figure.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram that the present invention is based on the three-dimensional geometric shapes short-cut method of triangle contraction.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
With reference to figure 1, a kind of three-dimensional geometric shapes short-cut method based on triangle contraction that the embodiment of the present invention provides, comprises the following steps:
Step S001: the diabolo that imposes a condition judges, the triangle T only satisfying condition is just carried out shrinkage operation;
Step S002: diabolo carries out folding shrinking; Wherein, the priority that triangle collapse shrinks represents by weights L=ab, and L is less, more first shrinks this triangle, and factor b is leg-of-mutton area, and each leg-of-mutton normal vector of establishing in triangular plate Si is n
k, center is x
k, area is A
k, so, the mean level of the sea M that the plane that the normal vector n of definition and center x construct is defined as triangular plate Si is: N=(∑ A
kn
k)/∑ A
k, n=N/|N|, x=(∑ x
ka
k)/∑ A
k; Factor a: diabolo T, ask relevant leg-of-mutton triangular plate Si, then calculate the mean level of the sea M of Si, its normal vector is the each point V that asks T
idistance d to Si
iget maximum as a, that is: d
i=| n (V
i-x) |, a=max (d
1, d
2, d
3); Determine that constriction point is taken at the d obtaining in calculated factor a
imaximum summit V
i, using mean level of the sea M as with V
iadjacent plane, utilizes second order error method to obtain constriction point.
Preferably, the condition in described step S001 comprises: only having at most a summit is border vertices; Associated triangle ring C is aperiodic; Each adjacent triangle T
niin, by the valence mumber on the shared summit of T, be not equal to 4.
In step S002, by second order error method, obtain constriction point and specifically adopt second order error matrix method, first, for each point in master pattern surface mesh arranges a symmetrical 4X4 error matrix, be designated as:
Meanwhile, also for each some v, define the tolerance of a displacement error:
v
TQv=q
11x
2+2q
12xy+2q
13xz+2q
14x+q
22y
2+2q
23yz+2q
24y+q
33z
2+2q
34z+q
44
If some v moves to v ', v ' has had certain distance with the adjacent surface of mobile front some v, supposes that p is a plane ax+by+cz+d=0 adjacent with v, note p=[a, b, c, d]
t, v ' is p to the distance of p
tv '.Adopt the quadratic sum ∑ (p of these distances
tv ')
2, as error criterion, when v does not move, v=v ', has
v
TQv=∑(p
Tv′)
2=∑(v′
Tp)(p
Tv′)=v′
T(∑pp
T)v′
∴ Q=∑ pp
t, wherein
Visible, the initial error matrix Q of each point is determined by the plane at its adjacent triangle place.By the Q of each point, just can calculate its deflation error for each limit.Suppose limit (v1, the v2) → v ' that will shrink, the error matrix that defines simply v ' is Q '=Q1+Q2, and the error (contraction cost) that its shrinkage operation produces is ε (v ')=v '
tq ' v ', wherein makes the v of error minimum, is exactly the optimum position that this edge is shrunk to new point.According to least square method, error is asked to local derviation, make it equal 0:
If this equation has solution, i.e. first matrix's reversibility, the position of v ' is:
If without solution, from v1, v2, or select a point that makes deflation error minimum between the mid point of v1, v2 line.
Visible, utilize second order error matrix, can, for each cost that can carry out the limit calculating shrinkage operation of shrinkage operation, obtain the optimum position that this edge shrinks.If all choose that limit of Least-cost at every turn, shrink, the model causing changes minimum, has reached the object that has kept master pattern profile.
Compared with prior art, the three-dimensional geometric shapes short-cut method diabolo based on triangle contraction of the present invention carries out condition judgment, and carries out folding shrinking according to priority level, has optimized simplification process, and has had higher precision, preserves better original figure.
The three-dimensional geometric shapes short-cut method based on the triangle contraction above embodiment of the present invention being provided, be described in detail, in the present invention, applied specific case principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (2)
1. the three-dimensional geometric shapes short-cut method based on triangle contraction, is characterized in that, comprises the following steps: first, the diabolo that imposes a condition judges, the triangle T only satisfying condition is just carried out shrinkage operation; Secondly, diabolo carries out folding shrinking; Wherein, the priority that triangle collapse shrinks represents by weights L=ab, and L is less, more first shrinks this triangle, and factor b is leg-of-mutton area, and each leg-of-mutton normal vector of establishing in triangular plate Si is n
k, center is x
k, area is A
k, so, the mean level of the sea M that the plane that the normal vector n of definition and center x construct is defined as triangular plate Si is:
N=(∑A
kn
k)/∑A
k,n=N/|N|,x=(∑x
kA
k)/∑A
k;
Factor a: diabolo T, ask relevant leg-of-mutton triangular plate Si, then calculate the mean level of the sea M of Si, its normal vector is the each point V that asks T
idistance d to Si
iget maximum as a, that is: d
i=| n (V
i-x) |, a=max (d
1, d
2, d
3);
Determine that constriction point is taken at the d obtaining in calculated factor a
imaximum summit V
i, using mean level of the sea M as with V
iadjacent plane, utilizes second order error method to obtain constriction point.
2. the three-dimensional geometric shapes short-cut method based on triangle contraction as claimed in claim 1, is characterized in that, the condition in described determining step comprises: only having at most a summit is border vertices; Associated triangle ring C is aperiodic; Each adjacent triangle T
niin, by the valence mumber on the shared summit of T, be not equal to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671940.9A CN103632395A (en) | 2013-12-10 | 2013-12-10 | Method for simplifying three-dimensional geometric graphics on basis of triangle contraction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671940.9A CN103632395A (en) | 2013-12-10 | 2013-12-10 | Method for simplifying three-dimensional geometric graphics on basis of triangle contraction |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103632395A true CN103632395A (en) | 2014-03-12 |
Family
ID=50213409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310671940.9A Pending CN103632395A (en) | 2013-12-10 | 2013-12-10 | Method for simplifying three-dimensional geometric graphics on basis of triangle contraction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103632395A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463861B (en) * | 2014-11-28 | 2017-08-01 | 浙江科澜信息技术有限公司 | It is a kind of that simplified mean quadratic error measure is shunk for side |
CN107945258A (en) * | 2017-11-03 | 2018-04-20 | 杭州群核信息技术有限公司 | A kind of 3-D graphic simplifies generation method automatically |
CN113963118A (en) * | 2021-11-18 | 2022-01-21 | 江苏科技大学 | Three-dimensional model identification method based on feature simplification and neural network |
CN115482466A (en) * | 2022-09-28 | 2022-12-16 | 广西壮族自治区自然资源遥感院 | Three-dimensional model vegetation area lightweight processing method based on deep learning |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030034970A1 (en) * | 2001-03-29 | 2003-02-20 | Hubeli Andreas G.P. | System and method for correctly decimating height fields with missing values |
CN101241602A (en) * | 2008-03-05 | 2008-08-13 | 罗笑南 | Computer three-dimensional grid pattern abridging method |
CN102881044A (en) * | 2012-09-27 | 2013-01-16 | 重庆大学 | Simplification method of three-dimensional grid model based on triangle folding |
-
2013
- 2013-12-10 CN CN201310671940.9A patent/CN103632395A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030034970A1 (en) * | 2001-03-29 | 2003-02-20 | Hubeli Andreas G.P. | System and method for correctly decimating height fields with missing values |
CN101241602A (en) * | 2008-03-05 | 2008-08-13 | 罗笑南 | Computer three-dimensional grid pattern abridging method |
CN102881044A (en) * | 2012-09-27 | 2013-01-16 | 重庆大学 | Simplification method of three-dimensional grid model based on triangle folding |
Non-Patent Citations (2)
Title |
---|
李传良 等: "基于面片收缩操作的模型简化算法", 《河海大学常州分校学报》 * |
阎涛 等: "基于STL三角网格模型简化的研究", 《计算机工程与设计》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104463861B (en) * | 2014-11-28 | 2017-08-01 | 浙江科澜信息技术有限公司 | It is a kind of that simplified mean quadratic error measure is shunk for side |
CN107945258A (en) * | 2017-11-03 | 2018-04-20 | 杭州群核信息技术有限公司 | A kind of 3-D graphic simplifies generation method automatically |
CN107945258B (en) * | 2017-11-03 | 2021-01-12 | 杭州群核信息技术有限公司 | Automatic simplified generation method of three-dimensional graph |
CN113963118A (en) * | 2021-11-18 | 2022-01-21 | 江苏科技大学 | Three-dimensional model identification method based on feature simplification and neural network |
CN113963118B (en) * | 2021-11-18 | 2024-08-06 | 江苏科技大学 | Three-dimensional model identification method based on feature simplification and neural network |
CN115482466A (en) * | 2022-09-28 | 2022-12-16 | 广西壮族自治区自然资源遥感院 | Three-dimensional model vegetation area lightweight processing method based on deep learning |
CN115482466B (en) * | 2022-09-28 | 2023-04-28 | 广西壮族自治区自然资源遥感院 | Three-dimensional model vegetation area lightweight processing method based on deep learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Shontz et al. | Analysis of and workarounds for element reversal for a finite element-based algorithm for warping triangular and tetrahedral meshes | |
CN103985155B (en) | Scattered point cloud Delaunay triangulation curved surface reconstruction method based on mapping method | |
CN111797555B (en) | Geometric reconstruction method based on finite element model | |
US20040090437A1 (en) | Curved surface image processing apparatus and curved surface image processing method | |
CN102324107B (en) | Pervasive-terminal-oriented continuous and multi-resolution encoding method of three-dimensional grid model | |
CN103632395A (en) | Method for simplifying three-dimensional geometric graphics on basis of triangle contraction | |
CN104680573A (en) | Texture mapping method based on triangular mesh simplification | |
CN105787932B (en) | Solid matching method based on segmentation Cross-Tree | |
CN111581776A (en) | Geometric reconstruction model-based isogeometric analysis method | |
CN111028335A (en) | Point cloud data block surface patch reconstruction method based on deep learning | |
Loseille et al. | Robust boundary layer mesh generation | |
CN103325130A (en) | Geometric iteration image fitting method based on T spline | |
CN112561788A (en) | Two-dimensional expansion method of BIM (building information modeling) model and texture mapping method and device | |
CN106564192A (en) | A 3D printing method based on grid model simplification | |
CN110675323B (en) | Three-dimensional map semantic processing method, system, equipment and computer medium | |
CN113593033A (en) | Three-dimensional model feature extraction method based on grid subdivision structure | |
CN112823381A (en) | Technique for generating stylized quadrilateral mesh from triangular mesh | |
CN106558102A (en) | A kind of three-dimension modeling method rebuild based on Screened Poisson | |
Miranda et al. | Mesh generation on high-curvature surfaces based on a background quadtree structure | |
US8022949B2 (en) | System and method for generating curvature adapted isosurface based on delaunay triangulation | |
KR20010046823A (en) | Automatic CAD Model Synthesis From Unorganized 3-D Range Data | |
KR100433947B1 (en) | Exact geometry based triangle mesh generating method | |
Itoh et al. | Automatic conversion of triangular meshes into quadrilateral meshes with directionality | |
Karman et al. | Optimization-based smoothing for extruded meshes | |
CN113591356A (en) | Construction method of non-uniform irregular spline basis function with reserved sharp features |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140312 |