FAST FACE BEAUTIFYING METHOD FOR DIGITAL IMAGES
First Claim
1. A fast face beautifying method for digital images, comprising the following steps of:
- step 1;
reading an original image locally or remotely;
step 2;
performing Gaussian blur to the original image to obtain a blurred image;
step 3;
sequentially extracting a green channel value G of a single pixel of the original image, and performing linear light blending to the green channel with a corresponding pixel of the blurred image to obtain a first green channel value G1;
step 4;
performing continuous hard light blending to the first green channel value G1 obtained by linear light blending with the its own G1 to obtain a second green channel value G2;
step 5;
combining the second green channel value G2 with a red channel value R and a blue channel value B both obtained by Gaussian blur, to obtain a third green channel value G3;
step 6;
performing color mapping to the original image to obtain a whitened image;
step 7;
performing skin color recognition to the original image to obtain a corresponding skin color probability value; and
step 8;
using a product of the third green channel value G3 by the corresponding skin color probability value as a transparency, performing transparency blending to the original image and the whitened image to compose a beautified image.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a fast face beautifying method for digital images. Gaussian blur is performed to an original image to extract a green channel value which is then subject to linear light blending and hard light blending, and a blended green channel value is recalculated. Meanwhile, skin recognition and whitening are performed to the original image, and finally, by using a product of the recalculated green channel value by a probability obtained by skin recognition as a transparency, transparency blending is performed to the original image and the whitened image to compose a beautified image. Moreover, by performing skin recognition to the original image, black pixels will be prevented from being processing by an algorithm, so that hairs, eyes and other non skin parts will be prevented from being processing. Consequently, the final effect of beautification will become better and more natural.
-
Citations
14 Claims
-
1. A fast face beautifying method for digital images, comprising the following steps of:
-
step 1;
reading an original image locally or remotely;step 2;
performing Gaussian blur to the original image to obtain a blurred image;step 3;
sequentially extracting a green channel value G of a single pixel of the original image, and performing linear light blending to the green channel with a corresponding pixel of the blurred image to obtain a first green channel value G1;step 4;
performing continuous hard light blending to the first green channel value G1 obtained by linear light blending with the its own G1 to obtain a second green channel value G2;step 5;
combining the second green channel value G2 with a red channel value R and a blue channel value B both obtained by Gaussian blur, to obtain a third green channel value G3;step 6;
performing color mapping to the original image to obtain a whitened image;step 7;
performing skin color recognition to the original image to obtain a corresponding skin color probability value; andstep 8;
using a product of the third green channel value G3 by the corresponding skin color probability value as a transparency, performing transparency blending to the original image and the whitened image to compose a beautified image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
Specification