CN103310485B - A kind of generation method and device of 3-D view - Google Patents

A kind of generation method and device of 3-D view Download PDF

Info

Publication number
CN103310485B
CN103310485B CN201310290192.XA CN201310290192A CN103310485B CN 103310485 B CN103310485 B CN 103310485B CN 201310290192 A CN201310290192 A CN 201310290192A CN 103310485 B CN103310485 B CN 103310485B
Authority
CN
China
Prior art keywords
characteristic
characteristic point
view
point
data value
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.)
Expired - Fee Related
Application number
CN201310290192.XA
Other languages
Chinese (zh)
Other versions
CN103310485A (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.)
Suzhou University
Nantong Textile and Silk Industrial Technology Research Institute
Original Assignee
Suzhou University
Nantong Textile and Silk Industrial Technology Research Institute
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 Suzhou University, Nantong Textile and Silk Industrial Technology Research Institute filed Critical Suzhou University
Priority to CN201310290192.XA priority Critical patent/CN103310485B/en
Publication of CN103310485A publication Critical patent/CN103310485A/en
Application granted granted Critical
Publication of CN103310485B publication Critical patent/CN103310485B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

This application discloses the generation method and device of a kind of 3-D view, described method includes: read the view data of target body;Described view data is identified, to determine the data value of the characteristic point needed for the generation of at least one 3-D view;According to the data value of each described characteristic point, set up at least one characteristic curve, every described characteristic curve at least includes two characteristic points;Resolve the data value of each characteristic point in every described characteristic curve, to generate the 3-D view corresponding with described target body.During the embodiment of the present application realizes 3-D view generation, only needing the data value of a number of characteristic point, the quantity of required characteristic point is much smaller than the quantity of all cloud datas needed in the art, hence it is evident that reduce data amount of calculation, raising modeling efficiency.Further, the embodiment of the present application only needs the most commonly used electronic identifier can realize the identification of the view data to target body, it is not necessary to expensive spatial digitizer.

Description

A kind of generation method and device of 3-D view
Technical field
The application relates to Computer Applied Technology field, particularly to the generation side of a kind of 3-D view Method and device.
Background technology
3-D view refers to utilize people's binocular vision difference and light refraction principle in a plane The width three-dimensional image demonstrated.At present, along with the development of image technique, 3-D view exists Application in real life is more and more extensive.Such as, three-dimensional garment people platform is with 3-D view Form is present in computer, designer carry out initial dress designing, this three-dimensional garment people Platform is the 3-D view close to actual human body profile.
Three-dimensional garment people's platform build for whole three-dimensional garment CAD system research and development to close weight Want, and the scheme of setting up of three-dimensional garment people's platform determines the research direction of whole system, exploitation difficulty or ease Degree and integrity.
At present, the general three-dimensional garment using curved surface modeling method foundation to be such as closer to actual human body People's platform, the 3-D view of the anthropometric dummy being i.e. closer to actual human body.Above-mentioned curved surface modeling side Method refers to: obtained the cloud data of actual human body by three-dimensional scanner, with the some cloud of actual human body Based on data, carry out individual face platform simulation, and then generate corresponding with human body on computers 3-D view, it is achieved the foundation of mannequins.
But, use above-mentioned curved surface modeling method generate people's platform 3-D view time, required for carry out The data volume of the cloud data that calculating processes is very big, the most substantially reduces the formation efficiency of 3-D view.
Summary of the invention
Technical problems to be solved in this application are to provide generation method and the dress of a kind of 3-D view Put, in order to solve prior art use curved surface modeling scheme carry out 3-D view generate time, need place The high number of the cloud data of reason, hence it is evident that reduce the technical problem of the formation efficiency of 3-D view. Further, because the application is also without spatial digitizer, so compared with prior art, also Goods and materials cost and the manufacturing cost of manpower 3-D view can be reduced.
This application provides a kind of generation method of 3-D view, including:
Read the view data of target body;
Described view data is identified, to determine the feature needed for the generation of at least one 3-D view The data value of point;
According to the data value of each described characteristic point, set up at least one characteristic curve, every described spy Levy and curve at least includes two characteristic points;
Resolve the data value of each characteristic point in every described characteristic curve, to generate and described target person The 3-D view that body is corresponding.
Said method, it is preferred that described described view data is identified, to determine at least one The data value of the characteristic point needed for 3-D view generation, including:
Described view data is identified, to determine the characteristic portion of at least one target body;
Obtain at least one characteristic point corresponding with each described characteristic portion respectively;
Determine the data value of each described characteristic point.
Said method, it is preferred that described acquisition at least one respectively with each described characteristic portion institute After corresponding characteristic point, before the described data value determining each described characteristic point, described Method also includes:
Obtain the insertion point being different from described characteristic point in each described characteristic portion, by described insertion point It is labeled as characteristic point.
Said method, it is preferred that the described generation 3-D view corresponding with described target body it After, described method also includes:
Obtaining user and revise instruction, described user revises instruction and includes that user needs the target characteristic of revision Point and the revised data value of each described target characteristic point;
Determine characteristic point corresponding with described target characteristic point in described 3-D view;
The data value being respectively modified the characteristic point determined is its each self-corresponding revised data value;
According to the data value of each described characteristic point, update the graphics corresponding with described target body Picture.
Said method, it is preferred that the described data value according to each described characteristic point, updates with described The 3-D view that target body is corresponding, including:
According to the data value of each described characteristic point, re-establish at least one characteristic curve, resolve weight The data value of each characteristic point in newly-established every described characteristic curve, to regenerate with described The 3-D view that target body is corresponding;Or
According to the data value of each described characteristic point, amendment and revised spy in described 3-D view Levy a characteristic of correspondence curve, to revise described 3-D view.
Present invention also provides the generating means of a kind of 3-D view, including:
Data-reading unit, for reading the view data of target body;
Data identification unit, for being identified described view data, to determine that at least one is three-dimensional The data value of the characteristic point needed for image generation;
Curve sets up unit, for the data value according to each described characteristic point, sets up at least one special Levy curve, each described characteristic curve at least includes two characteristic points;
Data parsing unit, for resolving the data value of each characteristic point in every described characteristic curve, To generate the 3-D view corresponding with described target body.
Said apparatus, it is preferred that described data identification unit includes:
Characteristic portion determines subelement, for being identified described view data, determines at least one The characteristic portion of target body;
Characteristic point obtains subelement, is used for obtaining at least one relative with each described characteristic portion respectively The characteristic point answered;
Data value determines subelement, for determining the data value of each described characteristic point.
Said apparatus, it is preferred that described device also includes:
Characteristic point increases subelement, obtains each described feature for obtaining subelement in described characteristic point After at least one characteristic point corresponding to position, determine that subelement determines at described data value each Before the data value of described characteristic point, obtain in each described characteristic portion and be different from described characteristic point Insertion point, described insertion point is labeled as characteristic point.
Said apparatus, it is preferred that described device also includes:
Instruction acquiring unit, after generating described 3-D view at described data parsing unit, obtains Taking family revision instruction, described user revises instruction and includes that user needs the target characteristic of revision to click on The revised data value of each described target characteristic point;
Target determination unit, corresponding with described target characteristic point for determining in described 3-D view Characteristic point;
Data value amendment unit, is that it is the most corresponding for being respectively modified the data value of the characteristic point determined Revised data value;
Image update unit, for the data value according to each described characteristic point, updates and described target The 3-D view that human body is corresponding.
Said apparatus, it is preferred that described image update unit includes:
Image reconstruction subelement, for the data value according to each described characteristic point, re-establishes at least Article one, characteristic curve, resolves the data of each characteristic point in every the described characteristic curve re-established Value, to regenerate the 3-D view corresponding with described target body;Or
Amending image subelement, for the data value according to each described characteristic point, at described graphics Amendment and the characteristic curve of revised Feature point correspondence in Xiang, to revise described 3-D view.
From such scheme, the generation method and device of a kind of 3-D view that the application provides, lead to After crossing the view data such as 2-dimentional photo data etc. reading target body, view data is known , do not obtain the data value of the characteristic point of target body, thus build according to the data value of each characteristic point Vertical characteristic curve, and then generate 3-D view.During the realization of the application, only need a fixed number The data value of the characteristic point of amount, the quantity of required characteristic point is much smaller than institute needed in the art There is the quantity of cloud data, hence it is evident that reduce data amount of calculation, improve modeling efficiency.
Further, the application only needs the most commonly used electronic identifier can realize target person The identification of the view data of body, it is not necessary to expensive spatial digitizer, hence it is evident that reduce 3-D view Manufacturing cost.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present application, embodiment will be retouched below In stating, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below It is only some embodiments of the application, for those of ordinary skill in the art, is not paying On the premise of creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the generation embodiment of the method one of a kind of 3-D view that Fig. 1 provides for the application;
Fig. 2 is whole body frontal outline and the side profile schematic diagram of target body in the embodiment of the present application one;
Fig. 3 is the partial process view of the embodiment of the present application one;
Fig. 4 is the contour curve schematic diagram of the chest of target body in the embodiment of the present application one;
The partial process view of the generation embodiment of the method two of a kind of 3-D view that Fig. 5 provides for the application;
All insertion points of thoracic curve and characteristic point schematic diagram in Fig. 6 the embodiment of the present application two;
The partial process view of the generation embodiment of the method three of a kind of 3-D view that Fig. 7 provides for the application;
The structural representation of the generating means embodiment four of a kind of 3-D view that Fig. 8 provides for the application;
Fig. 9 is the part-structure schematic diagram of the embodiment of the present application four;
The part-structure of the generating means embodiment five of a kind of 3-D view that Figure 10 provides for the application shows It is intended to;
The part-structure of the generating means embodiment six of a kind of 3-D view that Figure 11 provides for the application shows It is intended to;
Figure 12 is another part structural representation of the embodiment of the present application six;
Figure 13 is the another part-structure schematic diagram of the embodiment of the present application six;
Figure 14 is the application example figure of the embodiment of the present application six;
Figure 15 is the Another Application exemplary plot of the embodiment of the present application six;
Figure 16 is the another application example figure of the embodiment of the present application six.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, to the technical scheme in the embodiment of the present application It is clearly and completely described, it is clear that described embodiment is only that the application part is real Execute example rather than whole embodiments.Based on the embodiment in the application, ordinary skill The every other embodiment that personnel are obtained under not making creative work premise, broadly falls into this The scope of application protection.
With reference to Fig. 1, the flow chart of the generation embodiment of the method one of a kind of 3-D view provided for the application, Described method, for setting up the three-dimensional people's platform matched with actual human body in a computer, is actual human body Corresponding 3-D view, it is adaptable to dress designing and cartoon character design etc. need to use answering of three-dimensional people's platform In with, described method can be realized by following steps:
Step 101: read the view data of target body.
Wherein, described target body refers to actual human body, i.e. needs to generate 3-D view and carries out dress designing Or the human body of the purposes such as cartoon character design, can include on the body part such as female upper body of the person, man Body etc., it is also possible to include the whole such as whole body of the person.
And described view data is generally the two-dimensional image data of described target body, such as, target body Full face data and side picture data.
Step 102: be identified described view data, to determine that at least one 3-D view generates institute The data value of the characteristic point needed.
Wherein, described step 102 can be accomplished by:
Include full face data and the side picture data of target body by view data as a example by, first divide Other be scanned each pixel in described full face data and side picture data identifies, determines Described full face data and side picture data show the pixel of the profile of described target body, enters And the frontal outline of described target body corresponding to described full face data can be obtained, and, described side The side profile of the described target body that face picture data is corresponding, then in described frontal outline and described side Determine on profile that at least one generates the data value of the characteristic point needed for 3-D view respectively, as taken turns in front Determine the data value of neck feature point on exterior feature, and on side profile, determine the data value of chest characteristic point Deng.
It should be noted that can be by extracting the frontal outline of described target body in the embodiment of the present application With the data value including width value, one-tenth-value thickness 1/10 and height value at any one position in side profile, thus Any one position of described target body can be determined according to described frontal outline and described side profile Middle data value a little.
Wherein, in the application, can be by body dimension's extractive technique as contactless based on Matlab Two-dimension human body process of measurement is at described view data each position of target body as described in extract in photo Width value, one-tenth-value thickness 1/10 and height value etc..Whole body frontal outline and side wheel such as the target body in Fig. 2 Shown in wide.
Therefore, in the partial process view of the embodiment of the present application one as shown in Figure 3, described step 102 is also Can be realized by each step following:
Step 301: be identified described view data, to determine the feature of at least one target body Position.
Wherein, described step 301 can be accomplished by:
It is scanned each pixel in described view data identifying, obtains institute in described view data State frontal outline and the side profile of target body, and true according to described frontal outline and described side profile The characteristic portion of fixed described target body.Such as, the neck in the profile of the target body shown in Fig. 2 is determined The characteristic portions such as portion, chest, waist.
And described characteristic portion can include as cervical region, shoulder, chest, pectus, waist, buttocks, Any one in leg etc. or combination in any.Described characteristic portion can significance embody described mesh The individuality formation of mark human body, the 3-D view generated therefrom is considered as three closest to described target body Wei Rentai.
Step 302: obtain at least one characteristic point corresponding with each described characteristic portion respectively.
Wherein, described step 302 can be accomplished by:
According to the contour curve of described target body, determine that the profile of each described characteristic portion is bent respectively In line, then the point from the contour curve of each described characteristic portion, choose and characterize described characteristic portion The point of individualized feature is as characteristic point.
Such as, in described contour curve during selected characteristic point, can click according to extension and take rule and enter Row is chosen, i.e. choose the point furthest conduct that stretches out in described contour curve in described contour curve Characteristic point.As shown in Figure 4, in the contour curve of the chest of described target body, can choose therein Breastheight point (BP point), left-hand point, right-hand point, left back point are as the characteristic point of described chest.
Step 303: determine the data value of each described characteristic point.
Wherein, described data value can represent with the position vector etc. of its characteristic of correspondence point.If selected Characteristic point be cervical region just before point, the most afterwards point, left-hand point, right-hand point, the breastheight point etc. of chest, then This step directly obtains the data value of these characteristic points.
It is then returned to Fig. 1, performs step 103: according to the data value of each described characteristic point, set up extremely A few characteristic curve, at least includes two characteristic points in every described characteristic curve.
Wherein, described step 103 can be accomplished by:
Characteristic point in each described feature point group is carried out curve connection, obtains each described feature point group Characteristic of correspondence curve, at least includes two characteristic points in every described characteristic curve.
Step 104: resolve the data value of each characteristic point in every described characteristic curve, to generate and institute State the 3-D view that target body is corresponding.
Wherein, described step 104 can be accomplished by:
Call CsGl.dll and run OpenGL program, this OpenGL program resolve every described feature The data value of each characteristic point in curve, to generate the 3-D view corresponding with described target body.
From such scheme, the generation embodiment of the method one of a kind of 3-D view that the application provides, lead to After crossing the view data such as 2-dimentional photo data etc. reading target body, view data is identified, Obtain the data value of the characteristic point of target body, thus set up feature according to the data value of each characteristic point bent Line, and then generate 3-D view.During the realization of the embodiment of the present application, only need a number of spy Levying data value a little, the quantity of required characteristic point is much smaller than all cloud datas needed in the art Quantity, hence it is evident that reduce data amount of calculation, improve modeling efficiency.
Further, the embodiment of the present application only needs the most commonly used electronic identifier can realize mesh The identification of the view data of mark human body, it is not necessary to expensive spatial digitizer, hence it is evident that reduce 3-D view Manufacturing cost.
In the above-described embodiments, every characteristic curve is carried out description by least two characteristic point and forms, every Characteristic point in characteristic curve is the fewest, in the embodiment of the present application required for the quantity that carries out calculating the least, but It is possible that the highest situation of 3-D view degree of accuracy generated, therefore, so that the graphics generated As being closer to described target body, it is better able to embody the personalization of three-dimensional people's platform, improves three-dimensional The degree of accuracy of image, by increasing the characteristic point of each characteristic portion, and then can improve every feature song The mode of the degree of accuracy of line realizes improving the degree of accuracy of 3-D view.
With reference to Fig. 5, the part stream of the generation embodiment of the method two of a kind of 3-D view provided for the application Cheng Tu, wherein, after described step 302, before described step 303, described method also includes:
Step S304: obtain the insertion point being different from described characteristic point in each described characteristic portion, will Described insertion point is labeled as characteristic point.
Wherein, described step S304 can obtain according to default acquisition rule when obtaining described insertion point Taking, described default acquisition rule is: on the basis of the widthwise central point of described characteristic portion, determine difference In the insertion point of presently described characteristic point, described insertion point is bent with the feature that presently described characteristic point is set up What line can become apparent from embodies the personalization at this place, insertion point characteristic portion of the described target body. Such as, as shown in Figure 6, for all insertion points in the thoracic curve of foundation and characteristic point.
In the actual application of the application, as a example by dress designing, when carrying out fitted garment design, as Underwear or swimming suit etc., need the actual data value of each characteristic point of actual human body as three-dimensional data such as people's platform The data basis obtained.
And growth over time, the build of described target body can occur change more or less, described The size of some characteristic portion of target body such as one-tenth-value thickness 1/10, width value etc. can occur trickle or bigger change Change so that people's platform feature that the 3-D view of generation is characterized unmatched feelings occurs with actual human body Condition, when carrying out dress designing, needs to increase quantity of margin or deflation amount on the data value of some characteristic point, So that the 3-D view generated is better able to embody the personalization of target body, the clothing designed Human body snugness of fit requirement can be better met over a period to come, can select to apply the application real Execute example three, the data value of the part or all of characteristic point of described target body is carried out a certain amount of revision. With reference to Fig. 7, the partial process view of the generation embodiment of the method three of a kind of 3-D view provided for the application, Wherein, after described step 104, described method also includes:
Step 701: obtain user and revise instruction, described user revises instruction and includes that user needs revision Target characteristic point and the revised data value of each described target characteristic point.
It should be noted that described step 701 can select to perform after described step 104, i.e. exist After generating the 3-D view that described target body is corresponding, according to user's request, described 3-D view is entered Row is revised or regenerates.
It addition, described step 701 can also perform, now after described step 102, it is not necessary to perform Described step 103 and described step 104, i.e. after determining the data value of each described characteristic point, depend on According to user's request, the data value of individual features point is modified, and then generate relative with described target body The 3-D view answered.
Step 702: determine characteristic point corresponding with described target characteristic point in described 3-D view.
Step 703: the data value being respectively modified the characteristic point determined is its each self-corresponding revised data value.
Step 704: according to the data value of each described characteristic point, updates corresponding with described target body 3-D view.
When actual realization, described step 704 can be realized by following first method:
According to the data value of revised each described characteristic point, re-establish at least one characteristic curve;
Resolve the data value of each characteristic point in every the described characteristic curve re-established, to regenerate The 3-D view corresponding with described target body.
In above-mentioned first method, the 3-D view regenerated covers three set up in described step 104 Dimension image.
It addition, described step 704 can also be realized by following second method:
According to the data value of each described characteristic point, amendment and revised feature in described 3-D view The characteristic curve that point is corresponding, to revise described 3-D view.
In above-mentioned second method, it is not necessary to regenerate 3-D view, and be based on the characteristic point after to be repaired ordering Amendment 3-D view.
With reference to Fig. 8, the structure for the generating means embodiment four of a kind of 3-D view of the application offer is shown Being intended to, described device is applied in computer, for setting up the three-dimensional people's platform matched with actual human body, It is the 3-D view that actual human body is corresponding, it is adaptable to dress designing and cartoon character design etc. need to use In the application of three-dimensional people's platform, described device includes:
Data-reading unit 801, for reading the view data of target body.
Wherein, described target body refers to actual human body, i.e. needs to generate 3-D view and carries out dress designing Or the human body of the purposes such as cartoon character design, can include on the body part such as female upper body of the person, man Body etc., it is also possible to include the whole such as whole body of the person.
And described view data is generally the two-dimensional image data of described target body, such as, target body Full face data and side picture data.
Data identification unit 802, for being identified described view data, to determine at least one The data value of the characteristic point needed for 3-D view generation.
It should be noted that described data identification unit 802 is connected with described data-reading unit 801.
Wherein, described view data is being identified by described data identification unit 802, to determine at least One 3-D view generate needed for the data value of characteristic point time, can be accomplished by:
Include full face data and the side picture data of target body by view data as a example by, first divide Other be scanned each pixel in described full face data and side picture data identifies, determines Described full face data and side picture data show the pixel of the profile of described target body, enters And the frontal outline of described target body corresponding to described full face data can be obtained, and, described side The side profile of the described target body that face picture data is corresponding, then in described frontal outline and described side Determine on profile that at least one generates the data value of the characteristic point needed for 3-D view respectively, as taken turns in front Determine the data value of neck feature point on exterior feature, and on side profile, determine the data value of chest characteristic point Deng.
It should be noted that can be by extracting the frontal outline of described target body in the embodiment of the present application With the data value including width value, one-tenth-value thickness 1/10 and height value at any one position in side profile, thus Any one position of described target body can be determined according to described frontal outline and described side profile Middle data value a little
Wherein, in the application, described data identification unit 802 can extract skill by body dimension Art based on Matlab contactless two-dimension human body process of measurement as described in view data such as photo in carry Take the width value at each position of described target body, one-tenth-value thickness 1/10 and height value etc..Such as the mesh in Fig. 2 Shown in the whole body frontal outline of mark human body and side profile.
Therefore, in the part-structure schematic diagram of the embodiment of the present application four as shown in Figure 9, described number Include according to recognition unit 802:
Characteristic portion determines subelement 821, for being identified described view data, determines at least The characteristic portion of one target body.
Wherein, described characteristic portion determines that the function of subelement 821 can be accomplished by:
It is scanned each pixel in described view data identifying, obtains institute in described view data State frontal outline and the side profile of target body, and true according to described frontal outline and described side profile The characteristic portion of fixed described target body.Such as, the neck in the profile of the target body shown in Fig. 2 is determined The characteristic portions such as portion, chest, waist.
And described characteristic portion can include as cervical region, shoulder, chest, pectus, waist, buttocks, Any one in leg etc. or combination in any.Described characteristic portion can significance embody described mesh The individuality formation of mark human body, the 3-D view generated therefrom is considered as three closest to described target body Wei Rentai.
Characteristic point obtains subelement 822, be used for obtaining at least one respectively with each described characteristic portion Corresponding characteristic point.
Wherein, described characteristic point obtain subelement 822 obtain at least one respectively with each described feature During the corresponding characteristic point in position, can be accomplished by:
According to the contour curve of described target body, determine that the profile of each described characteristic portion is bent respectively In line, then the point from the contour curve of each described characteristic portion, choose and characterize described characteristic portion The point of individualized feature is as characteristic point.
Such as, in described contour curve during selected characteristic point, can click according to extension and take rule and enter Row is chosen, i.e. choose the point furthest conduct that stretches out in described contour curve in described contour curve Characteristic point.As shown in Figure 4, in the contour curve of the chest of described target body, can choose therein Breastheight point (BP point), left-hand point, right-hand point, left back point are as the characteristic point of described chest.
It should be noted that described characteristic point obtains subelement 822 determines subelement with described characteristic portion 821 are connected.
Data value determines subelement 823, for determining the data value of each described characteristic point.
Wherein, described data value can represent with the position vector etc. of its characteristic of correspondence point.If selected Characteristic point be cervical region just before point, the most afterwards point, left-hand point, right-hand point, the breastheight point etc. of chest, then Described data value determines that subelement 823 directly obtains the data value of these characteristic points.
It should be noted that described data value determines that subelement 823 obtains subelement with described characteristic point 822 are connected.
Curve sets up unit 803, for the data value according to each described characteristic point, sets up at least one Bar characteristic curve, at least includes two characteristic points in each described characteristic curve.
It is connected it should be noted that described curve sets up unit 803 with described data identification unit 802.
Wherein, described curve sets up unit 803 when realizing its function, can be accomplished by:
Characteristic point in each described feature point group is carried out curve connection, obtains each described feature point group Characteristic of correspondence curve, at least includes two characteristic points in every described characteristic curve.
Data parsing unit 804, for resolving the data of each characteristic point in every described characteristic curve Value, to generate the 3-D view corresponding with described target body.
It is connected it should be noted that described data parsing unit 804 sets up unit 803 with described curve Connect.
Wherein, described data parsing unit 804 can be accomplished by its function:
Call CsGl.dll and run OpenGL program, this OpenGL program resolve every described feature The data value of each characteristic point in curve, to generate the 3-D view corresponding with described target body.
From such scheme, the generating means embodiment four of a kind of 3-D view that the application provides, lead to After crossing the view data such as 2-dimentional photo data etc. reading target body, view data is identified, Obtain the data value of the characteristic point of target body, thus set up feature according to the data value of each characteristic point bent Line, and then generate 3-D view, during the realization of the embodiment of the present application, only need a number of spy Levying data value a little, the quantity of required characteristic point is much smaller than all cloud datas needed in the art Quantity, hence it is evident that reduce data amount of calculation, improve modeling efficiency.
Further, the embodiment of the present application only needs the most commonly used electronic identifier can realize mesh The identification of the view data of mark human body, it is not necessary to expensive spatial digitizer.
In the above-described embodiments, every characteristic curve is carried out description by least two characteristic point and forms, every Characteristic point in characteristic curve is the fewest, in the embodiment of the present application required for the quantity that carries out calculating the least, but It is possible that the highest situation of 3-D view degree of accuracy generated, therefore, so that the graphics generated As being closer to described target body, it is better able to embody the personalization of three-dimensional people's platform, improves three-dimensional The degree of accuracy of image, by increasing the characteristic point of each characteristic portion, and then can improve every feature song The mode of the degree of accuracy of line realizes improving the degree of accuracy of 3-D view.
With reference to Figure 10, the part for the generating means embodiment five of a kind of 3-D view of the application offer is tied Structure schematic diagram, wherein, described device also includes:
Characteristic point increases subelement 824, obtains each for obtaining subelement 822 in described characteristic point After at least one characteristic point corresponding to described characteristic portion, determine subelement at described data value Before 823 data values determining each described characteristic point, obtain in each described characteristic portion and be different from The insertion point of described characteristic point, is labeled as characteristic point by described insertion point.
It should be noted that described characteristic point increases subelement 824 obtains son with described characteristic point respectively Unit 822 and described data value determine that subelement 823 is connected.
Wherein, can be according in advance when obtaining described insertion point during described characteristic point increases subelement 824 If acquisition Rule, described default acquisition rule is: with the widthwise central point of described characteristic portion as base Standard, determines the insertion point being different from presently described characteristic point, described insertion point with presently described characteristic point What the characteristic curve set up can become apparent from embodies described target body in this place, insertion point feature The personalization at position.Such as, as shown in Figure 6, for all insertion points in the thoracic curve of foundation and spy Levy a little.
In the actual application of the application, as a example by dress designing, when carrying out fitted garment design, as Underwear or swimming suit etc., need the actual data value of each characteristic point of actual human body as three-dimensional data such as people's platform The data basis obtained.
And growth over time, the build of described target body can occur change more or less, described The size of some characteristic portion of target body such as one-tenth-value thickness 1/10, width value etc. can occur trickle or bigger change Change so that people's platform feature that the 3-D view of generation is characterized unmatched feelings occurs with actual human body Condition, when carrying out dress designing, needs to increase quantity of margin or deflation amount on the data value of some characteristic point, So that the 3-D view generated is better able to embody the personalization of target body, the clothing designed Human body snugness of fit requirement can be better met over a period to come, can select to apply the application real Execute example six, the data value of the part or all of characteristic point of described target body is carried out a certain amount of revision.
With reference to Figure 11, the part for the generating means embodiment six of a kind of 3-D view of the application offer is tied Structure schematic diagram, described device also includes:
Instruction acquiring unit 805, is used for obtaining user and revises instruction, and described user revises instruction and includes User needs the target characteristic of revision to click on the revised data value of each described target characteristic point.
It should be noted that described instruction acquiring unit 805 can be with described data parsing unit 804 It is connected, i.e. after described data parsing unit 804 has generated described 3-D view, by institute Stating instruction acquiring unit 805 to receive user and revise instruction, triggering following unit is to described 3-D view Modify or regenerate.
It addition, described instruction acquiring unit 805 can be connected with described data identification unit 802, Now set up unit 803 and described data parsing unit 804, i.e. described without triggering described curve After data identification unit 802 determines the data value of each described characteristic point, described instruction obtain Unit 805 receives user and revises instruction, and the foundation user's request of triggering following unit is to individual features point Data value modify, and then generate the 3-D view corresponding with described target body.
Target determination unit 806, is used for determining in described 3-D view relative with described target characteristic point The characteristic point answered.
Data value amendment unit 807, the data value for being respectively modified the characteristic point determined be its each Corresponding revised data value.
Image update unit 808, for the data value according to each described characteristic point, updates with described The 3-D view that target body is corresponding.
When actual realization, with reference to another part structural representation that Figure 12 is the embodiment of the present application six, Wherein, described image update unit 808 may include that
Image reconstruction subelement 881, for the data value according to revised each described characteristic point, weight Newly set up at least one characteristic curve, resolve each characteristic point in every the described characteristic curve re-established Data value, to regenerate the 3-D view corresponding with described target body.
Wherein, the 3-D view that described image reconstruction subelement 881 regenerates covers described data parsing The 3-D view set up in unit 804.
It addition, with reference to Figure 13, for the another part-structure schematic diagram of the embodiment of the present application six, described image Updating block 808 can also include:
Amending image subelement 882, is used for the data value according to revised each described characteristic point, Described 3-D view is revised the characteristic curve corresponding with revised characteristic point, to revise described three-dimensional Image.
Wherein, in described amending image subelement 882, it is not necessary to regenerate 3-D view, and be based on Treat that revised characteristic point revises described 3-D view.
Such as, application the embodiment of the present application carry out 3-D view generate time, can under C# environment, Call the automatic process of measurement of contactless two-dimension human body write by Matlab, extract and build three-dimensional The actual size of the target body needed for people's platform, by determining characteristic point and respective data in actual size Value, and then call CsGl.dll and run OpenGL program and carry out Three Dimensional Interface programming, generate personalized three Dimension image.
Wherein, Matlab is the abbreviation of matrix labotstory (Matrix Laboratory), opens for algorithm Send out, data visualization, data analysis and the advanced techniques computational language of numerical computations and interactive environment, There is powerful image processing function.By this software, image is carried out Threshold segmentation and two-value conversion etc. Reason obtains the profile of target body, as shown in Figure 2.
It addition, in the embodiment of the present application, computer can be utilized by combining buman body type characteristic rule Graphics knowledge, can determine characteristic point on human body image edge, to obtain characteristics of human body position Size.Front build curve feature according to human body, with the concavo-convex position easily found in two sides be Preferentially find a little, use identical further according to each characteristic point height in front, side photo with the ratio of height Principle determine the position of characteristic point of another side.
In this application, as a example by the generation of the 3-D view of female upper body, carry out based on human body photo The size that Matlab size automatically extracts includes height dimension, width dimensions and gauge.Wherein, high Degree size includes height, cervical region height, cervical vertebra point height, shoulder height, breastheight, lower breastheight;Width dimensions bag Include neck breadth, neck root width, shoulder breadth, chest breadth, breast point away from, lower chest breadth;Gauge includes neck depth, neck root Thick, shoulder thickness, chest depth, lower chest depth etc..
Below as a example by thoracic curve, sketch characteristic portion curve simulation process.First on thoracic curve Determining that characteristic point has 18 altogether, including insertion point, these characteristic points are distributed on thoracic curve, Determining the moulding of curve, be defined in a three-dimensional set, then these points just can be in interface Display, utilizes Jacobi iterative equation reverse to go out the control point of curve according to these characteristic points, and altogether 21 Individual control point, just can carry out the drafting of B-spline curves, as shown in figure 14.
During with B-spline reconstructed surface, it is generally required to contour line to be carried out compatibility process, the most all profiles Line has identical knot vector and counts with identical control.But, the characteristic curve building people's platform is come Say, although there is between adjacent contour curve certain geometric similarity, but several due to differently contoured line What size and feature are not quite similar, and therefore the characteristic point number at each characteristic portion curve can the most not With, if cervical region and neck root are all 12 characteristic points, 16 characteristic points of shoulder, 18 features of chest Point, 16 characteristic points of pectus;And due to the not equal factor in the position of differently contoured starting point, can The distortion of curved surface can be caused during constructing curve.Accordingly, it would be desirable to it is bent to combine other characteristic portions Line carries out resampling process of making to become a full member to contour line to each characteristic portion curve so that the number of sampled point The most equal with on column direction in the row direction, and one_to_one corresponding.
Owing to each characteristic curve is made up of a series of continuously arranged discrete points, and these are discrete Point is all close-packed arrays, large number of, then if seeking immediate profile by the method for beeline Starting point, calculative distance is too many and computationally intensive.With on thoracic curve 18 spies in this example On the basis of levying a little, carry out resampling, as a example by pectus characteristic curve, as shown in figure 15, found Journey is as follows:
(1) geometric center O of contour curve is found out;
(2) with central point place horizontal line and vertical line as demarcation line, it is classified as four quadrants, respectively The equal quartering of quadrant, calculates and stores the slope of every layer of characteristic point and central point line, and to all tiltedly Rate is ranked up obtaining public slope S i;
(3) according to public slope S i, in order each characteristic curve is carried out resampling, so obtain Sampled point number identical, and one_to_one corresponding, solve contour line simultaneously and become a full member and compatible asking Topic, the sampled point obtained is represented by Ai, j(i=0,1 ..., m-1;J=0,1 ..., n-1).
Same, the point of these resamplings is also the data point on each characteristic curve, people to be carried out Platform curve modeling, it is also necessary to go out control point according to these data point reverses.After line direction has calculated, Carry out the control point inverse of column direction, line direction and column direction curve can be shown in interface, in order to Check each curve form, as shown in figure 16.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, What each embodiment stressed is the difference with other embodiments, between each embodiment Identical similar part sees mutually.
Finally, in addition it is also necessary to explanation, in this article, the relation art of such as first and second or the like Language is used merely to separate an entity or operation with another entity or operating space, and not necessarily Require or imply relation or the order that there is any this reality between these entities or operation.And And, term " includes ", " comprising " or its any other variant are intended to the bag of nonexcludability Contain, so that include that the process of a series of key element, method, article or equipment not only include those Key element, but also include other key elements being not expressly set out, or also include for this process, The key element that method, article or equipment are intrinsic.In the case of there is no more restriction, by statement The key element that " including one ... " limits, it is not excluded that include the process of described key element, method, Article or equipment there is also other identical element.
Above the generation method and device of a kind of 3-D view provided by the present invention is carried out in detail Introducing, principle and the embodiment of the present invention are set forth by specific case used herein, The explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;With Time, for one of ordinary skill in the art, according to the thought of the present invention, in detailed description of the invention And all will change in range of application, in sum, it is right that this specification content should not be construed as The restriction of the application.

Claims (6)

1. the generation method of a 3-D view, it is characterised in that including:
Read the view data of target body;
Described view data is identified, to determine the feature needed for the generation of at least one 3-D view The data value of point;
According to the data value of each described characteristic point, set up at least one characteristic curve, every described spy Levy and curve at least includes two characteristic points;
Resolve the data value of each characteristic point in every described characteristic curve, to generate and described target person The 3-D view that body is corresponding;
Wherein, described described view data is identified, to determine that at least one 3-D view generates The data value of required characteristic point, including:
Described view data is identified, to determine the characteristic portion of at least one target body;
Obtain at least one characteristic point corresponding with each described characteristic portion respectively;
Determine the data value of each described characteristic point;
Wherein, the described data value determining each described characteristic point is particularly as follows: determine described target body The data value including width value, one-tenth-value thickness 1/10 and height value of each characteristic point;
Wherein, at least one feature corresponding with each described characteristic portion respectively of described acquisition After Dian, before the described data value determining each described characteristic point, described method also includes:
Obtain the insertion point being different from described characteristic point in each described characteristic portion, by described insertion point It is labeled as characteristic point;
Wherein, described described view data is identified, to determine the spy of at least one target body Levy position to include:
It is scanned each pixel in described view data identifying, obtains in described view data The frontal outline of described target body and side profile, and take turns according to described frontal outline and described side Exterior feature determines the characteristic portion of described target body;
Wherein, at least one characteristic point bag corresponding with each described characteristic portion respectively of described acquisition Include:
According to the contour curve of described target body, determine that the profile of each described characteristic portion is bent respectively In line, then the point from the contour curve of each described characteristic portion, choose the described characteristic portion of sign The point of individualized feature as characteristic point.
Method the most according to claim 1, it is characterised in that in described generation and described target After the 3-D view that human body is corresponding, described method also includes:
Obtaining user and revise instruction, described user revises instruction and includes that user needs the target characteristic of revision Point and the revised data value of each described target characteristic point;
Determine characteristic point corresponding with described target characteristic point in described 3-D view;
The data value being respectively modified the characteristic point determined is its each self-corresponding revised data value;
According to the data value of each described characteristic point, update the graphics corresponding with described target body Picture.
Method the most according to claim 2, it is characterised in that described according to each described feature The data value of point, updates the 3-D view corresponding with described target body, including:
According to the data value of each described characteristic point, re-establish at least one characteristic curve, resolve weight The data value of each characteristic point in newly-established every described characteristic curve, to regenerate and described mesh The 3-D view that mark human body is corresponding;Or
According to the data value of each described characteristic point, amendment and revised spy in described 3-D view Levy a characteristic of correspondence curve, to revise described 3-D view.
4. the generating means of a 3-D view, it is characterised in that including:
Data-reading unit, for reading the view data of target body;
Data identification unit, for being identified described view data, to determine that at least one is three-dimensional The data value of the characteristic point needed for image generation;
Curve sets up unit, for the data value according to each described characteristic point, sets up at least one special Levy curve, each described characteristic curve at least includes two characteristic points;
Data parsing unit, for resolving the data value of each characteristic point in every described characteristic curve, To generate the 3-D view corresponding with described target body;
Wherein, described data identification unit includes:
Characteristic portion determines subelement, for being identified described view data, determines at least one The characteristic portion of target body;
Characteristic point obtains subelement, is used for obtaining at least one relative with each described characteristic portion respectively The characteristic point answered;
Data value determines subelement, for determining the data value of each described characteristic point;
Wherein, described data value determine subelement determine each described characteristic point data value particularly as follows: Determine the data value including width value, one-tenth-value thickness 1/10 and height value of each characteristic point of described target body;
Wherein, described device also includes:
Characteristic point increases subelement, obtains each described feature for obtaining subelement in described characteristic point After at least one characteristic point corresponding to position, determine that subelement determines each institute at described data value Before stating the data value of characteristic point, obtain and each described characteristic portion is different from inserting of described characteristic point Access point, is labeled as characteristic point by described insertion point;
Wherein, described characteristic portion determines that described view data is identified by subelement, determines at least The characteristic portion of one target body includes:
It is scanned each pixel in described view data identifying, obtains in described view data The frontal outline of described target body and side profile, and take turns according to described frontal outline and described side Exterior feature determines the characteristic portion of described target body;
Wherein, described characteristic point obtain subelement obtain at least one respectively with each described characteristic portion Corresponding characteristic point includes:
According to the contour curve of described target body, determine that the profile of each described characteristic portion is bent respectively In line, then the point from the contour curve of each described characteristic portion, choose the described characteristic portion of sign The point of individualized feature as characteristic point.
Device the most according to claim 4, it is characterised in that described device also includes:
Instruction acquiring unit, after generating described 3-D view at described data parsing unit, obtains Taking family revision instruction, described user revises to instruct and includes that the target characteristic that user needs to revise is clicked on every The revised data value of individual described target characteristic point;
Target determination unit, corresponding with described target characteristic point for determining in described 3-D view Characteristic point;
Data value amendment unit, is that it is the most corresponding for being respectively modified the data value of the characteristic point determined Revised data value;
Image update unit, for the data value according to each described characteristic point, updates and described target The 3-D view that human body is corresponding.
Device the most according to claim 5, it is characterised in that described image update unit includes:
Image reconstruction subelement, for the data value according to each described characteristic point, re-establishes at least Article one, characteristic curve, resolves the data value of each characteristic point in every the described characteristic curve re-established, To regenerate the 3-D view corresponding with described target body;Or
Amending image subelement, for the data value according to each described characteristic point, at described graphics Amendment and the characteristic curve of revised Feature point correspondence in Xiang, to revise described 3-D view.
CN201310290192.XA 2013-07-10 2013-07-10 A kind of generation method and device of 3-D view Expired - Fee Related CN103310485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310290192.XA CN103310485B (en) 2013-07-10 2013-07-10 A kind of generation method and device of 3-D view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310290192.XA CN103310485B (en) 2013-07-10 2013-07-10 A kind of generation method and device of 3-D view

Publications (2)

Publication Number Publication Date
CN103310485A CN103310485A (en) 2013-09-18
CN103310485B true CN103310485B (en) 2016-12-28

Family

ID=49135660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310290192.XA Expired - Fee Related CN103310485B (en) 2013-07-10 2013-07-10 A kind of generation method and device of 3-D view

Country Status (1)

Country Link
CN (1) CN103310485B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103996123A (en) * 2014-01-16 2014-08-20 无锡吉姆兄弟时装定制科技有限公司 Projection cutting method for custom-made clothes
CN106690617A (en) * 2015-11-17 2017-05-24 北京三件客科技有限公司 3D model figure measuring system and shirt personalized customization 3D model figure measuring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082765A (en) * 2006-06-01 2007-12-05 高宏 Three-dimensional portrait photograph system and realizing method thereof
CN101334805A (en) * 2008-05-28 2008-12-31 苏州大学 Personalized trousers intelligent design and template automatic creation method
CN102044038A (en) * 2010-12-27 2011-05-04 上海工程技术大学 Three-dimensional virtual dressing method of clothes for real person
CN103021027A (en) * 2011-09-21 2013-04-03 蔡明俊 Characteristic data structure of electronic human model

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325020C (en) * 2004-07-19 2007-07-11 北京服装学院 Human body measurement calculating and analysis method
CN101322589B (en) * 2008-07-16 2010-06-09 苏州大学 Non-contact type human body measuring method for clothing design
JP4720913B2 (en) * 2009-02-19 2011-07-13 ソニー株式会社 Learning device, learning method, identification device, identification method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082765A (en) * 2006-06-01 2007-12-05 高宏 Three-dimensional portrait photograph system and realizing method thereof
CN101334805A (en) * 2008-05-28 2008-12-31 苏州大学 Personalized trousers intelligent design and template automatic creation method
CN102044038A (en) * 2010-12-27 2011-05-04 上海工程技术大学 Three-dimensional virtual dressing method of clothes for real person
CN103021027A (en) * 2011-09-21 2013-04-03 蔡明俊 Characteristic data structure of electronic human model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
个性化三维人体模型快速建模方法;毛天露等;《计算机辅助设计与图形学学报》;20051031;第17卷(第10期);第2191-2194页 *

Also Published As

Publication number Publication date
CN103310485A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
Zhang et al. Adaptive and quality quadrilateral/hexahedral meshing from volumetric data
CN110390638A (en) A kind of high-resolution three-dimension voxel model method for reconstructing
CN111091624B (en) Method for generating high-precision drivable human face three-dimensional model from single picture
CN109978984A (en) Face three-dimensional rebuilding method and terminal device
CN110197462A (en) A kind of facial image beautifies in real time and texture synthesis method
CN104778755B (en) A kind of texture image three-dimensional reconstruction method based on region division
CN104123747B (en) Multimode touch-control three-dimensional modeling method and system
CN103606190A (en) Method for automatically converting single face front photo into three-dimensional (3D) face model
CN108805090A (en) A kind of virtual examination cosmetic method based on Plane Gridding Model
CN102663820A (en) Three-dimensional head model reconstruction method
KR20140142470A (en) Method for generating a tree model and a forest model and apparatus for the same
CN111583408B (en) Human body three-dimensional modeling system based on hand-drawn sketch
Toro et al. Geometric atlas: modeling the cortex as an organized surface
WO2019237178A1 (en) Methods and systems for computer-based prediction of fit and function of garments on soft bodies
CN115564871A (en) Method for training fitting model, virtual fitting method and related device
CN110717978B (en) Three-dimensional head reconstruction method based on single image
CN102034272B (en) Generating method of individualized maxillofacial soft tissue hexahedral mesh
CN103310485B (en) A kind of generation method and device of 3-D view
CN107590858A (en) Medical sample methods of exhibiting and computer equipment, storage medium based on AR technologies
CN110992310A (en) Method and device for determining partition where mediastinal lymph node is located
Gong Application and Practice of Artificial Intelligence Technology in Interior Design
CN105957141B (en) A kind of three-dimensional flower modeling method based on symmetrical structure
CN115082640B (en) 3D face model texture reconstruction method and device based on single image
Zhang et al. Modeling multi-style portrait relief from a single photograph
Ng et al. Surface-based mapping of gene expression and probabilistic expression maps in the mouse cortex

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jiangsu province Nantong City Chongchuan road 226019 No. 58

Applicant after: Nantong weaving Silk Industry Institute for Research and Technology

Applicant after: Soochow University

Address before: Jiangsu province Nantong City Road 226019, No. 58 Nantong science and Technology Park 1 building 7 layer

Applicant before: Nantong Textile Institute of Soochow University

Applicant before: Soochow University

COR Change of bibliographic data
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: 20161228

Termination date: 20210710