Beauty skin color change method and apparatus

A color transformation and skin color technology, applied in the field of beauty skin color transformation, can solve the problems of low efficiency, complex calculation, poor effect, etc., and achieve the effect of good whitening effect, optimization effect, beauty efficiency and effect improvement.

Active Publication Date: 2018-06-15
北京美摄网络科技有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Algorithms in the prior art are either good in beautifying skin color processing effect, but the calculation is complex

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Beauty skin color change method and apparatus
  • Beauty skin color change method and apparatus
  • Beauty skin color change method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] refer to figure 1 , which shows a flowchart of a method for beautifying and skin color transformation according to the present invention, which may specifically include the following steps:

[0067] Step 101, obtaining the original image;

[0068] In a specific implementation, the original image is acquired first, and skin color beautification processing is carried out on the original image. The original image may be an image that the user wishes to perform skin color beautification processing. refer to figure 2 , an original image is given without any skin color beautification processing.

[0069] Step 102, sending an operation instruction to the original image, and judging whether the operation instruction is a rosy operation instruction or a whitening operation instruction;

[0070] In this application, the user sends an operation instruction, and by judging the instruction, the processing of ruddy or whitening the skin color of the picture is realized.

[0071]...

Embodiment 2

[0114] refer to Figure 5 , which shows a flow chart of a method for beautifying and skin color transformation according to the present invention, which may specifically include the following steps:

[0115] In the embodiment of the present application, if the operation instruction changes, the way of beautifying the picture also changes. If it is a whitening operation instruction, the whitening change of the skin color of the picture will be realized, and the ruddy change of the skin color of the picture will not be described again. Please refer to Example 1.

[0116] Step 511, if the operation instruction is a whitening operation instruction, then for the value of each RGB pixel point in the RGB space, generate a color conversion mapping table according to the Bezier mapping curve function and cache it; the color conversion mapping table includes : the corresponding relationship between the original value of the RGB pixel and the whitening value after color transformation; ...

Embodiment 3

[0143] refer to Figure 7 , which shows a structural block diagram of a method for beautifying and skin color transformation according to an embodiment of the present application, which may specifically include:

[0144] An original image acquisition module 701, configured to acquire an original image;

[0145] An operation instruction judging module 702, configured to send an operation instruction to the original image, and judge whether the operation instruction is a rosy operation instruction or a whitening operation instruction;

[0146] A red hue area acquisition module 703, configured to acquire the red hue area of ​​the image in the RGB space of the original image if the operation instruction is a ruddy operation instruction;

[0147] HSV space chromaticity module 704, configured to calculate the HSV space chromaticity of the pixel for each pixel in the red hue region;

[0148] An offset weight module 705, configured to calculate the offset weight of the pixel accordi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a beauty skin color change method and apparatus. The method comprises the steps of obtaining an original image, sending an operation instruction to the original image and judging the operation instruction; if the operation instruction is a ruddy operation instruction, obtaining an image red hue region in an RGB space of the original image; calculating HSV space chroma, an offset weight and an actually required offset angle of each pixel point in the red hue region; converting each pixel point to a YUV space, and according to the actually required offset angle, performinghue offset operation on the pixel point through matrix operation, and increasing the saturation through the matrix operation; and converting each pixel point subjected to the saturation increment inthe YUV space into a pixel point of the RGB space through the matrix operation, thereby obtaining a ruddy image corresponding to the original image. The image skin color beauty change effect and efficiency can be improved.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method and device for beautifying and transforming skin color. Background technique [0002] In the later stage of image processing and in the app of the mobile terminal, it is usually possible to perform color processing on the skin color in the user's picture, such as whitening, ruddy, etc. In the traditional skin color beautification algorithm, there are usually interpolation methods and chroma brightening methods, and the overall brightness of the picture is improved through linear mapping or logarithmic curve mapping. Algorithms in the prior art are either good in skin color beautification but complex in calculation and low in efficiency, or simple in calculation but poor in effect and cannot take both into account. Contents of the invention [0003] The present invention provides a method and device for beautifying and transforming skin color, so as to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T3/00G06T7/90
CPCG06T3/0012G06T2207/10024G06T7/90
Inventor 郑鹏程陈曦见良刘铁华
Owner 北京美摄网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products