Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of fitting method based on portable terminal, is intended to solve the problem that existing virtual fitting system can't satisfy client's actual fitting demand.
The embodiment of the invention is achieved in that a kind of fitting method based on portable terminal, and said method comprises:
Obtain first image that comprises fitting person, set up the plane manikin according to said first image;
Obtain and comprise second image to be tried on a dress, and according to profile to be tried on a dress, from said second image, obtain and only comprise the 3rd image to be tried on a dress;
According to said plane manikin said the 3rd image is carried out the size adjustment of same characteristic features position, generate the 4th image with said plane manikin size coupling;
Said the 4th image overlay on the manikin of said plane, is generated the fitting design sketch.
Another purpose of the embodiment of the invention is to provide a kind of fitting method based on portable terminal, and said method comprises:
Obtain first image that comprises fitting person, set up the plane manikin according to said first image;
Obtain and comprise second image to be tried on a dress, and according to profile to be tried on a dress, from said second image, obtain and only comprise the 3rd image to be tried on a dress;
According to said plane manikin said the 3rd image is carried out the size adjustment of same characteristic features position, generate the 4th image with said plane manikin size coupling;
Set up the 3D manikin according to said plane manikin;
Said the 4th image overlay on said 3D manikin, is generated the fitting design sketch.
Another purpose of the embodiment of the invention is to provide a kind of fitting device based on portable terminal, and said device comprises:
Areal model is set up the unit, is used to obtain first image that comprises fitting person, sets up the plane manikin according to said first image;
The clothes image acquiring unit is used to obtain and comprises second image to be tried on a dress, and according to profile to be tried on a dress, and from said second image, obtains only to comprise the 3rd image to be tried on a dress;
The size matching unit is used for according to said plane manikin said the 3rd image being carried out the size adjustment of same characteristic features position, generates the 4th image with said plane manikin size coupling;
The design sketch generation unit is used for said the 4th image overlay on the manikin of said plane, generates the fitting design sketch.
Another purpose of the embodiment of the invention is to provide a kind of fitting device based on portable terminal, it is characterized in that said device comprises:
Areal model is set up the unit, is used to obtain first image that comprises fitting person, sets up the plane manikin according to said first image;
The clothes image acquiring unit is used to obtain and comprises second image to be tried on a dress, and according to profile to be tried on a dress, and from said second image, obtains only to comprise the 3rd image to be tried on a dress;
The size matching unit is used for according to said plane manikin said the 3rd image being carried out the size adjustment of same characteristic features position, generates the 4th image with said plane manikin size coupling;
3D modelling unit is used for setting up the 3D manikin according to said plane manikin;
The design sketch generation unit is used for said the 4th image overlay at said 3D manikin, generates the fitting design sketch.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal, and said terminal comprises aforesaid fitting device.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal, and said terminal comprises aforesaid fitting device.
The embodiment of the invention is through setting up fitting person's plane manikin; And the image of the clothes that need try on through shooting; Extract and mate about the topography of clothes and with the plane manikin and superpose, thereby generate final fitting design sketch, realized true fitting environmental simulation to fitting person; Improve the efficient of fitting widely, promoted the virtual fitting effect.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention has utilized portable terminal to carry the hardware advantage of camera and the portability of portable terminal usually; A kind of fitting method based on portable terminal is provided; Set up fitting person's plane manikin through the image that obtains fitting person, and through obtaining the image of the clothes that need try on, extract and mate about topography to be tried on a dress and with the plane manikin and superpose; Thereby generate final fitting design sketch; Realized true fitting environmental simulation, improved the efficient of fitting widely, promoted the virtual fitting effect to fitting person.
Need to prove, the embodiment of the invention based on portable terminal comprise the portable terminal that has camera, further, can also comprise the portable terminal that has touch operation screen, and portable terminal can be based on open systems such as Android.
The realization flow that Fig. 1 shows that first embodiment of the invention provides based on the fitting method of portable terminal, details are as follows:
In step S101, obtain first image that comprises fitting person, set up the plane manikin according to said first image.
As one embodiment of the present of invention, can take first image that comprises fitting person through the camera on the portable terminal.
Other implementations as the embodiment of the invention; First image also can obtain from the local storage file of portable terminal; Perhaps from network, obtain through portable terminal; For example, fitting person adopts the photo of taking before own that is stored in portable terminal, and perhaps oneself the photo of downloaded stored in network is as first image.
In the present embodiment; After getting access to first image that comprises fitting person, because human body has bodily form characteristics such as tangible head, four limbs, therefore; Through image analysis methods such as feature identification, template matches, can set up the plane manikin that belongs to fitting person according to first image.
As one embodiment of the present of invention, the plane manikin of setting up can be kept at portable terminal, directly calls when fitting for fitting person, to improve the efficient of fitting next time.
In step S102, obtain and comprise second image to be tried on a dress, and according to profile to be tried on a dress, from said second image, obtain and only comprise the 3rd image to be tried on a dress.
In the present embodiment, comprise second image to be tried on a dress through the shooting of the camera on the portable terminal.
As another embodiment of the present invention, second image also can be downloaded from network through portable terminal by fitting person and obtain, and perhaps from the local storage file of portable terminal, reads acquisition by fitting person.In concrete application, second image is applicable to that from the situation that network download to obtain the user passes through situation such as mobile terminal accessing shopping website, and promptly the user can directly be utilized in the clothes that browses on the shopping website and fits, and determines whether buying with this.
Because clothes has shape facilities such as tangible sleeve, neckline; Therefore can in second image, extract the profile of this clothes through image analysis methods such as feature identification, template matches; And utilize this profile, from second image, obtain out the 3rd image that only comprises clothes.
In step S103, according to said plane manikin said the 3rd image is carried out the size adjustment of same characteristic features position, generate the 4th image with said plane manikin size coupling.
Because the position with human body after clothes is through on the person is one to one; The neck of the corresponding human body of the neckline of clothes for example; Therefore the arm of the corresponding human body of the sleeve of clothes can possess same characteristic features position one to one between the 3rd image and the plane manikin set up.Simultaneously, because everyone has the fat or thin stature ratio that waits of different height, same clothes is through on the different person; All can present different effects because of the difference of stature ratio; Therefore, need carry out the part adjustment of size in the same characteristic features position to the 3rd image according to the stature characteristic that is embodied in the manikin of plane; Generate the 4th image, so that the size of the 4th image and two-dimensional person's phantom type coupling.
As one embodiment of the present of invention, after step S103, can also be through detecting user's multi-point touch operation, according to the size of said the 4th image of the local adjustment of said multi-point touch operation.
Owing to directly the 3rd image is carried out the size adjustment of same characteristic features position according to the plane manikin; Exist the adjustment precision not high; Detail section is the situation of coupling not exclusively; Therefore allow the user after having watched the fitting design sketch, manually the 4th image that is superimposed upon on the manikin of plane is carried out the part adjustment.
In concrete realization; Can be through detecting user's double click operation or multiple spot drag operation; Picture in the user designated area scope is carried out the part to be amplified; Through detecting the user amplification reduction operation of its assigned address is come this part is carried out local size adjustment again, concrete realization can be repeated no more at this according to the various methods of operating of multi-point touch.
In step S104, said the 4th image overlay on the manikin of said plane, is generated the fitting design sketch.
Thus, promptly realized true environment simulation, need fitting person not try on a dress in person, just can observe the effect that fitting person puts on clothes, improved fitting efficient widely the false fitting of fitting person.
As another embodiment of the present invention, after obtaining final fitting design sketch, can make the fitting effect further strengthen the design sketch three dimensional stress of to fit.
The realization flow that Fig. 2 shows that second embodiment of the invention provides based on the fitting method of portable terminal; In the present embodiment; The step S101 with first embodiment of the invention is identical to step S103 respectively to step S203 for its step S201, its after having got access to the 4th image and two-dimensional person's phantom type, through with the 4th image overlay on the 3D manikin that generates by the plane manikin; Thereby generate the design sketch that tries on a dress, details are as follows for its concrete realization flow:
In step S204, set up the 3D manikin according to said plane manikin.
In the present embodiment, utilize image processing softwares such as 3DMAX or MAYA, convert the plane manikin that obtains among the step S201 into the 3D manikin.
In step S205,,, and a material layers is set up in each band of position for said 3D manikin is divided the different bands of position according to the feature locations of human body.
Since for example upper garment, trousers, etc. different clothes can lay respectively at the diverse location of human body according to its characteristic; And this position is fixing with respect to generic clothes, and for example, upper garment must be the upper part of the body that is positioned at human body; And trousers must be the lower parts of the body that is positioned at human body; Therefore, according to the feature locations of human body, for the 3D manikin is divided the different bands of position; And each band of position set up a material layers, so that the clothes of trying on can be played up different materials according to its pairing characteristics of human body position.
In the present embodiment, aforesaid material is the real physical attribute of object of simulation in virtual.Such as color, reflective, transparent etc.
In step S206, with said the 4th image overlay on said 3D manikin.
In step S207, obtain the material characteristic of said the 4th image, and said material characteristic is played up to the material layers of the corresponding band of position of the 4th image described in the said 3D manikin, generate the fitting design sketch.
In the present embodiment; Through obtaining the material characteristic of the 4th image; Automatically on the material layers with its material color applying pairing band of position of the 4th image in this 3D manikin, wherein, the material characteristic of the 4th image can be defined according to actual conditions by the user voluntarily in system; Also can distribute automatically, not limit at this by system.
The structure based on the fitting device of portable terminal that Fig. 3 shows that third embodiment of the invention provides for the ease of explanation, only shows the part relevant with present embodiment.
With reference to Fig. 3, this fitting device runs in the portable terminals such as mobile phone, panel computer, can be for running on the unit of hardware cell, software unit or software and hardware combining in the said apparatus, and it has comprised:
Areal model is set up unit 31, obtains first image that comprises fitting person, sets up the plane manikin according to said first image;
Clothes image acquiring unit 32 obtains and comprises second image to be tried on a dress, and according to profile to be tried on a dress, and from said second image, obtains only to comprise the 3rd image to be tried on a dress;
Size matching unit 33 carries out the size adjustment of same characteristic features position according to said plane manikin to said the 3rd image, generates the 4th image, so that said the 4th image and said plane manikin size coupling:
Design sketch generation unit 34 on the manikin of said plane, generates the fitting design sketch with said the 4th image overlay.
Also comprise:
Adjustment unit 35 detects user's multi-point touch operation, according to the size of said the 4th image of the local adjustment of said multi-point touch operation.
The structure based on the fitting device of portable terminal that Fig. 4 shows that fourth embodiment of the invention provides for the ease of explanation, only shows the part relevant with present embodiment.
With reference to Fig. 4, this fitting device runs in the portable terminals such as mobile phone, panel computer, can be for running on the unit of hardware cell, software unit or software and hardware combining in the said apparatus, and it has comprised:
Areal model is set up unit 41, obtains first image that comprises fitting person, sets up the plane manikin according to said first image;
Clothes image acquiring unit 42 obtains and comprises second image to be tried on a dress, and according to profile to be tried on a dress, and from said second image, obtains only to comprise the 3rd image to be tried on a dress;
Size matching unit 43 carries out the size adjustment of same characteristic features position according to said plane manikin to said the 3rd image, generates the 4th image, so that said the 4th image and said plane manikin size coupling;
The 3D manikin is set up according to said plane manikin in 3D modelling unit 44;
Design sketch generation unit 45 on said 3D manikin, generates the fitting design sketch with said the 4th image overlay.
Wherein, design sketch generation unit 45 specifically comprises:
Band of position division unit 451, according to the feature locations of human body, for said 3D manikin is divided the different bands of position, and for setting up a material layers in each band of position;
Superpositing unit 452, with said the 4th image overlay on said 3D manikin;
Rendering unit 453 is used to obtain the material characteristic of said the 4th image, and said material characteristic is played up to the material layers of the corresponding band of position of the 4th image described in the said 3D manikin, generates the fitting design sketch.
The embodiment of the invention is through setting up fitting person's plane manikin; And through obtaining the image of the clothes that need try on; Extract and mate about the topography of clothes and with the plane manikin and superpose, thereby generate final fitting design sketch, realized true fitting environmental simulation to fitting person; Improve the efficient of fitting widely, promoted the virtual fitting effect.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.