Face image processing method
First Claim
1. A face image processing method, which is applied to an electronic device, comprising the steps of:
- automatically performing a face detection to a digital image to obtain a face image in the digital image;
marking a frame on the face image after the face image is obtained;
performing a skin color detection to the face image corresponding to the frame to exclude non-skin features on the face image, and forming a skin mask on the face image within an area range belonging to a skin color, wherein a multi-seeds algorithm is adopted when the skin color detection is performed to the face image, and the multi-seeds algorithm comprises the steps of;
forming a predetermined quantity of uniformly arranged seeds within the frame;
determining whether or not a pixel color at a corresponding position within the frame is the skin color according to the position of each seed, in order to perform a skin color filtering;
computing a center color for the pixel colors belonging to the skin color after the skin color filtering takes place; and
sorting the pixel colors and the center colors corresponding to all the seeds, and deleting the seeds having colors different from the center color over a predetermined chromatic aberration, and the remaining seeds become the skin mask; and
performing a filtering process to the area range corresponding to the skin mask on the face image to filter high-frequency, mid-frequency and low-frequency noises in the area range of the skin mask.
5 Assignments
0 Petitions
Accused Products
Abstract
A face image processing method is applied to an electronic device, such that the electronic device can perform a face detection to a digital image to obtain a face image in the digital image automatically, and perform a skin color detection to the face image to exclude non-skin features such as eyes, eyeglasses, eyebrows, a moustache, a mouth and nostrils on the face image, and form a skin mask in an area range of the face image belonging to skin color, and finally perform a filtering process to the area range of the face image corresponding to the skin mask to filter high-frequency, mid-frequency and low-frequency noises of an abnormal skin color in the area range of the face image, so as to quickly remove blemishes and dark spots existed in the area range of the face image.
39 Citations
4 Claims
-
1. A face image processing method, which is applied to an electronic device, comprising the steps of:
-
automatically performing a face detection to a digital image to obtain a face image in the digital image; marking a frame on the face image after the face image is obtained; performing a skin color detection to the face image corresponding to the frame to exclude non-skin features on the face image, and forming a skin mask on the face image within an area range belonging to a skin color, wherein a multi-seeds algorithm is adopted when the skin color detection is performed to the face image, and the multi-seeds algorithm comprises the steps of; forming a predetermined quantity of uniformly arranged seeds within the frame; determining whether or not a pixel color at a corresponding position within the frame is the skin color according to the position of each seed, in order to perform a skin color filtering; computing a center color for the pixel colors belonging to the skin color after the skin color filtering takes place; and sorting the pixel colors and the center colors corresponding to all the seeds, and deleting the seeds having colors different from the center color over a predetermined chromatic aberration, and the remaining seeds become the skin mask; and performing a filtering process to the area range corresponding to the skin mask on the face image to filter high-frequency, mid-frequency and low-frequency noises in the area range of the skin mask. - View Dependent Claims (2, 3, 4)
-
Specification