[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114972053B - Simulated lip gloss cosmetic method - Google Patents

Simulated lip gloss cosmetic method Download PDF

Info

Publication number
CN114972053B
CN114972053B CN202111570749.6A CN202111570749A CN114972053B CN 114972053 B CN114972053 B CN 114972053B CN 202111570749 A CN202111570749 A CN 202111570749A CN 114972053 B CN114972053 B CN 114972053B
Authority
CN
China
Prior art keywords
lip gloss
lip
color
brightness
blending
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.)
Active
Application number
CN202111570749.6A
Other languages
Chinese (zh)
Other versions
CN114972053A (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.)
Dalian Neusoft University of Information
Original Assignee
Dalian Neusoft University of Information
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 Dalian Neusoft University of Information filed Critical Dalian Neusoft University of Information
Priority to CN202111570749.6A priority Critical patent/CN114972053B/en
Publication of CN114972053A publication Critical patent/CN114972053A/en
Application granted granted Critical
Publication of CN114972053B publication Critical patent/CN114972053B/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
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a simulated lip gloss cosmetic method, which comprises the following steps: step 1, when an image is shot, taking a human face as a recognition area, and storing the recognition area image; step 2, extracting brightness characteristics of the face recognition image, and calculating a brightness average value; step 3, removing noise in the brightness average value according to the brightness average value, and calculating a brightness true value; step 4, carrying out brightness correction on the face recognition image; step 5, extracting a lip area as a subsequent operation area; step 6, the user selects lip gloss color, and whether lip gloss blending is performed or not is selected; if the lip gloss blending is not carried out, each lip gloss color and each lip area color are blended, and a lip gloss effect graph is generated; if lip gloss blending is carried out, all lip gloss colors and lip area colors are blended, and a lip gloss effect graph is generated. According to the invention, the real brightness value is calculated, so that the make-up effect can be truly simulated; by controlling the melting and mixing mode, various lip priming effects, lip biting make-up and other high-grade dressing effects are realized.

Description

一种仿真唇彩美妆方法A kind of simulation lip gloss makeup method

技术领域Technical Field

本发明涉及仿真美妆领域,尤其涉及一种仿真唇彩美妆方法。The invention relates to the field of simulated beauty makeup, and in particular to a simulated lip gloss beauty makeup method.

背景技术Background Art

目前实时美妆,美颜相机等应用层出不穷,利用面部识别功能提供包括美颜、唇彩、粉底、高光阴影等各种虚拟试装效果,这些效果适用于直播、短视频、视频通话等各种场景。随着AI和AR的技术成熟,美妆应用的场景越来越多。在众多美妆效果中,唇彩试妆的应用最为广泛,通过手机App让消费者可以足不出户就尝试各种口红色号,进而实现线上引导购物。随着疫情的到来及人们对安全卫生意识的加强,在实体店也提供了AR美妆功能,利用AI和AR技术可能让消费者快速地看到不同口红色号的上妆效果,提供无接触虚拟试妆服务,既方便快捷又干净卫生。At present, there are endless applications such as real-time beauty and beauty camera, which use facial recognition functions to provide various virtual try-on effects including beauty, lip gloss, foundation, highlights and shadows. These effects are suitable for various scenarios such as live broadcasts, short videos, and video calls. With the maturity of AI and AR technology, there are more and more scenarios for beauty applications. Among the many beauty effects, lip gloss trial makeup is the most widely used. Through mobile phone apps, consumers can try various lipstick colors without leaving home, and then realize online guided shopping. With the arrival of the epidemic and the strengthening of people's awareness of safety and hygiene, AR beauty functions are also provided in physical stores. Using AI and AR technology, consumers can quickly see the makeup effects of different lipstick colors, providing contactless virtual trial makeup services, which are convenient, fast, clean and hygienic.

目前针对唇彩试色的技术方案,普遍是采用标准化工具进行口红色号提取和材质提取,制作成唇彩图片。利用第三方面部识别库对唇部进行关键点检测,利用OpenGL等图像渲染技术对唇部进行贴图处理,但以往的技术方案主要存在以下问题:At present, the technical solution for lip color testing generally uses standardized tools to extract lipstick color and material to make lip color pictures. Third-party facial recognition libraries are used to detect key points of the lips, and image rendering technologies such as OpenGL are used to map the lips. However, the previous technical solutions mainly have the following problems:

1.虚拟试妆时,一般采用LUT(Look-Up-Table)或者直接提取唇彩色号的RGB值进行涂色,没有考虑到使用者本身的唇部底色,导致唇彩色号没有和唇部自然融合,仅仅只是将存储的唇彩颜色复制到使用者的唇部,会导致使用者试妆时的效果和购买后亲身使用的效果不同;1. When trying on makeup virtually, LUT (Look-Up-Table) is generally used or the RGB value of the lip color is directly extracted for coloring. The user's own lip base color is not taken into consideration, resulting in the lip color not blending naturally with the lips. The stored lip color is simply copied to the user's lips, which will result in different effects when the user tries on makeup and when the user uses it in person after purchase.

2.实际唇彩试妆时,唇彩的颜色会受到环境光等影响,使得实际看到的颜色会随着环境光的变化而变化。虚拟试妆时,唇彩效果没有考虑环境光的影响,无法真实还原实际上妆效果。2. When trying on lip gloss in real life, the color of the lip gloss will be affected by ambient light, etc., so the color you actually see will change with the change of ambient light. When trying on virtual makeup, the lip gloss effect does not take into account the influence of ambient light and cannot truly restore the actual makeup effect.

发明内容Summary of the invention

本发明提供一种,以克服以上问题。The present invention provides a method to overcome the above problems.

本发明包括以下步骤:The present invention comprises the following steps:

步骤1、用户拍摄图像时,同步对图像区域进行划分,将人脸作为识别区域,并存储识别区域图像,即人脸识别的图像;Step 1: When a user takes an image, the image area is divided synchronously, the face is used as the recognition area, and the recognition area image, i.e., the face recognition image, is stored;

步骤2、对用户人脸识别的图像中的每个五官区域进行亮度特征提取,计算亮度均值;Step 2: Extract brightness features of each facial feature area in the image of the user's face recognition and calculate the brightness mean;

步骤3、根据亮度均值,去除亮度均值中的噪声,计算亮度真实值;Step 3: According to the brightness mean, remove the noise in the brightness mean and calculate the true brightness value;

步骤4、根据亮度真实值,对用户人脸识别的图像进行亮度矫正;Step 4: Perform brightness correction on the image of the user's face recognition according to the true brightness value;

步骤5、对用户人脸识别的图像,进行区域划分,提取唇部区域作为后续的操作区域;Step 5: Divide the image of the user's face recognition into regions and extract the lip region as the subsequent operation region;

步骤6、用户选择唇彩颜色,并选择是否进行唇彩融混,若不进行唇彩融混,则每个唇彩颜色和唇部区域颜色进行融混,各生成一张唇彩效果图;若进行唇彩融混,则将选择的所有唇彩颜色和唇部区域颜色进行融混后,生成一张唇彩效果图。Step 6. The user selects the lip gloss color and chooses whether to blend the lip gloss. If not, each lip gloss color and lip area color will be blended to generate a lip gloss effect image. If lip gloss is blended, all selected lip gloss colors and lip area colors will be blended to generate a lip gloss effect image.

进一步地,步骤2对人脸识别的图像进行亮度检测,计算亮度均值:Furthermore, step 2 performs brightness detection on the face recognition image and calculates the brightness mean:

measurement=0.299*R+0.587*G+0.114*B (1)measurement=0.299*R+0.587*G+0.114*B (1)

其中,R表示采样纹理中的红色分量;G表示绿色分量;B表示蓝色成分;R、G、B的数值范围均为[0,1];measurement表示亮度均值,亮度均值的数值范围为[0,1]。Among them, R represents the red component in the sampled texture; G represents the green component; B represents the blue component; the value range of R, G, and B is [0,1]; measurement represents the brightness mean, and the value range of the brightness mean is [0,1].

进一步地,步骤3去除亮度均值中的噪声,获得亮度真实值,包括以下步骤:Furthermore, step 3 removes the noise in the brightness mean value to obtain the true brightness value, including the following steps:

步骤31、采用协方差预测方程,计算亮度均值中的估计不确定度:Step 31, using the covariance prediction equation, calculate the estimated uncertainty in the brightness mean:

p=p+q (2)p=p+q (2)

其中,p为估计不确定度,q为过程噪声值,过程噪声值为根据经验设定;Among them, p is the estimation uncertainty, q is the process noise value, and the process noise value is set based on experience;

步骤312、根据估计不确定度,计算亮度均值中的结果增益:Step 312: Calculate the result gain in the brightness mean according to the estimated uncertainty:

k=p/(p+r) (3)k=p/(p+r) (3)

其中,k为结果增益,r为摄像头传感器噪声值,摄像头传感器噪声值为根据经验设定;Among them, k is the result gain, r is the camera sensor noise value, and the camera sensor noise value is set based on experience;

步骤32、根据结果增益,计算亮度真实值:Step 32: Calculate the actual brightness value based on the result gain:

x=k*measurement+(1-k)*x (4)x=k*measurement+(1-k)*x (4)

其中,measurement为亮度均值,x为亮度真实值。Among them, measurement is the mean brightness and x is the true brightness value.

进一步地,步骤6中若用户选择不进行唇彩融混,则进行以下步骤:Furthermore, if the user chooses not to blend the lip gloss in step 6, the following steps are performed:

步骤6A、用户选择一个或多个唇彩颜色,将每个唇彩颜色进行亮度矫正,将校正后的唇彩颜色和唇部底色进行融混,并分别显示对应唇彩颜色的唇彩效果图;Step 6A: The user selects one or more lip gloss colors, performs brightness correction on each lip gloss color, blends the corrected lip gloss color with the lip base color, and displays lip gloss effect pictures of the corresponding lip gloss colors respectively;

进一步地,步骤6中若用户进行唇彩融混,则进行以下步骤:Furthermore, if the user blends the lip gloss in step 6, the following steps are performed:

步骤6B1、用户选择多个唇彩颜色并对唇彩颜色进行排序Step 6B1: The user selects multiple lip gloss colors and sorts the lip gloss colors

步骤6B2、根据亮度真实值,对每个唇彩颜色进行亮度矫正;Step 6B2: Perform brightness correction on each lip gloss color according to the true brightness value;

步骤6B3、用户选择进行自助唇彩融混或系统唇彩融混:Step 6B3: The user chooses to perform self-service lip gloss blending or system lip gloss blending:

步骤6B3a、若用户选择自助唇彩融混:Step 6B3a: If the user selects self-service lip gloss blending:

将唇部区域分为若干子区域,将唇彩颜色按照步骤6B1中的顺序,依次发送给用户,用户依次选择每个唇彩颜色在每个子区域中是否进行融混;所有唇彩颜色均进行融混后,显示一张唇彩效果图;The lip region is divided into several sub-regions, and the lip gloss colors are sent to the user in sequence according to the order in step 6B1. The user selects whether to blend each lip gloss color in each sub-region in turn; after all lip gloss colors are blended, a lip gloss effect picture is displayed;

步骤6B3b、若用户选择系统唇彩融混:Step 6B3b, if the user selects system lip gloss blending:

联网获取唇彩融混款式图,用户选择一个唇彩融混款式;Obtain lip gloss blending style pictures online, and the user selects a lip gloss blending style;

将唇部区域分为若干子区域,根据唇彩融混款式和用户选择的唇彩颜色,进行唇彩融混,显示一张唇彩效果图。The lip area is divided into several sub-areas, and the lip gloss is blended according to the lip gloss blending style and the lip gloss color selected by the user, and a lip gloss effect picture is displayed.

进一步地,在每次进行唇彩融混时,均基于以下处理策略:Furthermore, each time the lip gloss is blended, the following processing strategies are used:

步骤a、将唇部颜色与校正后的唇彩颜色进行第一次融混:Step a: Blend the lip color with the corrected lip gloss color for the first time:

color=lipColor.rgb*colorCorrection.rgb (5)color=lipColor.rgb*colorCorrection.rgb (5)

其中,lipColor.rgb表示唇部颜色,colorCorrection.rgb表示矫正后的唇部颜色;color表示第一次融混后的颜色;输出color包括r,g,b三个分量。Among them, lipColor.rgb represents the lip color, colorCorrection.rgb represents the corrected lip color; color represents the color after the first blending; the output color includes three components: r, g, and b.

步骤b、将融混后的颜色color与唇部颜色lipColor进行第二次融混:Step b: Blend the blended color with the lip color lipColor for a second time:

ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (6)ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (6)

其中,ret表示第二次融混结果,即该唇彩的最终融混颜色,lipstickColor.a表示唇彩不透明度,唇彩不透明度的取值范围为[0,1]。Among them, ret represents the second blending result, that is, the final blending color of the lip gloss, and lipstickColor.a represents the opacity of the lip gloss, and the value range of the lip gloss opacity is [0, 1].

本发明可以计算亮度均值,并过滤掉噪声,得到一个真实的亮度值作为后面环境亮度的输入,这样唇彩颜色更加逼真,能够真实的模拟实际上妆效果。通过多层融混方案,提高了唇彩融合的自然度。The present invention can calculate the brightness mean and filter out the noise to obtain a real brightness value as the input of the subsequent ambient brightness, so that the lip color is more realistic and can truly simulate the actual makeup effect. Through the multi-layer blending solution, the naturalness of the lip color fusion is improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

图1为本发明整体流程图;Fig. 1 is an overall flow chart of the present invention;

图2为本发明整体流程图;FIG2 is an overall flow chart of the present invention;

图3为本发明上唇识别图;FIG3 is an upper lip recognition diagram of the present invention;

图4为本发明下唇识别图;FIG4 is a lower lip recognition diagram of the present invention;

图5为本发明人脸识别图;FIG5 is a face recognition diagram of the present invention;

图6为本发明第一次唇彩融混图;FIG6 is a first lip gloss blending diagram of the present invention;

图7为本发明第二次唇彩融混图。FIG. 7 is a second lip gloss blending diagram of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

如图1、图2所示,本实施例的方法可以包括:As shown in FIG. 1 and FIG. 2 , the method of this embodiment may include:

步骤1、用户拍摄图像时,同步对图像区域进行划分,将人脸作为识别区域,并存储识别区域图像,即人脸识别的图像;Step 1: When a user takes an image, the image area is divided synchronously, the face is used as the recognition area, and the recognition area image, i.e., the face recognition image, is stored;

具体而言,由于虚拟美妆对唇部识别的精准度要求比较高,所以采用第三方的面部识别库SenseAR进行面部和唇部识别。SenseAR可以检测多张人脸,提供唇部64个关键点,精准度满足需求。如图3、4所示。同时需要识别人脸外框,如图5所示。Specifically, since virtual makeup requires high accuracy in lip recognition, the third-party facial recognition library SenseAR is used for face and lip recognition. SenseAR can detect multiple faces and provide 64 key points of the lips, with accuracy that meets the requirements. As shown in Figures 3 and 4. At the same time, the facial frame needs to be recognized, as shown in Figure 5.

步骤2、对用户人脸识别的图像中的每个五官区域进行亮度特征提取,计算亮度均值;Step 2: Extract brightness features of each facial feature area in the image of the user's face recognition and calculate the brightness mean;

具体而言,对于摄像头的每一帧图像,首先利用第1步得到的人脸外框(如果有多张人脸,则取较大外框),截取每一帧人脸外框内的部分作为亮度检测的输入源,目的是防止人脸外部的环境像素对亮度估计造成影响(比如白色或者黑色背景会对亮度估计产生较大误差)。Specifically, for each frame of the camera image, first use the face frame obtained in the first step (if there are multiple faces, take the larger frame) to intercept the part inside the face frame of each frame as the input source for brightness detection. The purpose is to prevent the environmental pixels outside the face from affecting the brightness estimation (for example, a white or black background will cause a large error in the brightness estimation).

然后,对截取的人脸外框计算RGB每个通道的均值,得到一个三元数组(R,G,B)。Then, the mean of each RGB channel is calculated for the intercepted face frame to obtain a three-element array (R, G, B).

再将得到的RGB均值利用如下公式转成灰度值,这个灰度值就是本方案估计的亮度均值,范围为[0,1]。Then convert the obtained RGB mean into a grayscale value using the following formula. This grayscale value is the brightness mean estimated by this scheme, and the range is [0,1].

步骤3、根据亮度均值,去除亮度均值中的噪声,计算亮度真实值;Step 3: According to the brightness mean, remove the noise in the brightness mean and calculate the true brightness value;

具体而言,第2步得出的亮度均值会因为摄像头传感器的测量误差出现随机噪声,而这个噪声会影响最终的效果。本方案通过对噪声进行过滤,以得到真实的亮度值,这里假设噪声是目前最常见的高斯白噪声,因此测量值是满足正态分布的。由于白噪声是零均值,所以正态分布的均值就是方案将得出的亮度真实值,因为噪声的存在,正态分布会存在一定的方差。本方案通过一维Kalman滤波器滤掉噪声,得到亮度真实值。Specifically, the brightness mean obtained in step 2 will have random noise due to the measurement error of the camera sensor, and this noise will affect the final effect. This solution filters the noise to obtain the true brightness value. Here, it is assumed that the noise is the most common Gaussian white noise, so the measured value satisfies the normal distribution. Since white noise has a zero mean, the mean of the normal distribution is the true brightness value that the solution will obtain. Due to the existence of noise, the normal distribution will have a certain variance. This solution uses a one-dimensional Kalman filter to filter out the noise and obtain the true brightness value.

一维Kalman滤波器滤掉噪声需要定义如下变量:过程噪声值q、测量噪声值(摄像头传感器噪声)r、滤波器输出值x、估计误差值p、kalman增益值k。The one-dimensional Kalman filter needs to define the following variables to filter out noise: process noise value q, measurement noise value (camera sensor noise) r, filter output value x, estimated error value p, and Kalman gain value k.

将第2步得出的带噪声的亮度均值输入到一维Kalman滤波器中,输出亮度真实值。The noisy brightness mean obtained in step 2 is input into the one-dimensional Kalman filter and the true brightness value is output.

由于2,3步骤需要对图片进行均值和滤波操作,较为耗时,对于实时性要求比较高的场合,不能每一帧都进行处理,本方案将亮度算法设置200ms的间隔。随后即将利用滤波后的亮度均值对色彩进行校正。Since steps 2 and 3 require averaging and filtering of the image, which is time-consuming, and for situations with high real-time requirements, it is not possible to process every frame, this solution sets the brightness algorithm to an interval of 200ms. The filtered brightness mean will then be used to correct the color.

步骤4、根据亮度真实值,对用户人脸识别的图像进行亮度矫正;Step 4: Perform brightness correction on the image of the user's face recognition according to the true brightness value;

具体而言,对人脸识别图像的各个区域进行亮度矫正,Specifically, brightness correction is performed on each area of the face recognition image.

步骤5、对用户人脸识别的图像,进行区域划分,提取唇部区域作为后续的操作区域;Step 5: Divide the image of the user's face recognition into regions and extract the lip region as the subsequent operation region;

步骤6、用户选择唇彩颜色,并选择是否进行唇彩融混,若不进行唇彩融混,则每个唇彩颜色和唇部区域颜色进行融混,各生成一张唇彩效果图;若进行唇彩融混,则将选择的所有唇彩颜色和唇部区域颜色进行融混后,生成一张唇彩效果图。Step 6. The user selects the lip gloss color and chooses whether to blend the lip gloss. If not, each lip gloss color and lip area color will be blended to generate a lip gloss effect image. If lip gloss is blended, all selected lip gloss colors and lip area colors will be blended to generate a lip gloss effect image.

本实施例中,在Mac平台,采用Qt Creator开发工具,使用C++和OpenGL语言:In this embodiment, on the Mac platform, the Qt Creator development tool is used, using C++ and OpenGL languages:

具体而言,步骤6中在进行唇彩融混时的思路如下:Specifically, the idea behind blending lip gloss in step 6 is as follows:

和唇部融混时,第一层根据预设的Multiply方式将唇彩和唇部纹理进行融合得到的结果再和唇部纹理进行第二次融合,得到最终的输出值ret。经过测试,这样经过两次融合以后,唇彩和唇部的自然融合度较好。进行第二层融混时,只需要重复前面的步骤,将ret作为第二层的输入即lipstickColor即可。经过第二层融混后得到的ret材质即为期望的实际唇彩颜色。When blending with the lips, the first layer blends the lip gloss and lip texture according to the preset Multiply method, and then blends with the lip texture for the second time to obtain the final output value ret. After testing, after two fusions, the natural fusion degree of the lip gloss and lips is better. When blending the second layer, just repeat the previous steps and use ret as the input of the second layer, that is, lipstickColor. The ret material obtained after the second layer of blending is the actual desired lip gloss color.

制作完成需要进行贴图的唇彩图片,为了展现唇彩打底的效果,制作了两张唇彩图片,如图6所示,作为打底唇彩即第一层唇彩,如图7所示,作为表面唇彩即第二层唇彩,两层的融混方式可以不同,通过脚本添加唇彩的资源文件和融混方式。图6是采用MultiplyBlend的效果,图7是采用Normal Blend的效果。After the lip gloss images that need to be mapped are made, two lip gloss images are made to show the effect of lip gloss base, as shown in Figure 6, as the base lip gloss, that is, the first layer of lip gloss, and as shown in Figure 7, as the surface lip gloss, that is, the second layer of lip gloss. The blending methods of the two layers can be different. The lip gloss resource files and blending methods are added through the script. Figure 6 shows the effect of using MultiplyBlend, and Figure 7 shows the effect of using Normal Blend.

于是本方案根据唇彩的层数,动态创建sampler和shader program。每一层的输出作为下一层的输入,同时每一层在进行贴图时,需要对纹理利用步骤3中得出的亮度均值进行颜色校正,在这里定义如下变量值:lipColor为人脸唇部纹理颜色,lipstickColor为唇彩纹理颜色,ambientLum为步骤3得出的亮度均值,colorOffset为颜色偏移值,colorCorrection为校正后的值。Therefore, this solution dynamically creates a sampler and shader program according to the number of lip gloss layers. The output of each layer is used as the input of the next layer. At the same time, when mapping each layer, the texture needs to be color corrected using the brightness mean obtained in step 3. Here, the following variable values are defined: lipColor is the color of the lip texture of the face, lipstickColor is the color of the lip gloss texture, ambientLum is the brightness mean obtained in step 3, colorOffset is the color offset value, and colorCorrection is the corrected value.

本方案根据唇彩的层数和融混方式,动态生成shader,达到多层唇彩的效果。本发明不仅可以实现单层唇彩这种基础妆容,还可以实现唇彩打底和咬唇妆等多层高级妆容的效果。对不同环境光下的唇部进行亮度校正后,呈现的唇彩颜色能够根据亮度进行自适应调整。同时,应用多层融混和两次融合技术后,唇彩能够展现更多层次,自然融合度较好,更加逼真的展现了实际的上妆效果。This solution dynamically generates shaders according to the number of lip gloss layers and blending methods to achieve the effect of multi-layer lip gloss. The present invention can not only achieve basic makeup such as single-layer lip gloss, but also achieve multi-layer advanced makeup effects such as lip gloss primer and bitten lip makeup. After brightness correction of the lips under different ambient lights, the presented lip gloss color can be adaptively adjusted according to the brightness. At the same time, after applying multi-layer blending and double fusion technology, the lip gloss can show more layers, with better natural fusion, and more realistically show the actual makeup effect.

优选的,步骤2对人脸识别的图像进行亮度检测,计算亮度均值:Preferably, step 2 performs brightness detection on the face recognition image and calculates the brightness mean:

measurement=0.299*R+0.587*G+0.114*B (2)measurement=0.299*R+0.587*G+0.114*B (2)

其中,R表示采样纹理中的红色分量;G表示绿色分量;B表示蓝色成分;R、G、B的数值范围均为[0,1];measurement表示亮度均值,亮度均值的数值范围为[0,1]。Among them, R represents the red component in the sampled texture; G represents the green component; B represents the blue component; the value range of R, G, and B is [0,1]; measurement represents the brightness mean, and the value range of the brightness mean is [0,1].

优选的,步骤3去除亮度均值中的噪声,获得亮度真实值,包括以下步骤:Preferably, step 3 removes noise in the brightness mean to obtain the true brightness value, including the following steps:

步骤31、采用协方差预测方程,计算亮度均值中的估计不确定度:Step 31, using the covariance prediction equation, calculate the estimated uncertainty in the brightness mean:

p=p+q (3)p=p+q (3)

其中,p为估计不确定度,q为过程噪声值,过程噪声值为根据经验设定;Among them, p is the estimation uncertainty, q is the process noise value, and the process noise value is set based on experience;

具体而言,p的初始值不是十分重要,可初始化一个较大的p值,随着不断的迭代,估计误差会不断收敛。因为亮度的范围为[0,1],所以将p取为1即可。同样,x的初始值也不重要,它也会随着程序的迭代不断逼近真实值,将x取为第一帧的亮度均值即可。q和r的取值对于估算出一个准确的真实值确实比较重要的。经过测试,当q的值为0.0005、r的值为0.001时,能够获得良好的滤波性能和效果。Specifically, the initial value of p is not very important. You can initialize a larger p value. With continuous iterations, the estimation error will continue to converge. Because the range of brightness is [0,1], you can just take p as 1. Similarly, the initial value of x is not important. It will continue to approach the true value as the program iterates. You can take x as the brightness mean of the first frame. The values of q and r are indeed important for estimating an accurate true value. After testing, when the value of q is 0.0005 and the value of r is 0.001, good filtering performance and effect can be obtained.

步骤312、根据估计不确定度,计算亮度均值中的结果增益:Step 312: Calculate the result gain in the brightness mean according to the estimated uncertainty:

k=p/(p+r) (4)k=p/(p+r) (4)

其中,k为结果增益,r为摄像头传感器噪声值,摄像头传感器噪声值为根据经验设定;Among them, k is the result gain, r is the camera sensor noise value, and the camera sensor noise value is set based on experience;

步骤32、根据结果增益,计算亮度真实值:Step 32: Calculate the actual brightness value based on the result gain:

x=k*measurement+(1-k)*x (5)x=k*measurement+(1-k)*x (5)

其中,measurement为亮度均值,x为亮度真实值。Among them, measurement is the mean brightness and x is the true brightness value.

具体而言,将用户设置一次使用期间多次识别唇部及人脸时,可以采用协方差更新方程,更新参数并进行迭代,最终输出逐渐收敛并得到亮度真实值。优选的,步骤6中若用户选择不进行唇彩融混,则进行以下步骤:Specifically, when the user sets the lip and face recognition to be performed multiple times during one use, the covariance update equation can be used to update the parameters and iterate, and the final output gradually converges and obtains the true value of the brightness. Preferably, in step 6, if the user chooses not to perform lip gloss blending, the following steps are performed:

步骤6A、用户选择一个或多个唇彩颜色,将每个唇彩颜色进行亮度矫正,将校正后的唇彩颜色和唇部底色进行融混,并分别显示对应唇彩颜色的唇彩效果图;Step 6A: The user selects one or more lip gloss colors, performs brightness correction on each lip gloss color, blends the corrected lip gloss color with the lip base color, and displays lip gloss effect pictures of the corresponding lip gloss colors respectively;

优选的,步骤6中若用户进行唇彩融混,则进行以下步骤:Preferably, if the user blends the lip gloss in step 6, the following steps are performed:

步骤6B1、用户选择多个唇彩颜色并对唇彩颜色进行排序Step 6B1: The user selects multiple lip gloss colors and sorts the lip gloss colors

步骤6B2、根据亮度真实值,对每个唇彩颜色进行亮度矫正;Step 6B2: Perform brightness correction on each lip gloss color according to the true brightness value;

具体而言,对唇彩纹理进行采样,计算得到lipstickLum。Specifically, the lip gloss texture is sampled and lipstickLum is calculated.

colorOffset是采用多项式拟合的方式计算系数,具体公式如下:ColorOffset uses polynomial fitting to calculate the coefficients. The specific formula is as follows:

colorOffset=0.675*(-0.40862638*lipstickLum+0.81462644*ambientLum2+0.03340745) (1)colorOffset=0.675*(-0.40862638*lipstickLum+0.81462644*ambientLum2+0.03340745) (1)

生成的colorOffset校正值需要对lipstickerColor进行校正,校正后为了保证颜色有效,将其限制在[0,1]。采用此方法可以利用环境亮度较好的对唇彩颜色进行亮度矫正。The generated colorOffset correction value needs to be corrected for lipstickerColor. After correction, in order to ensure the color is valid, it is limited to [0,1]. This method can be used to correct the brightness of the lipstick color with good ambient brightness.

利用矫正后的纹理进行贴图,这样唇彩的颜色能够考虑了环境光的影响。如果人脸较亮时,上妆后唇彩的亮度也比原始纹理的颜色更加鲜亮,更加逼真。By using the corrected texture for mapping, the color of the lip gloss can take into account the influence of ambient light. If the face is bright, the brightness of the lip gloss after makeup is brighter than the color of the original texture, and more realistic.

步骤6B3、用户选择进行自助唇彩融混或系统唇彩融混:Step 6B3: The user chooses to perform self-service lip gloss blending or system lip gloss blending:

步骤6B3a、若用户选择自助唇彩融混:Step 6B3a: If the user selects self-service lip gloss blending:

将唇部区域分为若干子区域,将唇彩颜色按照步骤6B1中的顺序,依次发送给用户,用户依次选择每个唇彩颜色在每个子区域中是否进行融混;所有唇彩颜色均进行融混后,显示一张唇彩效果图;The lip region is divided into several sub-regions, and the lip gloss colors are sent to the user in sequence according to the order in step 6B1. The user selects whether to blend each lip gloss color in each sub-region in turn; after all lip gloss colors are blended, a lip gloss effect picture is displayed;

步骤6B3b、若用户选择系统唇彩融混:Step 6B3b, if the user selects system lip gloss blending:

联网获取唇彩融混款式图,用户选择一个唇彩融混款式;Obtain lip gloss blending style pictures online, and the user selects a lip gloss blending style;

将唇部区域分为若干子区域,根据唇彩融混款式和用户选择的唇彩颜色,进行唇彩融混,显示一张唇彩效果图。The lip area is divided into several sub-areas, and the lip gloss is blended according to the lip gloss blending style and the lip gloss color selected by the user, and a lip gloss effect picture is displayed.

具体而言,本发明可以通过对唇部不同区域,进行不同颜色的唇彩融混,对多种唇妆进行模拟,不仅是颜色更逼真,还能根据用户需求调整妆效,增加了本发明在具体使用中的实用性。Specifically, the present invention can simulate a variety of lip makeup by blending lip glosses of different colors on different areas of the lips. Not only are the colors more realistic, but the makeup effects can also be adjusted according to user needs, increasing the practicality of the present invention in specific use.

优选的,每次进行唇彩融混时,均基于以下处理策略:Preferably, each time the lip gloss is blended, the following processing strategy is used:

步骤a、将唇部颜色与校正后的唇彩颜色进行第一次融混:Step a: Blend the lip color with the corrected lip gloss color for the first time:

color=lipColor.rgb*colorCorrection.rgb (6)color=lipColor.rgb*colorCorrection.rgb (6)

其中,lipColor.rgb表示唇部颜色,colorCorrection.rgb表示矫正后的唇部颜色;color表示第一次融混后的颜色;输出color包括r,g,b三个分量。Among them, lipColor.rgb represents the lip color, colorCorrection.rgb represents the corrected lip color; color represents the color after the first blending; the output color includes three components: r, g, and b.

步骤b、将融混后的颜色color与唇部颜色lipColor进行第二次融混:Step b: Blend the blended color with the lip color lipColor for a second time:

ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (7)ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (7)

其中,ret表示第二次融混结果,即该唇彩的最终融混颜色,lipstickColor.a表示唇彩不透明度,唇彩不透明度的取值范围为[0,1]。Among them, ret represents the second blending result, that is, the final blending color of the lip gloss, and lipstickColor.a represents the opacity of the lip gloss, and the value range of the lip gloss opacity is [0, 1].

具体而言,首先将唇部颜色与校正后的唇彩颜色按照预设的multiply方式第一次融混,此公式根据预设融混方式不同,公式也不同。此例中公式如下:Specifically, the lip color and the corrected lip gloss color are first blended according to the preset multiply method. The formula is different depending on the preset blending method. In this example, the formula is as follows:

color=lipColor.rgb*colorCorrection.rgb (8)color=lipColor.rgb*colorCorrection.rgb (8)

输出color包括r,g,b三个分量。The output color includes three components: r, g, and b.

将融混后的颜色color与唇部颜色lipColor进行第2次融混,融混权重为唇彩纹理中的alpha值。此部分公式如下:The blended color is blended with the lip color lipColor for the second time, and the blending weight is the alpha value in the lip gloss texture. The formula for this part is as follows:

ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a,1.0) (9)ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a,1.0) (9)

融混结果ret包括r,g,b,a 4个分量,其中a为alpha,表示不透明度,固定为1.0。The blending result ret includes four components: r, g, b, and a, where a is alpha, indicating opacity, which is fixed at 1.0.

本实施例利用第三方面部识别库SenseAR进行唇部特征点识别。虚拟上妆时,对脸部范围的亮度值进行检测,将唇彩颜色进行环境光校正。同时,通过对唇部进行多层融混操作,来实现唇部打底或者咬唇妆的效果,并能够达到和唇部自然融合的效果。This embodiment uses the third-party facial recognition library SenseAR to identify lip feature points. When applying virtual makeup, the brightness value of the facial range is detected and the lip color is corrected for ambient light. At the same time, by performing multi-layer blending operations on the lips, the effect of lip primer or lip biting makeup can be achieved, and the effect of natural fusion with the lips can be achieved.

有益效果:Beneficial effects:

本发明可以计算亮度均值,并过滤掉噪声,得到一个真实的亮度值作为后面环境亮度的输入,这样唇彩颜色更加逼真,能够真实的模拟实际上妆效果。通过多层融混方案,不仅支持单纯基础妆容,通过控制融混的方式,还能够支持多种唇部打底效果及咬唇妆等高级妆容效果,并通过二次融混操作,提高了融合的自然度。The present invention can calculate the brightness mean and filter out the noise to obtain a real brightness value as the input of the subsequent ambient brightness, so that the lip color is more realistic and can truly simulate the actual makeup effect. Through the multi-layer blending solution, not only simple basic makeup is supported, but also a variety of lip primer effects and advanced makeup effects such as bitten lip makeup can be supported by controlling the blending method, and the naturalness of the fusion is improved through the secondary blending operation.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1.一种仿真唇彩美妆方法,其特征在于,包括以下步骤:1. A method for applying simulated lip gloss, comprising the following steps: 步骤1、用户拍摄图像时,同步对图像区域进行划分,将人脸作为识别区域,并存储识别区域图像,即人脸识别的图像;Step 1: When a user takes an image, the image area is divided synchronously, the face is used as the recognition area, and the recognition area image, i.e., the face recognition image, is stored; 步骤2、对用户人脸识别的图像中的每个五官区域进行亮度特征提取,计算亮度均值;Step 2: Extract brightness features of each facial feature area in the image of the user's face recognition and calculate the brightness mean; 步骤3、根据亮度均值,去除亮度均值中的噪声,计算亮度真实值;Step 3: According to the brightness mean, remove the noise in the brightness mean and calculate the true brightness value; 步骤4、根据亮度真实值,对用户人脸识别的图像进行亮度矫正;Step 4: Perform brightness correction on the image of the user's face recognition according to the true brightness value; 步骤5、对用户人脸识别的图像,进行区域划分,提取唇部区域作为后续的操作区域;Step 5: Divide the image of the user's face recognition into regions and extract the lip region as the subsequent operation region; 步骤6、用户选择唇彩颜色,并选择是否进行唇彩融混,若不进行唇彩融混,则每个唇彩颜色和唇部区域颜色进行融混,各生成一张唇彩效果图;若进行唇彩融混,则将选择的所有唇彩颜色和唇部区域颜色进行融混后,生成一张唇彩效果图。Step 6. The user selects the lip gloss color and chooses whether to blend the lip gloss. If not, each lip gloss color and lip area color will be blended to generate a lip gloss effect image. If lip gloss is blended, all selected lip gloss colors and lip area colors will be blended to generate a lip gloss effect image. 2.根据权利要求1所述的一种仿真唇彩美妆方法,其特征在于,所述步骤2对人脸识别的图像进行亮度检测,计算亮度均值:2. The method for simulating lip gloss makeup according to claim 1, wherein the step 2 performs brightness detection on the face recognition image and calculates the brightness mean: measurement=0.299*R+0.587*G+0.114*B (1)measurement=0.299*R+0.587*G+0.114*B (1) 其中,R表示采样纹理中的红色分量;G表示绿色分量;B表示蓝色成分;R、G、B的数值范围均为[0,1];measurement表示亮度均值,亮度均值的数值范围为[0,1]。Among them, R represents the red component in the sampled texture; G represents the green component; B represents the blue component; the value range of R, G, and B is [0,1]; measurement represents the brightness mean, and the value range of the brightness mean is [0,1]. 3.根据权利要求1所述的一种仿真唇彩美妆方法,其特征在于,所述步骤3去除亮度均值中的噪声,获得亮度真实值,包括以下步骤:3. The method for simulating lip gloss makeup according to claim 1, wherein the step 3 removes noise in the brightness mean value to obtain the true brightness value, comprising the following steps: 步骤31、采用协方差预测方程,计算亮度均值中的估计不确定度:Step 31, using the covariance prediction equation, calculate the estimated uncertainty in the brightness mean: p=p+q (2)p=p+q (2) 其中,p为估计不确定度,q为过程噪声值,过程噪声值为根据经验设定;Among them, p is the estimation uncertainty, q is the process noise value, and the process noise value is set based on experience; 步骤312、根据估计不确定度,计算亮度均值中的结果增益:Step 312: Calculate the result gain in the brightness mean according to the estimated uncertainty: k=p/(p+r) (3)k=p/(p+r) (3) 其中,k为结果增益,r为摄像头传感器噪声值,摄像头传感器噪声值为根据经验设定;Among them, k is the result gain, r is the camera sensor noise value, and the camera sensor noise value is set based on experience; 步骤32、根据结果增益,计算亮度真实值:Step 32: Calculate the actual brightness value based on the result gain: x=k*measurement+(1-k)*x (4)x=k*measurement+(1-k)*x (4) 其中,measurement为亮度均值,x为亮度真实值。Among them, measurement is the mean brightness and x is the true brightness value. 4.根据权利要求1所述的一种仿真唇彩美妆方法,其特征在于,所述步骤6中若用户选择不进行唇彩融混,则进行以下步骤:4. The method for applying simulated lip gloss makeup according to claim 1, wherein if the user chooses not to blend the lip gloss in step 6, the following steps are performed: 步骤6A、用户选择一个或多个唇彩颜色,将每个唇彩颜色进行亮度矫正,将校正后的唇彩颜色和唇部底色进行融混,并分别显示对应唇彩颜色的唇彩效果图。Step 6A: The user selects one or more lip gloss colors, performs brightness correction on each lip gloss color, blends the corrected lip gloss color with the lip base color, and displays lip gloss effect pictures of the corresponding lip gloss colors. 5.根据权利要求1所述的一种仿真唇彩美妆方法,其特征在于,所述步骤6中若用户进行唇彩融混,则进行以下步骤:5. The method for applying simulated lip gloss makeup according to claim 1, wherein if the user blends the lip gloss in step 6, the following steps are performed: 步骤6B1、用户选择多个唇彩颜色并对唇彩颜色进行排序Step 6B1: The user selects multiple lip gloss colors and sorts the lip gloss colors 步骤6B2、根据亮度真实值,对每个唇彩颜色进行亮度矫正;Step 6B2: Perform brightness correction on each lip gloss color according to the true brightness value; 步骤6B3、用户选择进行自助唇彩融混或系统唇彩融混:Step 6B3: The user chooses to perform self-service lip gloss blending or system lip gloss blending: 步骤6B3a、若用户选择自助唇彩融混:Step 6B3a: If the user selects self-service lip gloss blending: 将唇部区域分为若干子区域,将唇彩颜色按照步骤6B1中的顺序,依次发送给用户,用户依次选择每个唇彩颜色在每个子区域中是否进行融混;所有唇彩颜色均进行融混后,显示一张唇彩效果图;The lip region is divided into several sub-regions, and the lip gloss colors are sent to the user in sequence according to the order in step 6B1. The user selects whether to blend each lip gloss color in each sub-region in turn; after all lip gloss colors are blended, a lip gloss effect picture is displayed; 步骤6B3b、若用户选择系统唇彩融混:Step 6B3b, if the user selects system lip gloss blending: 联网获取唇彩融混款式图,用户选择一个唇彩融混款式;Obtain lip gloss blending style pictures online, and the user selects a lip gloss blending style; 将唇部区域分为若干子区域,根据唇彩融混款式和用户选择的唇彩颜色,进行唇彩融混,显示一张唇彩效果图。The lip area is divided into several sub-areas, and the lip gloss is blended according to the lip gloss blending style and the lip gloss color selected by the user, and a lip gloss effect picture is displayed. 6.根据权利要求5所述的一种仿真唇彩美妆方法,其特征在于,在每次进行唇彩融混时,均基于以下处理策略:6. A method for applying simulated lip gloss makeup according to claim 5, characterized in that each time the lip gloss is blended, the following processing strategy is used: 步骤a、将唇部颜色与校正后的唇彩颜色进行第一次融混:Step a: Blend the lip color with the corrected lip gloss color for the first time: color=lipColor.rgb*colorCorrection.rgb (5)color=lipColor.rgb*colorCorrection.rgb (5) 其中,lipColor.rgb表示唇部颜色,colorCorrection.rgb表示矫正后的唇部颜色;color表示第一次融混后的颜色;输出color包括r,g,b三个分量;Among them, lipColor.rgb represents the lip color, colorCorrection.rgb represents the corrected lip color; color represents the color after the first blending; the output color includes three components: r, g, and b; 步骤b、将融混后的颜色color与唇部颜色lipColor进行第二次融混:Step b: Blend the blended color with the lip color lipColor for a second time: ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (6)ret=(lipColor*(1-lipstickColor.a)+color*lipstickColor.a) (6) 其中,ret表示第二次融混结果,即该唇彩的最终融混颜色,lipstickColor.a表示唇彩不透明度,唇彩不透明度的取值范围为[0,1]。Among them, ret represents the second blending result, that is, the final blending color of the lip gloss, and lipstickColor.a represents the opacity of the lip gloss, and the value range of the lip gloss opacity is [0, 1].
CN202111570749.6A 2021-12-21 2021-12-21 Simulated lip gloss cosmetic method Active CN114972053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111570749.6A CN114972053B (en) 2021-12-21 2021-12-21 Simulated lip gloss cosmetic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111570749.6A CN114972053B (en) 2021-12-21 2021-12-21 Simulated lip gloss cosmetic method

Publications (2)

Publication Number Publication Date
CN114972053A CN114972053A (en) 2022-08-30
CN114972053B true CN114972053B (en) 2024-09-17

Family

ID=82974850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111570749.6A Active CN114972053B (en) 2021-12-21 2021-12-21 Simulated lip gloss cosmetic method

Country Status (1)

Country Link
CN (1) CN114972053B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875594A (en) * 2018-05-28 2018-11-23 腾讯科技(深圳)有限公司 A kind of processing method of facial image, device and storage medium
CN110992248A (en) * 2019-11-27 2020-04-10 腾讯科技(深圳)有限公司 Lip makeup special effect display method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308944A (en) * 2019-07-29 2021-02-02 丽宝大数据股份有限公司 Augmented reality display method for simulated lip makeup
CN113344836B (en) * 2021-06-28 2023-04-14 展讯通信(上海)有限公司 Face image processing method and device, computer readable storage medium and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875594A (en) * 2018-05-28 2018-11-23 腾讯科技(深圳)有限公司 A kind of processing method of facial image, device and storage medium
CN110992248A (en) * 2019-11-27 2020-04-10 腾讯科技(深圳)有限公司 Lip makeup special effect display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114972053A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US9142054B2 (en) System and method for changing hair color in digital images
CN107229905B (en) Method and device for rendering color of lips and electronic equipment
Pei et al. Virtual restoration of ancient Chinese paintings using color contrast enhancement and lacuna texture synthesis
US10403036B2 (en) Rendering glasses shadows
TW202234341A (en) Image processing method and device, electronic equipment and storage medium
CN110663066A (en) Image processing apparatus, image processing system, image processing method, and program
CN111861632B (en) Virtual makeup test method, device, electronic equipment and readable storage medium
Oskam et al. Fast and stable color balancing for images and augmented reality
FR3062739A1 (en) SYSTEM AND METHOD FOR CORRECTION BASED ON THE LIGHT FIELD OF COLORED SURFACES IN AN IMAGE
Tan et al. Palette-based image decomposition, harmonization, and color transfer
Khan et al. A deep hybrid few shot divide and glow method for ill-light image enhancement
CN114972053B (en) Simulated lip gloss cosmetic method
Jang et al. Spectrum‐Based Color Reproduction Algorithm for Makeup Simulation of 3D Facial Avatar
Knecht et al. Adaptive camera-based color mapping for mixed-reality applications
Kips et al. Real‐time Virtual‐Try‐On from a Single Example Image through Deep Inverse Graphics and Learned Differentiable Renderers
CN114155569A (en) Cosmetic progress detection method, device, equipment and storage medium
JP7412610B2 (en) Using bidirectional texture functions
Avots et al. Automatic garment retexturing based on infrared information
Lopez-Moreno et al. Non-photorealistic, depth-based image editing
JP7585457B2 (en) Random Tile
Drago et al. Locally adaptive chromatic restoration of digitally acquired paintings
US20240215706A1 (en) Makeup virtual try on methods and apparatus
AU2020368983B2 (en) Method and system for rendering
US11380048B2 (en) Method and system for determining a spectral representation of a color
Lipowezky Automatic Hair Colorization and Relighting Using Chromaticity Distribution Matching

Legal Events

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