CN103366393A - Method for generating hollow embossment in combination with multiple input ways - Google Patents
Method for generating hollow embossment in combination with multiple input ways Download PDFInfo
- Publication number
- CN103366393A CN103366393A CN2013102758137A CN201310275813A CN103366393A CN 103366393 A CN103366393 A CN 103366393A CN 2013102758137 A CN2013102758137 A CN 2013102758137A CN 201310275813 A CN201310275813 A CN 201310275813A CN 103366393 A CN103366393 A CN 103366393A
- Authority
- CN
- China
- Prior art keywords
- sigma
- partiald
- embossment
- hollow out
- centerdot
- 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
Links
Images
Abstract
The invention discloses a method for generating a hollow embossment in combination with multiple input ways. The method comprises the following steps: on the basis of a three-dimensional model, acquiring a bar chart, a rendering chart and a depth chart of the three-dimensional model in sequence; and synthesizing and generating the final hollow embossment by using an optimization method. Compared with the conventional manual making, the method for generating the hollow embossment in combination with multiple input ways has the advantage of saving time and force; and moreover, the hollow embossment is easy to store and edit, and can be processed into an embossment article.
Description
Technical field
The present invention relates to the computer graphics techniques field, especially relate to a kind of in conjunction with many input modes hollow out embossment generation method.
Background technology
Numeral embossment generating technique can be divided into image-based embossment generation technique at present, based on the embossment generation technique of direct 3D modeling and based on the embossment generation technique of model manipulation.The embossment that image-based embossment generation technique generates can not be correct generation embossment height, and do not possess practical significance; Embossment generation technique based on direct 3D modeling is more loaded down with trivial details, and all need to start all over again from the beginning, and it is unrealistic to make a large amount of digital embossments.Also there is not at present the generation technique for the hollow out embossment.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of in conjunction with many input modes hollow out embossment generation method, it is time saving and energy saving to make than traditional-handwork, and is easy to preserve, edit, and can be processed into the embossment article.
For solving the problems of the technologies described above, technical scheme of the present invention is: a kind of in conjunction with many input modes hollow out embossment generation method, set out by three-dimensional model, obtain successively three-dimensional model string diagram, play up figure and depth map, then synthetic by optimization method and generate last hollow out embossment.
Further, in the step of the string diagram that obtains three-dimensional model, comprise and obtain outline line and other lines;
Outline line acquisition methods: n (p) v=0 (1)
P is the point on the curved surface, and n is normal, and v observes vector, by the curved projection surfaces visible part to the plane of delineation, just can Extracting contour and skeleton line;
Other lines refer to crestal line and valley line:
K
r=0,and
Can extracting ridges and valley line by means of formula (2), (3), (4), however the lines that extract are too much, are not suitable for final hollow out embossment and generate, can carry out it by Laplace operator smooth,
Further, obtaining the playing up in the figure step of three-dimensional model, adopting the Lambert to play up the figure input, figure is played up in the Lambert provides important visual information generating the height that produces the hollow out embossment,
I=α(n(p)·m(p)) (6)。
Further, in obtaining the depth map step of three-dimensional model, three-dimensional model can provide elevation information.
Further, three kinds described in the claim 2-4 obtain by same viewpoint and same projection plane and obtain, and the pixel value of definition embossment grid is the mean value of its four neighbor pixels,
Its gradient is tried to achieve by formula (8)
Formula (7), (8) rebuild the surface of hollow out embossment in conjunction with the formula of back;
At first obtain string diagram by the lines input equation,
Play up the figure equation by the Lambert again and obtain and play up figure,
Then obtain depth map by degree of depth equation,
Reduce the synthetic hollow out embossment of optimization by energy at last,
W=w
dE
d+w
LE
L+w
wE
w (12)
Constraint condition:
s.t.h<0,-h<h
max (13)
Find the solution:
H wherein
*=-θ log (1-θ h (x, y)), θ controls compression degree
Adopted technique scheme, beneficial effect of the present invention is:
Novelty of the present invention is to propose first to extract the string diagram of three-dimensional model as the top priority that generates the hollow out embossment, the string diagram that extracts can generate the profile of hollow out embossment, yet in order to realize seamlessly transitting between the embossment, that extracts simultaneously three-dimensional model plays up figure and height map.Generate final three-dimensional hollow out embossment in conjunction with the optimized algorithm based on the energy minimum.It is time saving and energy saving to make than traditional-handwork based on the hollow out embossment generation method of three-dimensional model, and is easy to preserve, edit, and can be processed into the embossment article.
Description of drawings
Fig. 1 is the hollow out embossment generating principle figure of the embodiment of the invention;
Fig. 2 is the pixel synoptic diagram of the hollow out embossment curved surface of the embodiment of the invention;
Fig. 3 (a), (b), (c), (d) are respectively the hollow out anaglyph figure of the embodiment of the invention, and wherein the left side is input three-dimensional model, the hollow out embossment model of right side for generating;
Embodiment
The present invention is further described below in conjunction with drawings and Examples.
Shown in Fig. 1, Fig. 2 and Fig. 3 are common, a kind ofly set out by three-dimensional model in conjunction with many input modes hollow out embossment method of generationing, obtain successively three-dimensional model string diagram, play up figure and depth map, then synthesize by optimization method and generate last hollow out embossment.Novelty of the present invention is to propose first to extract the string diagram of three-dimensional model as the top priority that generates the hollow out embossment, the string diagram that extracts can generate the profile of hollow out embossment, yet in order to realize seamlessly transitting between the embossment, that extracts simultaneously three-dimensional model plays up figure and height map.Generate final three-dimensional hollow out embossment in conjunction with the optimized algorithm based on the energy minimum.
In the step of the string diagram that obtains three-dimensional model, comprise and obtain outline line and other lines;
Outline line acquisition methods: n (p) v=0 (1)
P is the point on the curved surface, and n is normal, and v observes vector, by the curved projection surfaces visible part to the plane of delineation, just can Extracting contour and skeleton line;
Other lines refer to crestal line and valley line:
K
r=0,and
Can extracting ridges and valley line by means of formula (2), (3), (4), however the lines that extract are too much, are not suitable for final hollow out embossment and generate, can carry out it by Laplace operator smooth,
Obtaining the playing up in the figure step of three-dimensional model, adopting the Lambert to play up the figure input, figure is played up in the Lambert provides important visual information generating the height that produces the hollow out embossment,
I=α(n(p)·m(p)) (6)。
In obtaining the depth map step of three-dimensional model, three-dimensional model can provide elevation information.
Above-mentioned three kinds are obtained by same viewpoint and the acquisition of same projection plane, and the pixel value of definition embossment grid is the mean value of its four neighbor pixels,
Formula (7), (8) rebuild the surface of hollow out embossment in conjunction with the formula of back;
Its gradient is tried to achieve by formula (8)
At first obtain string diagram by the lines input equation,
Play up the figure equation by the Lambert again and obtain and play up figure,
Then obtain depth map by degree of depth equation,
Reduce the synthetic hollow out embossment of optimization by energy at last,
W=w
dE
d+w
LE
L+w
wE
w (12)
Constraint condition:
s.f.h<0,-h<h
max (13)
Find the solution:
H wherein
*=-θ log (1-θ h (x, y)), θ controls compression degree
In sum, it is time saving and energy saving to make than traditional-handwork based on the hollow out embossment generation method of three-dimensional model, and is easy to preserve, edit, and can be processed into the embossment article.
The present invention is not limited to above-mentioned concrete embodiment, and those of ordinary skill in the art is from above-mentioned design, and without performing creative labour, all conversion of having done all drop within protection scope of the present invention.
Claims (5)
1. the hollow out embossment generation method in conjunction with many input modes is characterized in that, is set out by three-dimensional model, obtain successively three-dimensional model string diagram, play up figure and depth map, then synthetic by optimization method and generate last hollow out embossment.
2. a kind of hollow out embossment generation method in conjunction with many input modes as claimed in claim 1 is characterized in that, in the step of the string diagram that obtains three-dimensional model, comprises and obtains outline line and other lines;
Outline line acquisition methods: n (p) v=0 (1)
P is the point on the curved surface, and n is normal, and v observes vector, by the curved projection surfaces visible part to the plane of delineation, just can Extracting contour and skeleton line;
Other lines refer to crestal line and valley line:
K
r=0,and
Can extracting ridges and valley line by means of formula (2), (3), (4), however the lines that extract are too much, are not suitable for final hollow out embossment and generate, can carry out it by Laplace operator smooth,
3. a kind of hollow out embossment generation method in conjunction with many input modes as claimed in claim 1, it is characterized in that, obtaining the playing up in the figure step of three-dimensional model, adopt the Lambert to play up the figure input, figure is played up in the Lambert provides important visual information to produce the height of hollow out embossment with generation
I=α(n(p)·m(p)) (6)。
4. a kind of hollow out embossment generation method in conjunction with many input modes as claimed in claim 1 is characterized in that in obtaining the depth map step of three-dimensional model, three-dimensional model can provide elevation information.
5. a kind of hollow out embossment generation method in conjunction with many input modes as claimed in claim 1, it is characterized in that, described in the claim 2-4 three kinds obtain by same viewpoint and same projection plane and obtain, and the pixel value of definition embossment grid is the mean value of its four neighbor pixels
Its gradient is tried to achieve by formula (8)
Formula (7), (8) rebuild the surface of hollow out embossment in conjunction with the formula of back;
At first obtain string diagram by the lines input equation,
Play up the figure equation by the Lambert again and obtain and play up figure,
Then obtain depth map by degree of depth equation,
E=w
dE
d+w
LEL+w
wE
w (12)
Constraint condition:
s.t.h<0,-h<h
max (13)
Find the solution:
H wherein
*=-θ log (1-θ h (x, y)), θ controls compression degree.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275813.7A CN103366393B (en) | 2013-06-28 | 2013-06-28 | One generates method in conjunction with multi input mode hollow out embossment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310275813.7A CN103366393B (en) | 2013-06-28 | 2013-06-28 | One generates method in conjunction with multi input mode hollow out embossment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103366393A true CN103366393A (en) | 2013-10-23 |
CN103366393B CN103366393B (en) | 2016-06-29 |
Family
ID=49367658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310275813.7A Expired - Fee Related CN103366393B (en) | 2013-06-28 | 2013-06-28 | One generates method in conjunction with multi input mode hollow out embossment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103366393B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617652A (en) * | 2013-11-02 | 2014-03-05 | 西北农林科技大学 | Visual saliency-based bas-relief generating method |
CN107784626A (en) * | 2017-11-21 | 2018-03-09 | 西北农林科技大学 | A kind of 3-dimensional digital intaglio rilevato generation method based on single image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6424351B1 (en) * | 1999-04-21 | 2002-07-23 | The University Of North Carolina At Chapel Hill | Methods and systems for producing three-dimensional images using relief textures |
CN102405485A (en) * | 2009-02-24 | 2012-04-04 | 来得维有限公司 | Stereoscopic presentation system |
WO2012168572A1 (en) * | 2011-06-09 | 2012-12-13 | Mbda France | Method and device for automatically determining the contours of heights of the relief of a geographical area |
-
2013
- 2013-06-28 CN CN201310275813.7A patent/CN103366393B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6424351B1 (en) * | 1999-04-21 | 2002-07-23 | The University Of North Carolina At Chapel Hill | Methods and systems for producing three-dimensional images using relief textures |
CN102405485A (en) * | 2009-02-24 | 2012-04-04 | 来得维有限公司 | Stereoscopic presentation system |
WO2012168572A1 (en) * | 2011-06-09 | 2012-12-13 | Mbda France | Method and device for automatically determining the contours of heights of the relief of a geographical area |
Non-Patent Citations (2)
Title |
---|
李博等: "基于三维模型拉普拉斯分解的浮雕生成算法", 《计算机集成制造系统》 * |
龚奇伟等: "STL模型自动镂空的算法与应用", 《计算机辅助设计与图形学学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617652A (en) * | 2013-11-02 | 2014-03-05 | 西北农林科技大学 | Visual saliency-based bas-relief generating method |
CN103617652B (en) * | 2013-11-02 | 2017-02-22 | 西北农林科技大学 | Visual saliency-based bas-relief generating method |
CN107784626A (en) * | 2017-11-21 | 2018-03-09 | 西北农林科技大学 | A kind of 3-dimensional digital intaglio rilevato generation method based on single image |
CN107784626B (en) * | 2017-11-21 | 2020-11-17 | 西北农林科技大学 | Three-dimensional digital concave-convex relief generating method based on single image |
Also Published As
Publication number | Publication date |
---|---|
CN103366393B (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017029488A3 (en) | Methods of generating personalized 3d head models or 3d body models | |
CN103606190B (en) | Method for automatically converting single face front photo into three-dimensional (3D) face model | |
CN104392486B (en) | One kind point cloud scene reconstruction method | |
CN104008569B (en) | A kind of 3D scene generating method based on deep video | |
CN102509333B (en) | Action-capture-data-driving-based two-dimensional cartoon expression animation production method | |
CN104166748B (en) | Forest stand growth modeling method based on relation model | |
WO2009100020A3 (en) | Facial performance synthesis using deformation driven polynomial displacement maps | |
CN103279980A (en) | Tree leaf modeling method based on point cloud data | |
CN101303772A (en) | Method for modeling non-linear three-dimensional human face based on single sheet image | |
CN103745497B (en) | Plant growth modeling method and system | |
CN104268918B (en) | Method for blending two-dimensional animation and three-dimensional animation | |
CN107085629A (en) | A kind of fluid simulation method based on video reconstruction Yu Euler's Model coupling | |
GB201309767D0 (en) | System and method of high definition tomography and resolution for use in generating velocity models and reflectivity images | |
CN105957151A (en) | Hexahedral meshes generation method based on closed form Ploycube | |
CN105303598A (en) | Multi-style video artistic processing method based on texture transfer | |
CN101840566A (en) | Real-time shadow generating method based on GPU parallel calculation and system thereof | |
JP2013506212A5 (en) | ||
CN103761734A (en) | Binocular stereoscopic video scene fusion method for keeping time domain consistency | |
CN103617652B (en) | Visual saliency-based bas-relief generating method | |
CN105303597A (en) | Patch reduction processing system and processing method used for 3D model | |
CN103366393A (en) | Method for generating hollow embossment in combination with multiple input ways | |
CN102957936A (en) | Virtual viewpoint generation method from video single viewpoint to multiple viewpoints | |
CN105374068A (en) | Mesh generation method for freeform surface mesh structure | |
CN101477703B (en) | Human body animation process directly driven by movement capturing data based on semantic model | |
CN102339473B (en) | Genetic algorithm-based method for design of cartoon model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
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: 20160629 Termination date: 20180628 |