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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


