CN107609946A - A kind of display control method and computing device - Google Patents
A kind of display control method and computing device Download PDFInfo
- Publication number
- CN107609946A CN107609946A CN201710848204.4A CN201710848204A CN107609946A CN 107609946 A CN107609946 A CN 107609946A CN 201710848204 A CN201710848204 A CN 201710848204A CN 107609946 A CN107609946 A CN 107609946A
- Authority
- CN
- China
- Prior art keywords
- threedimensional model
- summit
- user
- dress
- clothes
- 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
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000000694 effects Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims abstract description 19
- 230000014759 maintenance of location Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000003860 storage Methods 0.000 description 8
- 238000003384 imaging method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003238 somatosensory effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000035515 penetration Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 description 1
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 description 1
- 102100021133 Nuclear protein 1 Human genes 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000009738 saturating Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of display control method, this method is suitable to perform in computing device, including step:Clothes threedimensional model to be tried on a dress and its corresponding openworking template are obtained, wherein openworking template characterizes the context of each apex coordinate in clothes threedimensional model and the body threedimensional model of user;Transparence Display processing is carried out to the body threedimensional model of user according to openworking template, obtains Openworks shape user's body;And will wait to try on a dress and overlap onto on the Openworks shape user's body, to show effect that user tries on a dress.The present invention discloses the computing device for performing this method in the lump.
Description
Technical field
The present invention relates to three-dimensional data process field, more particularly to a kind of display control method and computing device.
Background technology
With the development of AR (augmented reality) technology, it is in fields such as military, medical treatment, amusement, game, Internet video communications
Application it is more and more extensive.A kind of typically application is exactly virtual fitting, i.e. is replaced with virtual clothes and is photographed by video camera
User images in the real garment worn of user, user wear virtual clothes so as to show (in other words, virtual clothes be coated to
Cover on the image of user) 3-D effect.
The displaying scheme of common virtual fitting is will to shoot the user images for having user and clothes image conjunction to be tried on
Into together, specifically, change size to be tried on a dress based on the body contour data on user's body image, by clothes
Image is synthesized on user's body image, and therefore, virtual clothes to be tried on is always plotted in before body.This processing side
Formula has two big defects, first, the only display positive clothes effect of user, causes user can not see that clothes is carried on the back in virtual fitting
Face effect;Second, when user's body is with wait the context complexity to try on a dress, it is difficult to suitably produce composograph, example
Such as, when the hand of user is before trunk, before clothes to be tried on is also plotted in, hand is hidden in after trying on a dress
Face, actually conceivable fitting effects are different with user for this.
Therefore, it is necessary to which a kind of effective display control scheme, to solve the above problems, improves Consumer's Experience.
The content of the invention
Therefore, the invention provides a kind of display control method and computing device, on trying hard to solve or at least alleviate
At least one problem existing for face.
According to an aspect of the invention, there is provided a kind of display control method, this method is suitable to hold in computing device
OK, including step:Clothes threedimensional model to be tried on a dress and its corresponding openworking template are obtained, wherein openworking template characterizes
The context of each apex coordinate in clothes threedimensional model and the body threedimensional model of user;According to openworking template to user's
Body threedimensional model carries out Transparence Display processing, obtains Openworks shape user's body;And it will wait to try on a dress to overlap onto Openworks shape
On user's body, to show effect that user tries on a dress.
Alternatively, in the display control method according to the present invention, clothes threedimensional model and its corresponding hollow out are being obtained
Before the step of template, in addition to the step of pre-establish clothes threedimensional model:Obtain depth data to be tried on a dress;And
Clothes threedimensional model to be tried on a dress is built according to depth data.
Alternatively, in the display control method according to the present invention, in addition to the step of the body threedimensional model of user is established
Suddenly:Obtain the depth data of user's body;And the body threedimensional model of user is built according to depth data.
Alternatively, in the display control method according to the present invention, include pre-establishing each correspondence of waiting to try on a dress
Openworking template the step of:Find the body three-dimensional mould matched with each first summit in clothes threedimensional model to be tried on a dress
The second summit in type;First summit and the second summit are judged with the second apex coordinate value matched by the first apex coordinate value
Context;Determined according to context by the second summit in the body threedimensional model of the user of covering to be tried on a dress;
And openworking template is generated according to the coordinate value on identified second summit.
Alternatively, according to the present invention display control method in, by the first apex coordinate value and match second push up
Point coordinates value judges that the step of context on the first summit and the second summit includes:Judge the Z axis value of the first apex coordinate with
The size of the Z axis value of second apex coordinate of matching:When the Z axis value of the first apex coordinate is less than the Z axis value of the second apex coordinate
When, the second summit is drawn on before the first summit of matching;When the Z axis value of the first apex coordinate is not less than the second apex coordinate
Z axis value when, the first summit is drawn on before the second summit of matching.
Alternatively, in the display control method according to the present invention, determine to be waited to try on a dress covering according to context
User's body threedimensional model in the second summit the step of include:When judging that the first summit is drawn on the second summit of matching
When before, corresponding second summit is waited to try on a dress covering, records the coordinate value on second summit.
Alternatively, in the display control method according to the present invention, openworking template is JSON data formats.
Alternatively, in the display control method according to the present invention, user's body threedimensional model is entered according to openworking template
The step of row Transparence Display processing, includes:The Aphla values of the UV passages on the second summit recorded in openworking template are set to transparent.
According to another aspect of the present invention, there is provided a kind of computing device, including:One or more processors;Memory;
With one or more programs, wherein one or more program storages in memory and are configured as by one or more processors
Perform, one or more programs include being used for the instruction for performing the either method in method as described above.
In accordance with a further aspect of the present invention, there is provided a kind of computer-readable storage medium for storing one or more programs
Matter, one or more programs include instruction, instructed when computing device so that in computing device method as described above
Either method.
According to the display control scheme of the present invention, when user will try certain part clothes on, obtaining, this is to be tried on a dress
While clothes threedimensional model, openworking template is got;Corresponding Transparence Display is done to body threedimensional model according to openworking template
Processing, obtains Openworks shape user's body, then will wait to try on a dress again to cover on Openworks shape user's body, and display user tries on
The effect of clothes.By the Transparence Display of the body part to being covered by clothes, during efficiently solving virtual fitting
Penetration problem.
In addition, clothes threedimensional model to be tried on a dress and corresponding user's body threedimensional model are gathered in advance, and according to
The context generation openworking template of its apex coordinate, openworking template is stored in clothes threedimensional model.So, effectively solve
The system interim card problem that a large amount of calculating are brought, meanwhile, to being covered most of place of body by clothes without calculating, to whole
The picture display effect of body does not have any influence.
Brief description of the drawings
In order to realize above-mentioned and related purpose, some illustrative sides are described herein in conjunction with following description and accompanying drawing
Face, these aspects indicate the various modes that can put into practice principles disclosed herein, and all aspects and its equivalent aspect
It is intended to fall under in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned
And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference generally refers to identical
Part or element.
Fig. 1 shows the schematic diagram of computing device 100 according to an embodiment of the invention;
Fig. 2 shows the Typical Disposition schematic diagram of virtual fitting system 200;
Fig. 3 A show the averaging effect figure that user tries on a dress;Fig. 3 B, which are shown, penetrates processing not when user tries on a dress
When design sketch;
Fig. 4 shows the flow chart of display control method 400 according to an embodiment of the invention;
Fig. 5 shows the method 500 of the openworking template according to an embodiment of the invention for establishing clothes threedimensional model
Flow chart;And
Fig. 6 A show the schematic diagram of Openworks shape user's body according to an embodiment of the invention;Fig. 6 B show Fig. 6 A
It is corresponding try on a dress after display renderings.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 is the block diagram of Example Computing Device 100.In basic configuration 102, computing device 100, which typically comprises, is
System memory 106 and one or more processor 104.Memory bus 108 can be used in processor 104 and system storage
Communication between device 106.
Depending on desired configuration, processor 104 can be any kind of processing, include but is not limited to:Microprocessor
(μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 104 can be included such as
The cache of one or more rank of on-chip cache 110 and second level cache 112 etc, processor core
114 and register 116.The processor core 114 of example can include arithmetic and logical unit (ALU), floating-point unit (FPU),
Digital signal processing core (DSP core) or any combination of them.The Memory Controller 118 of example can be with processor
104 are used together, or in some implementations, Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memory, include but is not limited to:Easily
The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System stores
Device 106 can include operating system 120, one or more apply 122 and routine data 124.In some embodiments,
It may be arranged to be operated using routine data 124 on an operating system using 122.Routine data 124 includes instruction, in root
In computing device 100 according to the present invention, routine data 124 includes the instruction for display control method.
Computing device 100 can also include contributing to from various interface equipments (for example, output equipment 142, Peripheral Interface
144 and communication equipment 146) to basic configuration 102 via the communication of bus/interface controller 130 interface bus 140.Example
Output equipment 142 include graphics processing unit 148 and audio treatment unit 150.They can be configured as contributing to via
One or more A/V port 152 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example
If interface 144 can include serial interface controller 154 and parallel interface controller 156, they can be configured as contributing to
Via one or more I/O port 158 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch
Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.The communication of example is set
Standby 146 can include network controller 160, and it can be arranged to be easy to via one or more COM1 164 and one
The communication that other individual or multiple computing devices 162 pass through network communication link.
Network communication link can be an example of communication media.Communication media can be generally presented as in such as carrier wave
Or computer-readable instruction in the modulated data signal of other transmission mechanisms etc, data structure, program module, and can
With including any information delivery media." modulated data signal " can be such signal, one in its data set or
It is multiple or it change can the mode of coding information in the signal carry out.As nonrestrictive example, communication media can
To include the wire medium of such as cable network or private line network etc, and it is such as sound, radio frequency (RF), microwave, infrared
(IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein can include depositing
Both storage media and communication media.
Computing device 100 can be implemented as server, such as file server, database server, application program service
Device and WEB server etc., a part for portable (or mobile) electronic equipment of small size, these electronic equipments can also be embodied as
Can be such as cell phone, personal digital assistant (PDA), personal media player device, wireless network browsing apparatus, individual
Helmet, application specific equipment or the mixing apparatus that any of the above function can be included.Computing device 100 can also be real
It is now to include desktop computer and the personal computer of notebook computer configuration.
In recent years, it is a kind of be used to additional information be overlapped on real world to and is presented to user be referred to as increasing
The technology of strong reality (Augmented Reality, AR) is of concern.The information to be presented to user can in AR technologies
Visualized with the various forms of dummy objects by using such as text, icon or animation.One of AR technologies mainly should
Be support real world in user activity.Hereinafter, AR technologies are applied to virtual fitting system.
By using the virtual fitting system of AR technologies, user can try on experiencing virtual in real time.According to the present invention's
The virtual fitting system of one embodiment, (or it can be referred to as with the context of user's body by obtaining to wait to try on a dress
Covering relation) virtual clothes to be tried on is included on user's body.
Fig. 2 shows the Typical Disposition schematic diagram of a scenario of a virtual fitting system 200 according to embodiments of the present invention.With
The lower summary that will be described with reference to Figure 2 virtual fitting system 200.
In fig. 2, virtual fitting system 200 includes being used for the imaging moiety for being imaged measurand (that is, user)
210th, for wearing virtual clothes by the image processing section 220 with virtual clothes " through " measurand and for showing
The display portion 230 of the image of measurand.Had no particular limits for the place for installing virtual fitting system 200, for example,
Virtual fitting system 200 can be installed in user family or can be installed to brand shops, market, airport, railway station etc.
Public place.
According to the implementation of the present invention, imaging moiety 210 can include filming apparatus (e.g., camera) and sensor.
Filming apparatus is used to shoot the object being present in real space, in example illustrated in fig. 2, as real space object
Subject (for example, people) is shot by camera.Sensor has the function of parameter of the detection from real space, and will inspection
The data (e.g., depth data) of survey are sent to image processing section 220.For example, sensor can be made up of infrared sensor.
Alternatively, imaging moiety 210 can use Kinect somatosensory video camera.Kinect somatosensory video camera has 3 mirrors
Head, middle camera lens is RGB color video camera, for gathering coloured image;The camera lens of the right and left is infrared emitting respectively
Device and infrared C MOS video cameras, both form 3D structure light depth inductors, for sampling depth data (that is, thing in scene
Distance of the body to camera).On the process of Kinect somatosensory camera acquisition measurand coloured image and depth data and
Principle, belong to general knowledge known in this field, do not illustrate excessively herein.
It should be noted that selection of the embodiments of the invention to imaging moiety is not only restricted to Kinect somatosensory video camera
Mode, any scheme that can gather filming apparatus (e.g., camera) frontal scene depth information is in the protection model of the present invention
Within enclosing.
According to an embodiment of the invention, image processing section 220 and display portion 230 can using computing device 100 come
Realize its function.The data that image processing section 220 collects according to imaging moiety 210, pass through the display control side of the present invention
Virtual clothes to be tried on is synthesized on the user's body of shooting by method, then shows fitting effects by display portion 230.
User data that specifically, image processing section 220 collects according to imaging moiety 210 (such as including user's
Color image data and depth data), the skeleton point position of user is calculated, further builds the body threedimensional model of user.Again
Clothes threedimensional model the to be tried on a dress matching meter corresponding with the body threedimensional model progress of the user obtained according to realizing
Calculate, (e.g., by the skeleton point for " being tied to " user that waits to try on a dress) is overlapped onto waiting to try on a dress on user's body, and by showing
Show that part 230 shows the design sketch that user tries on a dress.
In the displaying of some existing fitting effects, respectively to clothes threedimensional model and the body threedimensional model wash with watercolours of user
During stained with color, penetration problem usually occurs, as shown in Figure 3 A and Figure 3 B, Fig. 3 A are the normal effect that user tries on a dress
Fruit is schemed, and Fig. 3 B are to penetrate the design sketch dealt with improperly, it can be seen that, dress ornament and body at user's shoulder penetrate from Fig. 3 B
(body part is penetrated into before dress ornament), without correctly displaying clothes effect.
Below, the flow chart with reference to figure 4 illustrates that computing device 100 according to the embodiment of the present invention performs display control
The process of method 400.
Method 400 starts from step S410, obtains clothes threedimensional model to be tried on a dress and its corresponding openworking template.
According to a kind of implementation of the present invention, before user tries on a dress, first can treat in bulk try on it is all
Clothes carries out three-dimensional modeling:Obtained using camera and/or sensor etc. (imaging moiety 210 as described above) and wait to try on a dress
Depth data, clothes threedimensional model to be tried on a dress is built further according to depth data.According to one embodiment of present invention,
Model batch output is carried out with reference to KinectFusion.KinectFusion allows the Kinect of the hand-held and mobile standard of user to take the photograph
As head, the depth data grabbed using Kinect cameras, the quick detailed 3D for creating indoor scene is rebuild.Treat and try clothing on
The 3-D scanning of clothes and modeling belong to art-disclosed techniques content, therefore do not make expansion description herein.It should be noted that
The present invention is not limited to carry out 3-D scanning and/or three-dimensional modeling by way of KinectFusion, any to treat
Try on a dress or the mode of user's body progress three-dimensional modeling can be combined with embodiments of the invention, complete the aobvious of the present invention
Show control program.
, can be by scanning its different size (S codes, M codes, L for certain a clothes according to the implementation of the present invention
Code etc.) clothes obtain respective clothes threedimensional model (S code clothes threedimensional model, M code clothes threedimensional model, L codes clothes be three-dimensional
Model etc.);The clothes that one of size can also only be scanned obtains its clothes threedimensional model, then passes through certain size scaling
Obtain the clothes threedimensional model of other sizes.Embodiments of the present invention are not restricted to this.
Meanwhile different clothes models or size are corresponded to from different models, using model's stature as primary standard body
Material, 3-D scanning and reconstruction are carried out to the body of different models, build body threedimensional model.For example, the body of corresponding S codes is three-dimensional
Model, the body threedimensional model ... for corresponding to M codes etc..According to an embodiment of the invention, the way for building body threedimensional model can
With reference to the process for hereinbefore building clothes threedimensional model.
According to an embodiment of the invention, in each clothes threedimensional model to be tried on a dress, clothes three-dimensional is stored
Openworking template corresponding to model, openworking template characterize each apex coordinate in the clothes threedimensional model and body threedimensional model
Context.
According to the implementation of the present invention, the clothes threedimensional model and body threedimensional model established in advance can be stored in
In image processing section 220.It can also be stored in a remote server, server passes through network and virtual fitting system
200 are connected, and when user will fit, virtual fitting system 200 gets the phase stored on remote server by calling interface
Answer clothes threedimensional model and body threedimensional model.
Below with reference to Fig. 5, the process of the method 500 for the openworking template for establishing clothes threedimensional model is elaborated.
In step S510, find and each first summit matches in clothes threedimensional model to be tried on a dress body three
The second summit in dimension module.
Using each summit in clothes threedimensional model to be tried on a dress as the first summit, find and each first summit
Summit in the body threedimensional model of the user of matching, as the second summit, for example, three-dimensional to the clothes of the S codes of certain part clothes
Some summit A in model on left shoulder, all summits in S code body threedimensional models are traveled through, calculate the distance with summit A, with
Summit B closest summit A is exactly corresponding summit on left shoulder in body threedimensional model.
If following code sample section is to describe the process for finding matching summit:
In example code above, clothVtx and bodyVtx represent clothes threedimensional model and body threedimensional model respectively,
It is the three-dimensional array of Vextor3 types.It is not restricted for the calculation formula present invention of distance, the distance of any three-dimensional vector
Calculation formula can be combined with embodiments of the invention, realize the display control scheme of the present invention.
Then in step S520, the first summit is judged with the second apex coordinate value matched by the first apex coordinate value
With the context on the second summit.
Specifically, judge the value of Z axis in the first apex coordinate value with the second apex coordinate value matched the value of Z axis it is big
It is small:If the Z axis value of the first apex coordinate is less than the Z axis value of the second apex coordinate, illustrate to wear in the apex, body threedimensional model
Saturating clothes threedimensional model, then the second summit is just drawn on before the first summit of matching;If on the contrary, first apex coordinate
Z axis value is not less than the Z axis value of the second apex coordinate, illustrates in the apex, clothes threedimensional model penetrating body threedimensional model, that
First summit is drawn on before the second summit of matching.
Then in step S530, the context drawn according to step S414 is determined by the user of covering to be tried on a dress
Body threedimensional model in the second summit.Judge that the first summit is drawn on before the second summit of matching that is, working as
When, corresponding second summit is waited to try on a dress covering, now, records the coordinate value on second summit.
Then in step S540, openworking template is generated according to the coordinate value on identified second summit.In other words, engrave
The apex coordinate covered in body threedimensional model by the clothes threedimensional model is stored in empty template.According to one of the present invention
Embodiment, openworking template use JSON data formats.
Alternatively, openworking template storage corresponding to every clothes threedimensional model to be tried on a dress is arrived in a manner of encryption
In the clothes threedimensional model.When user tries certain part clothes on, while the clothes threedimensional model of the clothes is obtained, using phase
The decryption method answered reads openworking template.
In the step s 420, the body threedimensional model of user is carried out at Transparence Display according to the openworking template read
Reason, obtains Openworks shape user's body.According to one embodiment of present invention, the UV on the second summit recorded in openworking template is led to
The Aphla values in road are set to transparent.The Openworks shape user's body generated such as the openworking template to be tried on a dress of certain part according to Fig. 6 A
The schematic diagram of body, as shown in Figure 6A, its body is shown by the way of Transparence Display in user's upper body portion.
When user's selection it is a certain wait try on a dress start to try on when, the imaged part 210 of virtual fitting system 200 obtains should
The depth data of user's body, and according to the body threedimensional model of depth data structure user.The stature of the user with it is original
Standard stature (that is, model's stature) is compared, it is possible to can produce some differences.In certain extreme cases, this possible species diversity
Follow-up display effect can be influenceed.Therefore, according to another embodiment of the invention, using the body threedimensional model of user as work as
Predecessor's body three-dimensional models, using the body threedimensional model of the model gathered in advance as raw body threedimensional model, to current body
Threedimensional model and raw body threedimensional model carry out interpolation arithmetic, and the second apex coordinate in openworking template accordingly calculates
Second apex coordinate corresponding in current body threedimensional model, the second top in the current body threedimensional model calculated
Point coordinates generates corresponding Openworks shape user's body.
In subsequent step S430, will wait to try on a dress overlaps onto on Openworks shape user's body (for example, according to user's body
The skeleton point position of body three-dimensional models is by clothes threedimensional model " binding " to skeleton point), just show user and try on a dress
Effect.Display renderings after being tried on a dress as corresponding to Fig. 6 B show Fig. 6 A, as shown in Figure 6B, clothes threedimensional model pair
Answer clothes to cover the openwork part on body, there is no any influence on overall picture.
According to the display control scheme of the present invention, when user will try certain part clothes on, virtual fitting system 200 is obtaining
While the clothes threedimensional model to be tried on a dress, openworking template is got.Image processing section 220 is according to openworking template pair
Body threedimensional model does corresponding Transparence Display processing, obtains Openworks shape user's body, then will wait to try on a dress to cover again
On Openworks shape user's body, the effect that user tries on a dress is shown by display portion 230.Pass through the body to being covered by clothes
The Transparence Display divided, efficiently solves the penetration problem during virtual fitting.
Further, since the raising of hardware device, requirement of the people to the fine degree of threedimensional model also more and more higher.One
It look at and can be said to be best bib and tucker model (or body model of user) 2000k summits at least, therefore, if in fitting to each use
The body threedimensional model and clothes threedimensional model at family carry out a matching operation, its amount of calculation there is the growth of geometry multiple,
Hundreds of thousands time is carried out at least to calculate, calculate at most up to a million times.This has higher consumption for the expense of user equipment, and
And interim card can influence user try experience on.And according to the display control scheme of the present invention, clothes to be tried on a dress are gathered in advance
Threedimensional model and corresponding user's body threedimensional model are filled, and openworking template is generated according to the context of its apex coordinate, will
Openworking template is stored in clothes threedimensional model.So, efficiently solve the problems, such as largely to calculate the system interim card brought, meanwhile,
Most of place to being covered body by clothes does not have any influence without calculating on the picture display effect of entirety.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield are than the feature more features that is expressly recited in each claim.More precisely, as following
As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments as the present invention.
Those skilled in the art should be understood the module or unit or group of the equipment in example disclosed herein
Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example
In different one or more equipment.Module in aforementioned exemplary can be combined as a module or be segmented into addition multiple
Submodule.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
Various technologies described herein can combine hardware or software, or combinations thereof is realized together.So as to the present invention
Method and apparatus, or some aspects of the process and apparatus of the present invention or part can take embedded tangible media, such as soft
The form of program code (instructing) in disk, CD-ROM, hard disk drive or other any machine readable storage mediums,
Wherein when program is loaded into the machine of such as computer etc, and is performed by the machine, the machine becomes to put into practice this hair
Bright equipment.
In the case where program code performs on programmable computers, mobile terminal generally comprises processor, processor
Readable storage medium (including volatibility and nonvolatile memory and/or memory element), at least one input unit, and extremely
A few output device.Wherein, memory is arranged to store program codes;Processor is arranged to according to the memory
Instruction in the described program code of middle storage, the method for performing the present invention.
In addition, be described as herein can be by the processor of computer system or by performing for some in the embodiment
The method or the combination of method element that other devices of the function are implemented.Therefore, have and be used to implement methods described or method
The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment
Element described in this is the example of following device:The device is used to implement as in order to performed by implementing the element of the purpose of the invention
Function.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc.
Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being so described must
Must have the time it is upper, spatially, in terms of sequence or given order in any other manner.
Although describing the present invention according to the embodiment of limited quantity, above description, the art are benefited from
It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that
The language that is used in this specification primarily to readable and teaching purpose and select, rather than in order to explain or limit
Determine subject of the present invention and select.Therefore, in the case of without departing from the scope and spirit of the appended claims, for this
Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this
The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.
Claims (10)
1. a kind of display control method, this method is suitable to perform in computing device, including step:
Obtain clothes threedimensional model to be tried on a dress and its corresponding openworking template, wherein the openworking template characterize it is described
The context of each apex coordinate in clothes threedimensional model and the body threedimensional model of user;
Transparence Display processing is carried out to the body threedimensional model of user according to the openworking template, obtains Openworks shape user's body;
And
By it is described wait to try on a dress overlap onto on the Openworks shape user's body, to show effect that user tries on a dress.
2. the method for claim 1, wherein in the step of the acquisition clothes threedimensional model and its corresponding openworking template
Before rapid, in addition to the step of pre-establish clothes threedimensional model:
Obtain depth data to be tried on a dress;And
Clothes threedimensional model to be tried on a dress is built according to the depth data.
3. the step of the method for claim 1, wherein also including establishing the body threedimensional model of user:
Obtain the depth data of user's body;And
The body threedimensional model of user is built according to the depth data.
4. such as the method any one of claim 1-3, wherein, in addition to pre-establish it is each wait to try on a dress corresponding to
The step of openworking template:
Find and the second top in the body threedimensional model that each first summit matches in clothes threedimensional model to be tried on a dress
Point;
The context on the first summit and the second summit is judged with the second apex coordinate value matched by the first apex coordinate value;
Determined according to the context by the second summit in the body threedimensional model of the user of covering to be tried on a dress;And
Openworking template is generated according to the coordinate value on identified second summit.
5. method as claimed in claim 4, wherein, it is described by the first apex coordinate value and the second apex coordinate value for matching
The step of context for judging the first summit and the second summit, includes:
Judge the Z axis value of first apex coordinate and the size of the Z axis value of the second apex coordinate matched:
When the Z axis value of the first apex coordinate is less than the Z axis value of the second apex coordinate, the second summit is drawn on the first of matching
Before summit;
When the Z axis value of the first apex coordinate is not less than the Z axis value of the second apex coordinate, the first summit is drawn on the of matching
Before two summits.
6. method as claimed in claim 5, wherein, it is described to be determined according to context by user's body of covering to be tried on a dress
The step of the second summit in body three-dimensional models, includes:
When before judging that first summit is drawn on the second summit of matching, corresponding second summit is waited to try on a dress
Covering, record the coordinate value on second summit.
7. such as the method any one of claim 1-6, wherein the openworking template is JSON data formats.
8. such as the method any one of claim 4-7, wherein, it is described according to openworking template to user's body threedimensional model
The step of carrying out Transparence Display processing includes:
The Aphla values of the UV passages on the second summit recorded in the openworking template are set to transparent.
9. a kind of computing device, including:
One or more processors;
Memory;With
One or more programs, wherein one or more of program storages are in the memory and are configured as by described one
Individual or multiple computing devices, one or more of programs include being used to perform such as appointing in claim 1-8 methods describeds
The instruction of one method.
10. a kind of computer-readable recording medium for storing one or more programs, one or more of programs include instruction,
The instruction is when computing device so that any in method of the computing device as described in claim 1-8
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710848204.4A CN107609946B (en) | 2017-09-19 | 2017-09-19 | Display control method and computing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710848204.4A CN107609946B (en) | 2017-09-19 | 2017-09-19 | Display control method and computing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107609946A true CN107609946A (en) | 2018-01-19 |
CN107609946B CN107609946B (en) | 2020-11-06 |
Family
ID=61060943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710848204.4A Expired - Fee Related CN107609946B (en) | 2017-09-19 | 2017-09-19 | Display control method and computing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107609946B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108404414A (en) * | 2018-03-26 | 2018-08-17 | 网易(杭州)网络有限公司 | Fusion method, device, storage medium, processor and the terminal of picture |
CN108648061A (en) * | 2018-05-18 | 2018-10-12 | 北京京东尚科信息技术有限公司 | image generating method and device |
CN109541812A (en) * | 2018-11-12 | 2019-03-29 | 西安电子科技大学 | A kind of body three-dimensional display apparatus and its control method |
CN112704881A (en) * | 2020-12-29 | 2021-04-27 | 苏州亿歌网络科技有限公司 | Dress assembling display method, device, server and storage medium |
CN113610960A (en) * | 2021-07-19 | 2021-11-05 | 福建凯米网络科技有限公司 | Method and device for preventing die penetration during three-dimensional model merging and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156810A (en) * | 2011-03-30 | 2011-08-17 | 北京触角科技有限公司 | Augmented reality real-time virtual fitting system and method thereof |
CN103049852A (en) * | 2012-12-19 | 2013-04-17 | 武汉世纪炎龙网络科技有限公司 | Virtual fitting system |
US9123176B2 (en) * | 2012-06-27 | 2015-09-01 | Reallusion Inc. | System and method for performing three-dimensional motion by two-dimensional character |
CN106548392A (en) * | 2016-10-27 | 2017-03-29 | 河海大学常州校区 | A kind of virtual fitting implementation method based on webGL technologies |
CN106652010A (en) * | 2016-10-19 | 2017-05-10 | 武汉布偶猫科技有限公司 | Transparent mapping method based on annular area |
-
2017
- 2017-09-19 CN CN201710848204.4A patent/CN107609946B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156810A (en) * | 2011-03-30 | 2011-08-17 | 北京触角科技有限公司 | Augmented reality real-time virtual fitting system and method thereof |
US9123176B2 (en) * | 2012-06-27 | 2015-09-01 | Reallusion Inc. | System and method for performing three-dimensional motion by two-dimensional character |
CN103049852A (en) * | 2012-12-19 | 2013-04-17 | 武汉世纪炎龙网络科技有限公司 | Virtual fitting system |
CN106652010A (en) * | 2016-10-19 | 2017-05-10 | 武汉布偶猫科技有限公司 | Transparent mapping method based on annular area |
CN106548392A (en) * | 2016-10-27 | 2017-03-29 | 河海大学常州校区 | A kind of virtual fitting implementation method based on webGL technologies |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108404414A (en) * | 2018-03-26 | 2018-08-17 | 网易(杭州)网络有限公司 | Fusion method, device, storage medium, processor and the terminal of picture |
CN108404414B (en) * | 2018-03-26 | 2021-09-24 | 网易(杭州)网络有限公司 | Picture fusion method and device, storage medium, processor and terminal |
CN108648061A (en) * | 2018-05-18 | 2018-10-12 | 北京京东尚科信息技术有限公司 | image generating method and device |
CN109541812A (en) * | 2018-11-12 | 2019-03-29 | 西安电子科技大学 | A kind of body three-dimensional display apparatus and its control method |
CN112704881A (en) * | 2020-12-29 | 2021-04-27 | 苏州亿歌网络科技有限公司 | Dress assembling display method, device, server and storage medium |
CN113610960A (en) * | 2021-07-19 | 2021-11-05 | 福建凯米网络科技有限公司 | Method and device for preventing die penetration during three-dimensional model merging and storage medium |
CN113610960B (en) * | 2021-07-19 | 2024-04-02 | 福建凯米网络科技有限公司 | Method, device and storage medium for preventing mold penetration during three-dimensional model merging |
Also Published As
Publication number | Publication date |
---|---|
CN107609946B (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107609946A (en) | A kind of display control method and computing device | |
CN111787242B (en) | Method and apparatus for virtual fitting | |
CN111932664B (en) | Image rendering method and device, electronic equipment and storage medium | |
CN110084874A (en) | For the image Style Transfer of threedimensional model | |
US10013796B2 (en) | Rendering glasses shadows | |
CN110163048A (en) | Identification model training method, recognition methods and the equipment of hand key point | |
WO2019034142A1 (en) | Three-dimensional image display method and device, terminal, and storage medium | |
CN112215934A (en) | Rendering method and device of game model, storage medium and electronic device | |
CN107392984A (en) | A kind of method and computing device based on Face image synthesis animation | |
EP2852935A1 (en) | Systems and methods for generating a 3-d model of a user for a virtual try-on product | |
CN105556508A (en) | Devices, systems and methods of virtualizing a mirror | |
CN110211218A (en) | Picture rendering method and device, storage medium and electronic device | |
CN109117779A (en) | One kind, which is worn, takes recommended method, device and electronic equipment | |
CN110866977A (en) | Augmented reality processing method, device and system, storage medium and electronic equipment | |
KR20130089649A (en) | Method and arrangement for censoring content in three-dimensional images | |
CN107481280A (en) | The antidote and computing device of a kind of skeleton point | |
CN104539868B (en) | A kind of information processing method and electronic equipment | |
CN107924560A (en) | Method and apparatus based on anchor frame modification multiple image | |
CN109712082A (en) | The method and device of figure is repaired in cooperation | |
CN110120053A (en) | Face's dressing processing method, device and equipment | |
KR20060131145A (en) | Randering method of three dimension object using two dimension picture | |
CN107469355A (en) | Game image creation method and device, terminal device | |
CN106502401B (en) | Image control method and device | |
CN107341841A (en) | The generation method and computing device of a kind of gradual-change animation | |
CN110991325A (en) | Model training method, image recognition method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201106 |