CN105354876A - Mobile terminal based real-time 3D fitting method - Google Patents

Mobile terminal based real-time 3D fitting method Download PDF

Info

Publication number
CN105354876A
CN105354876A CN201510685088.XA CN201510685088A CN105354876A CN 105354876 A CN105354876 A CN 105354876A CN 201510685088 A CN201510685088 A CN 201510685088A CN 105354876 A CN105354876 A CN 105354876A
Authority
CN
China
Prior art keywords
dress
dimensional
tried
garment
style
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
Application number
CN201510685088.XA
Other languages
Chinese (zh)
Other versions
CN105354876B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510685088.XA priority Critical patent/CN105354876B/en
Publication of CN105354876A publication Critical patent/CN105354876A/en
Application granted granted Critical
Publication of CN105354876B publication Critical patent/CN105354876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention discloses a mobile terminal based real-time 3D fitting method. The method comprises: obtaining a two-dimensional planar image of to-be-fitted clothing through a mobile terminal; rotating and cropping the two-dimensional planar image, and then performing registering and matching; in combination with physical characteristics of a person trying on clothing, identifying feature points of the to-be-fitted clothing; performing feature point identification positioning of different styles of clothing; generating a clothing style deformation coefficient and establishing 3D clothing models; embedding a 3D fitting human body model in the mobile terminal, and adaptively fusing the 3D clothing models of the to-be-fitted clothing to the 3D fitting human body model; according to physical parameters of the 3D fitting human body model, adaptively adjusting a 3D fitting effect of the to-be-fitted clothing; and performing real-time 360-degree touch display on the 3D fitting effect in a screen of the mobile terminal. According to the method disclosed by the present invention, the identification accuracy of a clothing outline can be improved, and the highly realistic 3D fitting effect is displayed in real time on the mobile terminal.

Description

A kind of real-time volume fitting method based on mobile terminal
Technical field
The present invention relates to virtual wearing technical field, particularly relate to a kind of real-time volume fitting method based on mobile terminal.
Background technology
Along with technicalization degree is more and more higher, virtual wearing technology is applied in living scene and has become a certainty.
Virtual wearing technology dabbles technical field of research widely, has darker technical research at aspects such as recognition of face, image recognition, machine learning, artificial intelligence, computer vision, 3D (3Dimensions, three-dimensional) real-time rendering engines.Existing virtual wearing technology is mainly limited in the Depth Information Acquistion of monocular cam, and 2D (2Dimensions, two dimension) algorithm of local complexity 3D is also a major challenge of this technical field, the efficiency of 3D real-time rendering and effect meeting experience lf being influenced effect, last overall efficiency and the optimization on each platform are all technology limitations.
Wherein, virtual fitting technology can as a Typical Representative in virtual wearing technical field.In prior art, user, when choosing clothes, usually wishes to understand the arranging effect of these clothes and other clothes (may be the existing clothes of consumer, or the clothes sold of another money), or the arranging effect of these clothes and other clothings.Utilize the technological means such as virtual reality, computer vision, man-machine interaction, prior art can realize utilizing 2D image to carry out the effect of the virtual fitting of 2D.Wear because user can carry out virtually trying by data, services, user is without the need to going to dress ornament shops in person or carrying out actual wearing to assess actual fitting effects.
But, the spatial positional information low precision of the body image that traditional virtual wearing technology identifies, there is relatively large deviation in the size of virtual dress ornament, human action resolution is low, and virtual dress ornament is also difficult to accurate superposition on the correct position of body image, more be difficult to coordinate human body actual act to show virtual dress ornament true to nature, cause virtually trying to wear display effect very stiff.
And due to the restriction of two dimensional surface, 2D clothes and 2D fitting person image are just integrated by existing virtual fitting process, and its fused images used is 2D model, the effect such as space multistory sense and G-suit induction of clothes truly can not be represented.
In addition, on line, fitting room software has to pass through the artificial modeling in backstage to each model that can try on a dress and just can reach the standard grade and try on; And traditional virtually trying technology needs usually for every a clothes carries out artificial model, and clothes library model generating period is long, cause dynamically updating in real time, high in cost of production problem.
Summary of the invention
Technical matters to be solved by this invention is, provides a kind of real-time volume fitting method based on mobile terminal, improves clothes outline identification precision, represents the three-dimensional clothes effect of high fidelity on mobile terminals in real time.
For solving above technical matters, the embodiment of the present invention provides a kind of real-time volume fitting method based on mobile terminal, comprising:
By the two-dimensional image that acquisition for mobile terminal is to be tried on a dress;
After image rotation and region cutting are carried out to described two-dimensional image, carry out style registering and style matching treatment;
In conjunction with the physical trait of fitting person, in the two-dimensional image after style registering and style matching treatment, identify unique point to be tried on a dress;
According to unique point described to be tried on a dress, carry out the garment features point identification location of different style;
According to the garment features point of described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, set up 3D three-dimensional garment form;
Built-in multiple 3D clothe trial body Model on mobile terminals, and 3D three-dimensional garment form self-adaptation to be tried on a dress is merged on one of them 3D clothe trial body Model;
According to the different body parameters of 3D clothe trial body Model, the three-dimensional fitting effects that Automatic adjusument is to be tried on a dress;
Mobile terminal screen is treated the three-dimensional fitting effects tried on a dress carry out real-time 360 degree of touch-controls and represent.
Preferably, the described physical trait in conjunction with fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, comprising:
Adopt K-MEANS algorithm, the pixel treating the two-dimensional image tried on a dress carries out color segmentation, forms the polychrome figure of image to be tried on a dress;
Utilize the opening operation operator of mathematical morphology, the identification of clothes image background area and deletion are carried out to the polychrome figure of image to be tried on a dress described in generation;
Utilize the closed operation operator of mathematical morphology, the polychrome figure deleting background area identifies clothes image region to be tried on;
According to the human body features of fitting person, described clothes image region is identified the coordinate position of unique point to be tried on a dress; It is one or more that described unique point comprises in shoulder point, neckline point, neckline V location point, sleeve points outside and inner side point, armpit point, waist site, clothing angle point, train of dress clothing angle point.
Further, the described physical trait in conjunction with fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, also comprises:
In the clothes two-dimensional image of mobile terminal, show the coordinate position of described unique point, and connect adjacent unique point, form the feature contour figure of clothes.
Further, the described physical trait in conjunction with fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, also comprises:
User chooses by finger point any one unique point that mobile terminal screen shows and locks;
Mobile terminal points shift position by following the tracks of user, determines the reposition of unique point, to realize the artificial correction adjustment to characteristic point position.
Preferably, the described garment features point according to described two-dimensional image, different style, generates garment deformation coefficient, applies real-time 3D adaptive modeling algorithm on mobile terminals, set up the garment form of 3D three-dimensional, comprising:
According to current style registering classification to be tried on a dress, form a closed region by after each adjacent feature point line in described two-dimensional image, and described closed region is divided into multiple former view field automatically, forms former perspective view;
Generate a blank 3D model pinup picture, and the mapping coordinates of a 3D model corresponding to current style registering classification to be tried on a dress, generate corresponding multiple target projection regions, form target projection figure;
By linear interpolation algorithm, multiple view field in described former perspective view is projected to the corresponding region of described target projection figure, form the 3D model pinup picture of current style registering classification to be tried on a dress.
Preferably, described by linear interpolation algorithm, multiple view field in described former perspective view is projected to the corresponding region of described target projection figure, comprising:
Based on linear interpolation algorithm, convergent-divergent and/or stretching are carried out to the aphylactic map projection region in former perspective view, to realize two-dimensional image to be tried on a dress hinting obliquely to 3D model pinup picture.
Further, the described garment features point according to described two-dimensional image, different style, generates garment deformation coefficient, applies real-time 3D adaptive modeling algorithm on mobile terminals, set up the garment form of 3D three-dimensional, also comprise:
According to the relativeness information of garment features point, calculate garment deformation coefficient; It is one or more that described garment deformation coefficient comprises in sleeve length, waistline tightness degree, train of dress amplitude, garment length, train of dress length;
According to current garment style, in model bank, choose a 3D garment form corresponding with current garment style as 3D three-dimensional clothes master mould;
The three-dimensional top point set of described 3D three-dimensional clothes master mould applies the garment deformation coefficient of being correlated with, auto-adapted fitting distortion is carried out to described 3D three-dimensional clothes master mould, the 3D model after distortion is exported the final goal model for 3D three-dimensional garment form;
Described 3D model pinup picture is applied to described final goal model, realizes waiting that the solid tried on a dress in 3D three-dimensional garment form represents output.
Preferably, the described different body parameters according to 3D clothe trial body Model, the three-dimensional fitting effects that Automatic adjusument is to be tried on a dress, comprising:
According to the current body parameter needing to regulate, and the style model vertices collective database current to be tried on a dress preset, determine in described 3D three-dimensional garment form with the vertex set of the body region corresponding to the current body parameter needing to regulate;
The gravitation shape control corresponding with described body parameter is applied to described vertex set, described 3D three-dimensional garment form realizes the clothes deformation matched with described body parameter, the clothes after deformation is mapped on 3D clothe trial body Model.
Further, the described real-time volume fitting method based on mobile terminal also comprises:
By the different body parameters that user inputs, the various stances of described 3D clothe trial body Model are adjusted in real time, thus the shape of self-adaptative adjustment 3D three-dimensional garment form.
Further, the described real-time volume fitting method based on mobile terminal also comprises:
When described 3D three-dimensional garment form does not meet user self expection, style registering and style matching treatment are re-started, to generate new 3D three-dimensional garment form to the described two-dimensional image after rotation and cutting.
The real-time volume fitting method based on mobile terminal that the embodiment of the present invention provides, user can utilize mobile terminal to realize three-dimensional fitting virtual effect whenever and wherever possible, in conjunction with the physical trait of human body, identify each Important Characteristic Points of clothes, making accurately to locate clothes each several part region becomes possibility; According to the garment features point of described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, convergent-divergent, stretching can be carried out to arbitrarily shaped image, thus realize user and treat former 2D image the hinting obliquely to 3D rendering pinup picture trying on a dress captured, realize the subsides map generalization true to nature of 3D three-dimensional garment form thus; In conjunction with garment deformation coefficient, can in conjunction with the relative seat feature at the reference mark of clothes in 3D three-dimensional garment form, be out of shape with the adaptive tracing realized for certain clothes 2D figure plate shape, thus the adaptive modeling of realize target clothes 3D model exports, make have the very high real-time generation resembling the 3D three-dimensional garment form really spent to become possibility with clothes 2D picture.In addition, the present invention, according to unique point described to be tried on a dress, carries out the garment features point identification location of different style, therefore can realize trying displaying on to multiple style clothes by a small amount of 3D clothe trial body Model, shorten the construction cycle, reduce development difficulty and cost; User can treat the three-dimensional fitting effects tried on a dress and carry out real-time 360 degree of touch-controls and represent on mobile terminal screen, from the three-dimensional fitting effects of the different style clothes of all angles visual perception.
The present invention is utilized to carry out solid fitting on mobile terminals, user only need point click screen and carry out simple clothes registering and characteristic point position confirmation operation, the upper body effect really spending the three-dimensional clothes of higher 3D with clothes image in former 2D picture can be obtained, substantially reducing traditional 3D fitting room needs professional modeling teacher to be the time that every a novel clothes sets up customization 3D modeling, is specially adapted to real-time volume fitting demand when mobile phone users carries out a large amount of clothes picture browsing on the internet.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of an embodiment of the real-time volume fitting method based on mobile terminal provided by the invention.
Fig. 2 is the flow chart of steps identifying a unique point embodiment to be tried on a dress in two-dimensional image provided by the invention.
Fig. 3 is the flow chart of steps setting up an embodiment of 3D three-dimensional garment form provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
See Fig. 1, it is the flow chart of steps of an embodiment of the real-time volume fitting method based on mobile terminal provided by the invention.
In the present embodiment, the described real-time volume fitting method based on mobile terminal, mainly comprises the following steps S1 ~ step S8:
Step S1: by two dimension (2D) plane picture that acquisition for mobile terminal is to be tried on a dress.Wherein, the camera that mobile terminal carries can be utilized, clothes shown by the various sources (comprising dress ornament shops, internet, magazine etc.) at scene is taken pictures and obtains this two-dimensional image, or, this two-dimensional image can for by downloading, the mode such as to pass on obtains and is saved to the picture on mobile terminal.It should be noted that, mobile terminal can also adopt other modes to obtain the two-dimensional image comprising and need to be tried on a dress.During concrete enforcement, described mobile terminal includes but not limited to the portable Intelligent mobile equipment such as Android (Android), IOS (Apple Macintosh operating system), blackberry, blueberry, Saipan, as intelligent mobile phone terminal, panel computer, hand-held computer, palm terminal etc.
Step S2: after image rotation and region cutting are carried out to described two-dimensional image, carry out style registering and style matching treatment.Wherein, treating the fundamental purpose that the 2D plane picture tried on a dress carries out image rotation and region cutting is the angles of display that adjustment includes the 2D plane picture of clothes image, so that orient each key position to be tried on a dress in 2D plane picture more exactly, facilitate style registering and style coupling.To the 2D plane picture cut, according to different style (the different styles as spring, summer, autumn, winter), or clothes classification (T-shirt, one-piece dress, lower part of the body skirt, jeans, shirt etc.), manually chooses and specifies style or direct registering; Wherein, the one-piece dress in clothes classification also comprises long sleeves, short, the type such as sleeveless, longuette.
Step S3: in conjunction with the physical trait of fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment.
During concrete enforcement, described step S3 can by identifying garment features point at running of mobile terminal related algorithm automatically, and meanwhile, alternatively, user manually can also adjust the position of the unique point to be tried on a dress in two-dimensional image.
Wherein, when adopting by automatically identifying garment features point at running of mobile terminal related algorithm, preferably, as shown in Figure 2, described step S3 mainly comprises the following steps:
Step S31: adopt K-MEANS algorithm, the pixel treating the two-dimensional image tried on a dress carries out color segmentation, forms the polychrome figure of image to be tried on a dress.Preferably, described polychrome figure is four chromatic graphs.
Step S32: the opening operation operator utilizing mathematical morphology (MathematicalMorphology), carries out the identification of clothes image background area and deletion to the polychrome figure of image to be tried on a dress described in generation;
Step S33: the closed operation operator utilizing mathematical morphology, the polychrome figure deleting background area identifies clothes image region to be tried on.
Step S34: according to the human body features of fitting person, described clothes image region is identified the coordinate position of unique point to be tried on a dress; It is one or more that described unique point comprises in shoulder point, neckline point, neckline V location point, sleeve points outside and inner side point, armpit point, waist site, clothing angle point, train of dress clothing angle point.
The embodiment of the present invention proposes a kind of clothes outline identification algorithm based on mathematical morphology, can go out clothes object in 2D clothes picture by Fast Segmentation, and can fast, be accurately identified clothes profile.The image processing of mathematical morphology shows as a kind of neighborhood operation form, a kind of specifically defined neighborhood is referred to as " structural element " (StructureElement), on each pixel location, specific logical operation is carried out in its region corresponding with binary picture, and the result of logical operation is the corresponding pixel of output image.The effect of mathematical morphological operation depends on the character of the size of structural element, content and logical operation.Common morphology operations has corrosion (Erosion) and expands (Dilation).Given bianry image I (x, y) and the two-value template T (i, j) as structural element, then can carry out the corrosion of being correlated with and dilation operation.In the present embodiment, the calculating process of opening operation operator is the process of first corroding rear expansion, for eliminating wisp, while the border of very thin some place separating objects, level and smooth larger object and its area of not obvious change; Closed operation operator is the process of post-etching of first expanding, for minuscule hole in filler body, connect adjacent object, smoothly its border while and its area of not obvious change.Therefore, by above-mentioned steps S32 and step S33, can be implemented in and delete on the polychrome figure of background area, accurately identify clothes image region to be tried on.
In the present embodiment, when utilizing human body features's information to carry out positioning feature point to clothes image region, described step S34 mainly identifies the coordinate position of following garment features point, includes but not limited to:
A. left and right shoulder point
B. left and right neckline point
C. neckline V location point
D. left and right sleeve points outside and inner side point (only for there being sleeve clothes)
E. left and right armpit point
F. left and right waist site
G. left and right clothing angle point (such as to non-skirt class clothes)
H. left and right train of dress clothing angle point (refering in particular to skirt class)
Further, described step S3 also comprises:
Step S35: the coordinate position showing described unique point in the clothes two-dimensional image of mobile terminal, and connect adjacent unique point, form the feature contour figure of clothes.
The method identifying each Important Characteristic Points of clothes in conjunction with human body features that the embodiment of the present invention proposes, makes each several part region of accurately locating clothes become possibility.
Alternatively, described step S3 also allows user manually to adjust the position of the unique point to be tried on a dress in two-dimensional image simultaneously.During concrete enforcement, user chooses by finger point any one unique point that mobile terminal screen shows and locks; Mobile terminal points shift position by following the tracks of user, determines the reposition of unique point, to realize the artificial correction adjustment to characteristic point position.
Step S4: according to unique point described to be tried on a dress, carries out the garment features point identification location of different style.
Step S5: according to the garment features point of described two-dimensional image, different style, generates garment deformation coefficient, applies real-time 3D adaptive modeling algorithm on mobile terminals, set up 3D three-dimensional garment form.
Referring to Fig. 3, it is the flow chart of steps setting up an embodiment of 3D three-dimensional garment form provided by the invention.
Preferably, a kind of implementation of described step S5 mainly comprises the following steps:
Step S51: according to current style registering classification to be tried on a dress, a closed region is formed by after each adjacent feature point line in described two-dimensional image, and described closed region is divided into N (N >=1) Ge Yuan view field (O-P-AREA) automatically, forms former perspective view;
Step S52: generate a blank 3D model pinup picture, and the mapping coordinates of a 3D model corresponding to current style registering classification to be tried on a dress, generate the corresponding individual target projection region (D-P-AREA) of N (N >=1), form target projection figure;
Step S53: by linear interpolation algorithm, projects to the corresponding region of described target projection figure by N (N >=1) individual view field in described former perspective view, forms the 3D model pinup picture of current style registering classification to be tried on a dress.
Wherein, described step S53 comprises: based on linear interpolation algorithm, carries out convergent-divergent and/or stretching to the aphylactic map projection region in former perspective view, to realize two-dimensional image to be tried on a dress hinting obliquely to 3D model pinup picture.Based on the algorithm process of linear interpolation, convergent-divergent or stretching can be carried out to arbitrarily shaped image, thus realize the former 2D image of clothes and hint obliquely at process to 3D rendering pinup picture, realize the subsides map generalization true to nature of 3D three-dimensional garment form thus.
Further, described step S5 also comprises:
Step S54: according to the relativeness information of garment features point, calculates garment deformation coefficient; Preferably, what described garment deformation coefficient included but not limited in sleeve length, waistline tightness degree, train of dress amplitude, garment length, train of dress length is one or more.
Step S55: according to current garment style, chooses a 3D garment form corresponding with current garment style as 3D three-dimensional clothes master mould in model bank;
Step S56: apply the garment deformation coefficient of being correlated with on the three-dimensional top point set of described 3D three-dimensional clothes master mould, auto-adapted fitting distortion is carried out to described 3D three-dimensional clothes master mould, the 3D model after distortion is exported the final goal model for 3D three-dimensional garment form;
Step S57: described 3D model pinup picture is applied to described final goal model, realizes waiting that the solid tried on a dress in 3D three-dimensional garment form represents output.
In the present embodiment, the described real-time volume fitting method based on mobile terminal also comprises:
When described 3D three-dimensional garment form does not meet user self expection, style registering and style matching treatment are re-started to the described two-dimensional image after rotation and cutting, to generate new 3D three-dimensional garment form, until obtain the 3D three-dimensional garment form meeting user's expection.
Step S6: built-in multiple 3D clothe trial body Model on mobile terminals, and 3D three-dimensional garment form self-adaptation to be tried on a dress is merged on one of them 3D clothe trial body Model.Particularly, 3D clothe trial body Model comprises the overall fusion of female model's model, or, the overall fusion of the special model of man model, and by arranging the different body parameters of model, export the three-dimensional clothes effect of 3D in real time.
Step S7: according to the different body parameters of 3D clothe trial body Model, the three-dimensional fitting effects that Automatic adjusument is to be tried on a dress;
Particularly, 3D three-dimensional garment form merges after to 3D clothe trial body Model, can adjust, comprising the different stature parameters of 3D clothe trial body Model (model):
1. input the height parameter adjustment of 3D model, scope is 150-180cm;
2. input the chest measurement parameter adjustment of 3D model, scope is 60-120cm;
3. input the waistline parameter adjustment of 3D model, scope is 60-110cm;
4. input the hip circumference parameter adjustment of 3D model, scope is 70-120cm;
5. input the shoulder breadth parameter adjustment of 3D model, scope is 50-100cm;
6. input the upper-arm circumference parameter adjustment of 3D model, scope is 20-50cm;
7. input the thigh parameter adjustment of 3D model, scope is 30-80cm.
Thus realize by above-mentioned parameter, Automatic adjusument be corresponding 3D three-dimensional garment form try upper body effect on.
During concrete enforcement, described step S7 comprises:
Step S71: according to the current body parameter (as chest measurement/hip circumference) needing to regulate, and the style model vertices collective database current to be tried on a dress preset, determine in described 3D three-dimensional garment form with the vertex set of the body region (chest/hip circumference as corresponding in clothes) corresponding to the current body parameter needing to regulate;
Step S72: apply the gravitation shape control corresponding with described body parameter to described vertex set, described 3D three-dimensional garment form realizes the clothes deformation matched with described body parameter, is mapped to by the clothes after deformation on 3D clothe trial body Model.
Step S8: treat the three-dimensional fitting effects tried on a dress and carry out real-time 360 degree of touch-controls and represent on mobile terminal screen.Such as, the left rotation and right rotation of 3D three-dimensional garment form, upwards, slide downward, realize the animation effect of three-dimensional garment form modeling.
In the present embodiment, the described real-time volume fitting method based on mobile terminal also comprises:
By the different body parameters that user inputs, the various stances of described 3D clothe trial body Model are adjusted in real time, thus the shape of self-adaptative adjustment 3D three-dimensional garment form.
The present embodiment can carry out the upper body effect that real-time 360 degree of touch-controls represent clothes 3D model on mobile terminal screen, control 3D three-dimensional garment form carries out simple POSE effect, therefore, when user can fit on mobile terminals, can adjust the various postures merging 3D clothe trial body Model to be tried on a dress in real time, promote Consumer's Experience.
The real-time volume fitting method based on mobile terminal that the embodiment of the present invention provides, user can utilize mobile terminal to realize three-dimensional fitting virtual effect whenever and wherever possible, in conjunction with the physical trait of human body, identify each Important Characteristic Points of clothes, making accurately to locate clothes each several part region becomes possibility; According to the garment features point of described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, convergent-divergent, stretching can be carried out to arbitrarily shaped image, thus realize user and treat former 2D image the hinting obliquely to 3D rendering pinup picture trying on a dress captured, realize the subsides map generalization true to nature of 3D three-dimensional garment form thus; In conjunction with garment deformation coefficient, can in conjunction with the relative seat feature at the reference mark of clothes in 3D three-dimensional garment form, be out of shape with the adaptive tracing realized for certain clothes 2D figure plate shape, thus the adaptive modeling of realize target clothes 3D model exports, make have the very high real-time generation resembling the 3D three-dimensional garment form really spent to become possibility with clothes 2D picture.
In addition, the present invention, according to unique point described to be tried on a dress, carries out the garment features point identification location of different style, therefore can realize trying displaying on to multiple style clothes by a small amount of 3D clothe trial body Model, shorten the construction cycle, reduce development difficulty and cost; User can treat the three-dimensional fitting effects tried on a dress and carry out real-time 360 degree of touch-controls and represent on mobile terminal screen, from the three-dimensional fitting effects of the different style clothes of all angles visual perception.
The present invention is utilized to carry out solid fitting on mobile terminals, user only need point click screen and carry out simple clothes registering and characteristic point position confirmation operation, the upper body effect really spending the three-dimensional clothes of higher 3D with clothes image in former 2D picture can be obtained, substantially reducing traditional 3D fitting room needs professional modeling teacher to be the time that every a novel clothes sets up customization 3D modeling, is specially adapted to real-time volume fitting demand when mobile phone users carries out a large amount of clothes picture browsing on the internet.
It should be noted that, in flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium or embedded microprocessor, for instruction execution system, device or equipment are (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch also perform the system of instruction) use, or in conjunction with these instruction execution systems, device or equipment and use.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, when implemented in hardware, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (10)

1., based on a real-time volume fitting method for mobile terminal, it is characterized in that, comprising:
By the two-dimensional image that acquisition for mobile terminal is to be tried on a dress;
After image rotation and region cutting are carried out to described two-dimensional image, carry out style registering and style matching treatment;
In conjunction with the physical trait of fitting person, in the two-dimensional image after style registering and style matching treatment, identify unique point to be tried on a dress;
According to unique point described to be tried on a dress, carry out the garment features point identification location of different style;
According to the garment features point of described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, set up 3D three-dimensional garment form;
Built-in multiple 3D clothe trial body Model on mobile terminals, and 3D three-dimensional garment form self-adaptation to be tried on a dress is merged on one of them 3D clothe trial body Model;
According to the different body parameters of 3D clothe trial body Model, the three-dimensional fitting effects that Automatic adjusument is to be tried on a dress;
Mobile terminal screen is treated the three-dimensional fitting effects tried on a dress carry out real-time 360 degree of touch-controls and represent.
2., as claimed in claim 1 based on the real-time volume fitting method of mobile terminal, it is characterized in that the described physical trait in conjunction with fitting person identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, comprising:
Adopt K-MEANS algorithm, the pixel treating the two-dimensional image tried on a dress carries out color segmentation, forms the polychrome figure of image to be tried on a dress;
Utilize the opening operation operator of mathematical morphology, the identification of clothes image background area and deletion are carried out to the polychrome figure of image to be tried on a dress described in generation;
Utilize the closed operation operator of mathematical morphology, the polychrome figure deleting background area identifies clothes image region to be tried on;
According to the human body features of fitting person, described clothes image region is identified the coordinate position of unique point to be tried on a dress; It is one or more that described unique point comprises in shoulder point, neckline point, neckline V location point, sleeve points outside and inner side point, armpit point, waist site, clothing angle point, train of dress clothing angle point.
3. as claimed in claim 2 based on the real-time volume fitting method of mobile terminal, it is characterized in that, the described physical trait in conjunction with fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, also comprises:
In the clothes two-dimensional image of mobile terminal, show the coordinate position of described unique point, and connect adjacent unique point, form the feature contour figure of clothes.
4. as claimed in claim 2 based on the real-time volume fitting method of mobile terminal, it is characterized in that, the described physical trait in conjunction with fitting person, identifies unique point to be tried on a dress in the two-dimensional image after style registering and style matching treatment, also comprises:
User chooses by finger point any one unique point that mobile terminal screen shows and locks;
Mobile terminal points shift position by following the tracks of user, determines the reposition of unique point, to realize the artificial correction adjustment to characteristic point position.
5. as claimed in claim 1 based on the real-time volume fitting method of mobile terminal, it is characterized in that, the described garment features point according to described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, set up the garment form of 3D three-dimensional, comprising:
According to current style registering classification to be tried on a dress, form a closed region by after each adjacent feature point line in described two-dimensional image, and described closed region is divided into multiple former view field automatically, forms former perspective view;
Generate a blank 3D model pinup picture, and the mapping coordinates of a 3D model corresponding to current style registering classification to be tried on a dress, generate corresponding multiple target projection regions, form target projection figure;
By linear interpolation algorithm, multiple view field in described former perspective view is projected to the corresponding region of described target projection figure, form the 3D model pinup picture of current style registering classification to be tried on a dress.
6., as claimed in claim 5 based on the real-time volume fitting method of mobile terminal, it is characterized in that, described by linear interpolation algorithm, multiple view field in described former perspective view is projected to the corresponding region of described target projection figure, comprising:
Based on linear interpolation algorithm, convergent-divergent and/or stretching are carried out to the aphylactic map projection region in former perspective view, to realize two-dimensional image to be tried on a dress hinting obliquely to 3D model pinup picture.
7. as claimed in claim 5 based on the real-time volume fitting method of mobile terminal, it is characterized in that, the described garment features point according to described two-dimensional image, different style, generate garment deformation coefficient, apply real-time 3D adaptive modeling algorithm on mobile terminals, set up the garment form of 3D three-dimensional, also comprise:
According to the relativeness information of garment features point, calculate garment deformation coefficient; It is one or more that described garment deformation coefficient comprises in sleeve length, waistline tightness degree, train of dress amplitude, garment length, train of dress length;
According to current garment style, in model bank, choose a 3D garment form corresponding with current garment style as 3D three-dimensional clothes master mould;
The three-dimensional top point set of described 3D three-dimensional clothes master mould applies the garment deformation coefficient of being correlated with, auto-adapted fitting distortion is carried out to described 3D three-dimensional clothes master mould, the 3D model after distortion is exported the final goal model for 3D three-dimensional garment form;
Described 3D model pinup picture is applied to described final goal model, realizes waiting that the solid tried on a dress in 3D three-dimensional garment form represents output.
8., as claimed in claim 1 based on the real-time volume fitting method of mobile terminal, it is characterized in that, the described different body parameters according to 3D clothe trial body Model, the three-dimensional fitting effects that Automatic adjusument is to be tried on a dress, comprising:
According to the current body parameter needing to regulate, and the style model vertices collective database current to be tried on a dress preset, determine in described 3D three-dimensional garment form with the vertex set of the body region corresponding to the current body parameter needing to regulate;
The gravitation shape control corresponding with described body parameter is applied to described vertex set, described 3D three-dimensional garment form realizes the clothes deformation matched with described body parameter, the clothes after deformation is mapped on 3D clothe trial body Model.
9. the real-time volume fitting method based on mobile terminal as described in any one of claim 1 ~ 8, it is characterized in that, described method also comprises:
By the different body parameters that user inputs, the various stances of described 3D clothe trial body Model are adjusted in real time, thus the shape of self-adaptative adjustment 3D three-dimensional garment form.
10., as claimed in claim 1 based on the real-time volume fitting method of mobile terminal, it is characterized in that, also comprise:
When described 3D three-dimensional garment form does not meet user self expection, style registering and style matching treatment are re-started, to generate new 3D three-dimensional garment form to the described two-dimensional image after rotation and cutting.
CN201510685088.XA 2015-10-20 2015-10-20 A kind of real-time volume fitting method based on mobile terminal Active CN105354876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510685088.XA CN105354876B (en) 2015-10-20 2015-10-20 A kind of real-time volume fitting method based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510685088.XA CN105354876B (en) 2015-10-20 2015-10-20 A kind of real-time volume fitting method based on mobile terminal

Publications (2)

Publication Number Publication Date
CN105354876A true CN105354876A (en) 2016-02-24
CN105354876B CN105354876B (en) 2018-10-09

Family

ID=55330843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510685088.XA Active CN105354876B (en) 2015-10-20 2015-10-20 A kind of real-time volume fitting method based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105354876B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913496A (en) * 2016-04-06 2016-08-31 成都景和千城科技有限公司 Method and system for fast conversion of real clothes to three-dimensional virtual clothes
CN106072956A (en) * 2016-06-20 2016-11-09 北京理工大学 A kind of dress designing method and device
CN106373182A (en) * 2016-08-18 2017-02-01 苏州丽多数字科技有限公司 Augmented reality-based human face interaction entertainment method
CN106485572A (en) * 2016-10-12 2017-03-08 大连文森特软件科技有限公司 A kind of based on video image characteristic point technology of identification and the on-line shopping system of virtual reality technology
CN106657937A (en) * 2017-03-06 2017-05-10 柳州智视科技有限公司 Virtual clothes color changing device, and implementation method thereof
CN107122774A (en) * 2017-03-28 2017-09-01 武汉斗鱼网络科技有限公司 A kind of adaptive chart pasting method moved with key point in image and system
CN107784567A (en) * 2017-12-08 2018-03-09 快创科技(大连)有限公司 Purchase experiences system based on augmented reality
CN107833109A (en) * 2017-11-27 2018-03-23 赵明 A kind of holographic matching process and system of wisdom retail
CN108010134A (en) * 2017-11-29 2018-05-08 湘潭大学 A kind of real-time three-dimensional virtual fit method based on mobile terminal
CN108038761A (en) * 2017-12-08 2018-05-15 快创科技(大连)有限公司 Shopping Propagate and management system based on AR technologies
CN108181987A (en) * 2017-11-23 2018-06-19 中国计量大学 A kind of textile cognitive method based on virtual reality
CN108346171A (en) * 2017-01-25 2018-07-31 阿里巴巴集团控股有限公司 A kind of image processing method, device, equipment and computer storage media
CN109035259A (en) * 2018-07-23 2018-12-18 西安建筑科技大学 A kind of three-dimensional multi-angle fitting device and fitting method
CN110210501A (en) * 2019-06-11 2019-09-06 北京字节跳动网络技术有限公司 Virtual objects generation method, electronic equipment and computer readable storage medium
CN110246001A (en) * 2019-04-24 2019-09-17 维沃移动通信有限公司 A kind of image display method and terminal device
WO2019228144A1 (en) * 2018-05-31 2019-12-05 北京京东尚科信息技术有限公司 Image processing method and device
CN110610537A (en) * 2019-09-18 2019-12-24 深圳普罗米修斯视觉技术有限公司 Clothes image display method and device, storage medium and terminal equipment
CN111476912A (en) * 2020-06-28 2020-07-31 恒信东方文化股份有限公司 Image matching method and system
CN111742350A (en) * 2018-02-21 2020-10-02 株式会社东芝 Virtual fitting system, virtual fitting method, virtual fitting program, information processing device, and learning data
CN112685649A (en) * 2021-01-25 2021-04-20 深圳创维-Rgb电子有限公司 Clothing recommendation method and device, storage medium and terminal equipment
CN114663552A (en) * 2022-05-25 2022-06-24 武汉纺织大学 Virtual fitting method based on 2D image
CN115661354A (en) * 2022-11-07 2023-01-31 深圳市十二篮服饰有限公司 3D intelligent fitting model system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268288A1 (en) * 2004-03-24 2007-11-22 Christian Duriez Method and Device for the Interactive Simulation of Contact Between Objects
CN101082765A (en) * 2006-06-01 2007-12-05 高宏 Three-dimensional portrait photograph system and realizing method thereof
CN102509349A (en) * 2011-09-27 2012-06-20 深圳市朵唯志远科技有限公司 Fitting method based on mobile terminal, fitting device based on mobile terminal and mobile terminal
CN103456042A (en) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 Method and system for generation of human body models and clothes models, fitting method and fitting system
CN104036532A (en) * 2014-05-29 2014-09-10 浙江工业大学 Clothes making method based on three-dimensional to two-dimensional clothes pattern seamless mapping
CN104346827A (en) * 2013-07-24 2015-02-11 深圳市华创振新科技发展有限公司 Rapid 3D clothes modeling method for common users

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268288A1 (en) * 2004-03-24 2007-11-22 Christian Duriez Method and Device for the Interactive Simulation of Contact Between Objects
CN101082765A (en) * 2006-06-01 2007-12-05 高宏 Three-dimensional portrait photograph system and realizing method thereof
CN102509349A (en) * 2011-09-27 2012-06-20 深圳市朵唯志远科技有限公司 Fitting method based on mobile terminal, fitting device based on mobile terminal and mobile terminal
CN103456042A (en) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 Method and system for generation of human body models and clothes models, fitting method and fitting system
CN104346827A (en) * 2013-07-24 2015-02-11 深圳市华创振新科技发展有限公司 Rapid 3D clothes modeling method for common users
CN104036532A (en) * 2014-05-29 2014-09-10 浙江工业大学 Clothes making method based on three-dimensional to two-dimensional clothes pattern seamless mapping

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李童: "基于移动终端的虚拟试衣技术研究", 《万方数据知识服务平台》 *
杨天虹: "基于纹理映射的三维服装款式着装效果研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913496B (en) * 2016-04-06 2018-09-28 成都景和千城科技有限公司 It is a kind of by true dress ornament rapid translating be three-dimensional dress ornament method and system
CN105913496A (en) * 2016-04-06 2016-08-31 成都景和千城科技有限公司 Method and system for fast conversion of real clothes to three-dimensional virtual clothes
CN106072956A (en) * 2016-06-20 2016-11-09 北京理工大学 A kind of dress designing method and device
CN106373182A (en) * 2016-08-18 2017-02-01 苏州丽多数字科技有限公司 Augmented reality-based human face interaction entertainment method
CN106485572A (en) * 2016-10-12 2017-03-08 大连文森特软件科技有限公司 A kind of based on video image characteristic point technology of identification and the on-line shopping system of virtual reality technology
CN108346171B (en) * 2017-01-25 2021-12-10 斑马智行网络(香港)有限公司 Image processing method, device, equipment and computer storage medium
CN108346171A (en) * 2017-01-25 2018-07-31 阿里巴巴集团控股有限公司 A kind of image processing method, device, equipment and computer storage media
CN106657937A (en) * 2017-03-06 2017-05-10 柳州智视科技有限公司 Virtual clothes color changing device, and implementation method thereof
CN107122774A (en) * 2017-03-28 2017-09-01 武汉斗鱼网络科技有限公司 A kind of adaptive chart pasting method moved with key point in image and system
CN107122774B (en) * 2017-03-28 2019-12-03 武汉斗鱼网络科技有限公司 A kind of adaptive chart pasting method and system mobile with key point in image
CN108181987A (en) * 2017-11-23 2018-06-19 中国计量大学 A kind of textile cognitive method based on virtual reality
CN107833109A (en) * 2017-11-27 2018-03-23 赵明 A kind of holographic matching process and system of wisdom retail
CN108010134A (en) * 2017-11-29 2018-05-08 湘潭大学 A kind of real-time three-dimensional virtual fit method based on mobile terminal
CN108038761A (en) * 2017-12-08 2018-05-15 快创科技(大连)有限公司 Shopping Propagate and management system based on AR technologies
CN107784567A (en) * 2017-12-08 2018-03-09 快创科技(大连)有限公司 Purchase experiences system based on augmented reality
CN111742350A (en) * 2018-02-21 2020-10-02 株式会社东芝 Virtual fitting system, virtual fitting method, virtual fitting program, information processing device, and learning data
CN110555903B (en) * 2018-05-31 2023-06-23 北京京东尚科信息技术有限公司 Image processing method and device
US11455773B2 (en) 2018-05-31 2022-09-27 Beijing Jingdong Shangke Information Technology Co., Ltd. Image processing method and device
WO2019228144A1 (en) * 2018-05-31 2019-12-05 北京京东尚科信息技术有限公司 Image processing method and device
CN110555903A (en) * 2018-05-31 2019-12-10 北京京东尚科信息技术有限公司 Image processing method and device
CN109035259B (en) * 2018-07-23 2021-06-29 西安建筑科技大学 Three-dimensional multi-angle fitting device and fitting method
CN109035259A (en) * 2018-07-23 2018-12-18 西安建筑科技大学 A kind of three-dimensional multi-angle fitting device and fitting method
CN110246001A (en) * 2019-04-24 2019-09-17 维沃移动通信有限公司 A kind of image display method and terminal device
CN110210501B (en) * 2019-06-11 2021-06-18 北京字节跳动网络技术有限公司 Virtual object generation method, electronic device and computer-readable storage medium
CN110210501A (en) * 2019-06-11 2019-09-06 北京字节跳动网络技术有限公司 Virtual objects generation method, electronic equipment and computer readable storage medium
CN110610537A (en) * 2019-09-18 2019-12-24 深圳普罗米修斯视觉技术有限公司 Clothes image display method and device, storage medium and terminal equipment
CN111476912B (en) * 2020-06-28 2020-09-29 恒信东方文化股份有限公司 Image matching method and system
CN111476912A (en) * 2020-06-28 2020-07-31 恒信东方文化股份有限公司 Image matching method and system
CN112685649A (en) * 2021-01-25 2021-04-20 深圳创维-Rgb电子有限公司 Clothing recommendation method and device, storage medium and terminal equipment
CN114663552A (en) * 2022-05-25 2022-06-24 武汉纺织大学 Virtual fitting method based on 2D image
CN114663552B (en) * 2022-05-25 2022-08-16 武汉纺织大学 Virtual fitting method based on 2D image
CN115661354A (en) * 2022-11-07 2023-01-31 深圳市十二篮服饰有限公司 3D intelligent fitting model system

Also Published As

Publication number Publication date
CN105354876B (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN105354876A (en) Mobile terminal based real-time 3D fitting method
Wang et al. Learning a shared shape space for multimodal garment design
Yang et al. Physics-inspired garment recovery from a single-view image
US11961200B2 (en) Method and computer program product for producing 3 dimensional model data of a garment
CN110807836B (en) Three-dimensional face model generation method, device, equipment and medium
CN108305312B (en) Method and device for generating 3D virtual image
Robson et al. Context-aware garment modeling from sketches
Starck et al. Model-based multiple view reconstruction of people
CN107507216A (en) The replacement method of regional area, device and storage medium in image
CN109801380A (en) A kind of method, apparatus of virtual fitting, storage medium and computer equipment
KR20140033088A (en) Generation of avatar reflecting player appearance
Zhong et al. Towards practical sketch-based 3d shape generation: The role of professional sketches
Li et al. In-home application (App) for 3D virtual garment fitting dressing room
US20150269759A1 (en) Image processing apparatus, image processing system, and image processing method
Wenninger et al. Realistic virtual humans from smartphone videos
Thalmann et al. Modeling of populations
CN105913496B (en) It is a kind of by true dress ornament rapid translating be three-dimensional dress ornament method and system
Zheng et al. Image-based clothes changing system
KR20230085931A (en) Method and system for extracting color from face images
CN114693570A (en) Human body model image fusion processing method, device and storage medium
CN109166172B (en) Clothing model construction method and device, server and storage medium
JP2024506170A (en) Methods, electronic devices, and programs for forming personalized 3D head and face models
Deng et al. Interactive modeling of lofted shapes from a single image
CN106909904A (en) It is a kind of based on the face front method that can learn Deformation Field
CN108921933A (en) A kind of true dress ornament tries method and apparatus on

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant