WO2015024397A1 - 一种处理虚拟试衣模特图像的方法和装置 - Google Patents
一种处理虚拟试衣模特图像的方法和装置 Download PDFInfo
- Publication number
- WO2015024397A1 WO2015024397A1 PCT/CN2014/077189 CN2014077189W WO2015024397A1 WO 2015024397 A1 WO2015024397 A1 WO 2015024397A1 CN 2014077189 W CN2014077189 W CN 2014077189W WO 2015024397 A1 WO2015024397 A1 WO 2015024397A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- skin color
- virtual fitting
- fitting model
- average value
- model image
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/40—Analysis of texture
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/10—Texturing; Colouring; Generation of textures or colours
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
- G06T19/20—Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/16—Cloth
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2215/00—Indexing scheme for image rendering
- G06T2215/16—Using real world measurements to influence rendering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2004—Aligning objects, relative positioning of parts
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2219/00—Indexing scheme for manipulating 3D models or images for computer graphics
- G06T2219/20—Indexing scheme for editing of 3D models
- G06T2219/2012—Colour editing, changing, or manipulating; Use of colour codes
Definitions
- the present invention relates to a method and apparatus for processing a virtual fitting model image. Background technique
- Virtual fitting is the use of computer technology to allow virtual models to replace the real users to try on the clothes sold online.
- the effect of the virtual models to try on them is to form a reference for users to purchase online clothing, which is convenient for users to purchase suitable clothing.
- the current virtual fitting scheme mainly utilizes a virtual fitting model in the gallery, and the user selects a virtual fitting model and clothes so that the garment can be selected by the effect of the model wearing the garment. Summary of the invention
- the invention provides a method and a device for processing an image of a virtual fitting model, which helps to make the fitting effect of the virtual fitting model closer to the fitting effect of the user himself.
- a method of processing a virtual fitting model image is provided.
- the method for processing a virtual fitting model image of the present invention includes: determining an average value of a human skin color of a preselected area in a reference image, and calculating a ratio obtained by dividing an average value of the skin color of the human body by an average value of a skin color of the virtual fitting model image; Each pixel value of the body region in the virtual fitting model image is multiplied by the ratio, and the multiplied result is used as a pixel value of the body region in the virtual fitting model image.
- G, B represent the red, green, and blue component values of the pixel, respectively.
- the method further comprises: calculating an average value of the skin color of the virtual fitting model image.
- the method before the step of determining an average value of the human skin color of the preselected area in the reference image, the method further includes: receiving information for determining a preselected area in the reference image.
- the apparatus for processing a virtual fitting model image includes: a first calculating module, configured to determine an average value of a human skin color of a preselected area in the reference image; and a second calculating module, configured to calculate the average value of the skin color of the human body divided by the virtual a ratio obtained by averaging the skin color of the model image of the fitting model; a third calculating module, configured to multiply each pixel value of the body region in the virtual fitting model image by the ratio; and an output module, configured to output the processed A virtual fitting model image, the pixel value of the body region in the virtual fitting model image is a multiplication result of the third calculation module.
- the first calculating module is further configured to: determine a set of pixels in the face region whose color belongs to the skin color range; use a color average value of all pixels in the set of the pixels as a human body in a preselected region in the reference image Average skin tone.
- G, B represent the red, green, and blue component values of the pixel, respectively.
- the first calculating module is further configured to: calculate a skin color average value of the virtual fitting model image.
- a receiving module is further configured to: receive information for determining a preselected area in the reference image.
- FIG. 1 is a schematic diagram of main steps of a method for processing a virtual fitting model image according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of circled a face region on a photo according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a pixel belonging to a skin color range in a face image related to an embodiment of the present invention
- FIG. 4 is a schematic view of a virtual fitting model according to an embodiment of the present invention.
- FIG. 5 is a schematic view of a virtual fitting model after adjusting a skin color according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of the basic components of an apparatus for processing a virtual fitting model image in accordance with an embodiment of the present invention. detailed description
- FIG. 1 is a schematic diagram of the main steps of a method of processing a virtual fitting model image in accordance with an embodiment of the present invention. As shown in FIG. 1, the method may be performed by a server related to e-commerce, and mainly includes the following steps: Step S1 1: determining an average skin color of a preselected area in the reference image.
- the reference image is generally a photo of the user himself or herself provided by the user through a terminal device such as a personal computer to the server, or may be a partial portion of the photo taken by the user, the portion being a skin area on the portrait. If the reference image is a photo of a human face, since there may be some pixels in the background that are close to the skin, the user is required to select a face region in the photo, and the photo uploaded to the server should be done for the face region.
- a selected photograph such as shown in FIG. 2, is a schematic diagram of circled a face region on a photograph according to an embodiment of the present invention. The user circles the face range 21 on the photo 20 and then uploads the photo 20 to the server.
- FIG. 3 is a schematic diagram of pixels belonging to a skin color range in a face image related to an embodiment of the present invention.
- the human face is not completely skin, and only a part of the pixels in the face image 30 are pixels belonging to the skin color range. Therefore, it is necessary to first determine a set of pixels in the face region whose colors belong to the skin color range, and then use the average value of the colors of all the pixels in the set of pixels as the average value of the human skin color of the preselected region in the reference image.
- the skin color average of the pixels in the collection can be calculated according to the following formula:
- R, G, B represent the red, green, and blue component values of the pixels in the set
- R avg , G avg , and B avg respectively represent the average of the red component, the green component, and the blue component of the pixels in the set.
- Value; N represents the number of pixels in the collection.
- Step S12 Calculate the skin color average value of the virtual fitting model image. If the skin color average of each image in the virtual fitting model gallery has been recorded in the server, this step can be omitted.
- the skin color average is calculated in a similar manner to the skin color average of the pixels in the above set, but the pixels belonging to the skin color range of the virtual fitting model image should be used as the elements of the set.
- Step S13 Calculate the ratio obtained by dividing the average value of the human skin color determined in step S11 by the average value of the skin color of the virtual fitting model image.
- Step S14 Multiply each pixel value of the body region in the virtual fitting model image by step The ratio obtained in step S 1 3 . The calculation of this step obtains the adjusted value of the color of each pixel of the body region in the virtual fitting model image.
- Step S1 5 output the virtual fitting model image as the pixel value of the body region in the virtual fitting model image, and in the output virtual fitting model image, each pixel value of the body region should be The adjusted value in step S1 4.
- step S13 the above ratio can be calculated according to the following formula:
- step S14 specifically, it can be calculated according to the following formula:
- G avg . head , B avg _ head respectively represent the average of the red, green, and blue components of the skin color, that is, the skin color in the avatar, R av g-body, G a vg-body B avg-body respectively represent the virtual fitting model The average of the red, green, and blue components of the skin tone of the image; R b . Dy _ b£;f . Re , G body-bef ore , B b . Dy _ bef . Re denotes the initial value of the red, green, and blue components of the skin color of the virtual fitting model image, respectively, R b .
- FIG. 4 is a schematic view of a virtual fitting model relating to an embodiment of the present invention
- FIG. 5 is a color adjustment according to an embodiment of the present invention.
- a schematic diagram of the virtual fitting model afterwards. The user's avatar is simultaneously shown in FIGS. 4 and 5.
- the virtual fitting model after adjusting the skin color in the picture 50 is compared with the original virtual fitting model in the picture 40. The skin color is closer to the face color.
- FIG. 6 A schematic diagram of a basic component of an apparatus for processing a virtual fitting model image, as shown in FIG. 6, the apparatus 60 for processing a virtual fitting model image mainly includes a first calculating module 61, a second calculating module 62, and a third The calculation module 63 and the output module 64.
- the first calculation module 61 is configured to determine a human skin color average value of the preselected area in the reference image; the second calculation module 62 is configured to calculate a ratio of the skin color average value divided by the skin color average value of the virtual fitting model image; The module 63 is configured to multiply each pixel value of the body region in the virtual fitting model image by the above ratio; the output module 64 is configured to output the processed virtual fitting model image, the pixel value of the body region in the virtual fitting model image It is the result of multiplication by the third calculation module 63.
- the first calculation module 61 is further configured to: determine a set of pixels in the face region whose colors belong to the skin color range; and use the average value of the colors of all the pixels in the set of the pixels as the average value of the human skin color of the preselected region in the reference image.
- the first calculation module 61 is further configured to determine pixels in the face region that belong to the skin color range according to the following conditions: Y>0.35 and R>0.39G>0.15 and B>0.09 and Vl-V2>0.07 and R/G ⁇ 1.8 and R/B ⁇ 3.0 and G/B ⁇ 3.0 and R>G and R>B. among them:
- the first calculation module 61 is further configured to: calculate an average skin color of the virtual fitting model image.
- the apparatus 60 for processing a virtual fitting model image may further include a receiving module (not shown) for receiving information for determining a preselected area in the reference image. According to the technical solution of the embodiment of the present invention, by adjusting the color of the body region in the virtual fitting model image according to the color of the image of the face or the human body provided by the user, the skin color of the virtual fitting model and the skin of the user can be made.
- the colors are close to each other, which helps to make the fitting effect of the virtual fitting model closer to the user's own fitting effect.
- the basic principles of the present invention have been described above in connection with the specific embodiments, but it should be noted that those skilled in the art can understand that all or any of the steps or components of the method and apparatus of the present invention may be in any computing device. (including a processor, a storage medium, etc.) or a network of computing devices implemented in hardware, firmware, software, or a combination thereof, which is used by those of ordinary skill in the art in view of the description of the present invention. Programming skills can be achieved. Thus, the objects of the invention can also be achieved by running a program or a set of programs on any computing device.
- the computing device can be a well-known general purpose device.
- the object of the present invention can also be achieved by merely providing a program product comprising program code for implementing the method or apparatus. That is to say, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention.
- the storage medium may be any well-known storage medium or any storage medium developed in the future.
- various components or steps may be decomposed and/or recombined. These decompositions and/or recombinations should be considered as equivalents to the invention. Also, the steps of performing the above-described series of processing may naturally be performed in chronological order in the order illustrated, but need not necessarily be performed in chronological order.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Graphics (AREA)
- Architecture (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/913,198 US9792700B2 (en) | 2013-08-19 | 2014-05-09 | Method and device for processing virtual fitting model image |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310361579.XA CN103456032B (zh) | 2013-08-19 | 2013-08-19 | 一种处理虚拟试衣模特图像的方法和装置 |
| CN201310361579.X | 2013-08-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015024397A1 true WO2015024397A1 (zh) | 2015-02-26 |
Family
ID=49738359
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/077189 Ceased WO2015024397A1 (zh) | 2013-08-19 | 2014-05-09 | 一种处理虚拟试衣模特图像的方法和装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9792700B2 (zh) |
| CN (1) | CN103456032B (zh) |
| TW (1) | TWI526948B (zh) |
| WO (1) | WO2015024397A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107481099A (zh) * | 2017-07-28 | 2017-12-15 | 厦门大学 | 可360度转身的实时虚拟试衣的实现方法 |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103489107B (zh) * | 2013-08-16 | 2015-11-25 | 北京京东尚科信息技术有限公司 | 一种制作虚拟试衣模特图像的方法和装置 |
| CN103456032B (zh) * | 2013-08-19 | 2015-10-07 | 北京京东尚科信息技术有限公司 | 一种处理虚拟试衣模特图像的方法和装置 |
| CN104408702B (zh) * | 2014-12-03 | 2018-11-23 | 浩云星空信息技术(北京)有限公司 | 一种图像处理方法及装置 |
| CN105279487B (zh) * | 2015-10-15 | 2022-03-15 | Oppo广东移动通信有限公司 | 美颜工具筛选方法和系统 |
| CN107038715B (zh) * | 2017-03-21 | 2022-03-08 | 腾讯科技(深圳)有限公司 | 一种图像处理方法及装置 |
| CN108665408A (zh) * | 2018-05-21 | 2018-10-16 | 北京微播视界科技有限公司 | 肤色调整方法、装置和电子设备 |
| CN111768507B (zh) * | 2020-08-07 | 2023-11-28 | 腾讯科技(深圳)有限公司 | 图像融合方法、装置、计算机设备及存储介质 |
| CN112163920A (zh) * | 2020-08-18 | 2021-01-01 | 广州市美图现电子有限公司 | 测肤美妆系统的使用方法、装置、存储介质和计算机设备 |
| CN113344672A (zh) * | 2021-06-25 | 2021-09-03 | 钟明国 | 一种购物网页浏览界面3d虚拟试衣方法和系统 |
| CN114170250B (zh) * | 2022-02-14 | 2022-05-13 | 阿里巴巴达摩院(杭州)科技有限公司 | 图像处理方法、装置和电子设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060088209A1 (en) * | 2004-10-21 | 2006-04-27 | Microsoft Corporation | Video image quality |
| WO2010124080A1 (en) * | 2009-04-24 | 2010-10-28 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
| CN101996314A (zh) * | 2009-08-26 | 2011-03-30 | 厦门市美亚柏科信息股份有限公司 | 一种基于内容的人体上半身敏感图像识别方法及其装置 |
| CN102509349A (zh) * | 2011-09-27 | 2012-06-20 | 深圳市朵唯志远科技有限公司 | 基于移动终端的试衣方法、装置及移动终端 |
| CN102842089A (zh) * | 2012-07-18 | 2012-12-26 | 上海交通大学 | 基于3d真实人体模型及服装模型的网络虚拟试衣系统 |
| CN103456032A (zh) * | 2013-08-19 | 2013-12-18 | 北京京东尚科信息技术有限公司 | 一种处理虚拟试衣模特图像的方法和装置 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010520551A (ja) * | 2007-03-08 | 2010-06-10 | ヒューレット−パッカード デベロップメント カンパニー エル.ピー. | 画像から推定される皮膚色に基づいて製品を推奨するための方法及びシステム |
| US20130215116A1 (en) * | 2008-03-21 | 2013-08-22 | Dressbot, Inc. | System and Method for Collaborative Shopping, Business and Entertainment |
| CA2659698C (en) * | 2008-03-21 | 2020-06-16 | Dressbot Inc. | System and method for collaborative shopping, business and entertainment |
| US10872322B2 (en) * | 2008-03-21 | 2020-12-22 | Dressbot, Inc. | System and method for collaborative shopping, business and entertainment |
| CN101477560A (zh) * | 2009-02-02 | 2009-07-08 | 林�智 | 基于方案数据库的服饰搭配系统及方法 |
| GB201102794D0 (en) * | 2011-02-17 | 2011-03-30 | Metail Ltd | Online retail system |
| US9773274B2 (en) * | 2013-12-02 | 2017-09-26 | Scott William Curry | System and method for online virtual fitting room |
-
2013
- 2013-08-19 CN CN201310361579.XA patent/CN103456032B/zh active Active
-
2014
- 2014-05-09 WO PCT/CN2014/077189 patent/WO2015024397A1/zh not_active Ceased
- 2014-05-09 US US14/913,198 patent/US9792700B2/en active Active
- 2014-07-01 TW TW103122602A patent/TWI526948B/zh active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060088209A1 (en) * | 2004-10-21 | 2006-04-27 | Microsoft Corporation | Video image quality |
| WO2010124080A1 (en) * | 2009-04-24 | 2010-10-28 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
| CN101996314A (zh) * | 2009-08-26 | 2011-03-30 | 厦门市美亚柏科信息股份有限公司 | 一种基于内容的人体上半身敏感图像识别方法及其装置 |
| CN102509349A (zh) * | 2011-09-27 | 2012-06-20 | 深圳市朵唯志远科技有限公司 | 基于移动终端的试衣方法、装置及移动终端 |
| CN102842089A (zh) * | 2012-07-18 | 2012-12-26 | 上海交通大学 | 基于3d真实人体模型及服装模型的网络虚拟试衣系统 |
| CN103456032A (zh) * | 2013-08-19 | 2013-12-18 | 北京京东尚科信息技术有限公司 | 一种处理虚拟试衣模特图像的方法和装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107481099A (zh) * | 2017-07-28 | 2017-12-15 | 厦门大学 | 可360度转身的实时虚拟试衣的实现方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103456032A (zh) | 2013-12-18 |
| US20160196668A1 (en) | 2016-07-07 |
| CN103456032B (zh) | 2015-10-07 |
| HK1192045A1 (zh) | 2014-08-08 |
| TW201508650A (zh) | 2015-03-01 |
| TWI526948B (zh) | 2016-03-21 |
| US9792700B2 (en) | 2017-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015024397A1 (zh) | 一种处理虚拟试衣模特图像的方法和装置 | |
| CN103916723B (zh) | 一种声音采集方法以及一种电子设备 | |
| CN108512670B (zh) | 一种群组创建的方法及其终端 | |
| JP2021008126A (ja) | 3dプリントされたカスタム着用物の生成 | |
| CN107944420B (zh) | 人脸图像的光照处理方法和装置 | |
| CN106412458A (zh) | 一种图像处理方法和装置 | |
| WO2017197959A1 (zh) | 一种图片处理方法、装置及设备 | |
| WO2016054989A1 (zh) | 建立拍照模板数据库、提供拍照推荐信息的方法及装置 | |
| CN108830892A (zh) | 人脸图像处理方法、装置、电子设备及计算机可读存储介质 | |
| JP6369246B2 (ja) | 似顔絵生成装置、似顔絵生成方法 | |
| CN109302628B (zh) | 一种基于直播的人脸处理方法、装置、设备和存储介质 | |
| WO2019128676A1 (zh) | 过滤光斑的方法和装置 | |
| CN109659006B (zh) | 面肌训练方法、装置及电子设备 | |
| CN105373929A (zh) | 提供拍照推荐信息的方法及装置 | |
| WO2015192368A1 (zh) | Hdri的生成方法及装置 | |
| Miura | Fuzzy-based illumination normalization for face recognition | |
| CN111654624A (zh) | 拍摄提示方法、装置及电子设备 | |
| WO2019090502A1 (zh) | 一种基于智能终端的图像拍摄方法及图像拍摄系统 | |
| CN106097261B (zh) | 图像处理方法、装置、存储介质及终端设备 | |
| CN104994362A (zh) | 白平衡处理的方法及装置 | |
| CN105430269A (zh) | 一种应用于移动终端的拍照方法及装置 | |
| WO2021017308A1 (zh) | 舌象匹配方法、电子装置、计算机设备及存储介质 | |
| WO2016184285A1 (zh) | 物品图像处理方法、装置和系统 | |
| CN105869111B (zh) | 多人合照时的肤色调节方法和装置 | |
| CN105678624A (zh) | 评价信息生成装置和方法、电子设备及服务器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14838349 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14913198 Country of ref document: US |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.06.2016) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14838349 Country of ref document: EP Kind code of ref document: A1 |
