Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of method and device for beautifying skin color transformation

A technology of skin color and color value, applied in the field of beautification and skin color transformation, can solve problems such as low efficiency, complex calculation, and poor effect, and achieve good whitening effect, optimization effect, and improved algorithm efficiency

Active Publication Date: 2021-09-03
北京美摄网络科技有限公司
View PDF5 Cites 0 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 and inefficient, or the calculation is simple, but the effect is not good, and it is impossible to take into account both

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
  • A kind of method and device for beautifying skin color transformation
  • A kind of method and device for beautifying skin color transformation
  • A kind of method and device for beautifying skin color transformation

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 501: Acquire the original image;

[0117] Step 502: Send an operation instruction to the original image, and determine whether the operation instruction is a rosy operation instruction or a whitening operation instruction;

[0118] For the above-mentioned steps 501-502, refer to the above-mentioned steps 101-102, and details are not repeated here.

[0119] Step 503, if the operation instruction is a whit...

Embodiment 3

[0146] 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:

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

[0148] 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;

[0149] 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;

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

[0151] 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 method and device for beautifying and changing skin color. The method includes: acquiring 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 the image red hue area in the RGB space of the original image; calculating The HSV space chromaticity of each pixel in the red hue area, the offset weight and the actual required offset angle; then convert each pixel to the YUV space, and according to the actual required offset angle, the pixel After the hue shift operation is performed by matrix operation, the saturation is increased by matrix operation; the pixels after the saturation increase in YUV space are converted into pixels in RGB space by matrix operation, so as to obtain the ruddy image corresponding to the original image. This application can improve the effect and efficiency of image skin color beautification transformation.

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, rosy, 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T3/00G06T7/90
CPCG06T3/0012G06T2207/10024G06T7/90
Inventor 郑鹏程陈曦见良刘铁华
Owner 北京美摄网络科技有限公司