Detecting human faces and detecting red eyes
First Claim
1. A method of detecting a red eye in an image, characterized by comprising steps of:
- calculating a skin color reference vector for said image;
identifying a candidate for red eye region in said image;
identifying skin color pixels in said candidate for red eye region;
removing skin color pixels from said candidate for red eye region;
deciding whether said candidate for red eye region is a red eye or not.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method and apparatus for detecting a red eye in an image. The method comprises steps of: calculating a skin color reference vector for said image; identifying a candidate for red eye region in said image; identifying skin color pixels in said candidate for red eye region; removing skin color pixels from said candidate for red eye region; deciding whether said candidate for red eye region is a red eye or not. The present invention also provides a method and apparatus for detecting a human face in an image. Moreover, the present invention provides corresponding storage medium including instructions for causing a processor to implement the methods. According to the present invention, red eyes and/or human faces can be detected with consideration of skin color pixels. The speed and accuracy of detecting red eyes and human faces are greatly increased.
-
Citations
14 Claims
-
1. A method of detecting a red eye in an image, characterized by comprising steps of:
-
calculating a skin color reference vector for said image;
identifying a candidate for red eye region in said image;
identifying skin color pixels in said candidate for red eye region;
removing skin color pixels from said candidate for red eye region;
deciding whether said candidate for red eye region is a red eye or not. - View Dependent Claims (2, 3, 4, 5, 8)
-
-
6. An apparatus for detecting a red eye in an image, characterized by comprising:
-
a calculator adapted to calculate a skin color reference vector for said image;
a candidate identifier circuit adapted to identify a candidate for red eye region in said image;
a candidate processor adapted to identify skin color pixels in said candidate for red eye region, and to remove said skin color pixels from said candidate for red eye region; and
a deciding unit adapted to decide whether said candidate for red eye region output by said candidate processor is a red eye or not. - View Dependent Claims (7)
-
-
9. A method for detecting a human face in an image, characterized by comprising steps of:
-
obtaining samples of skin colors of a face candidate;
calculating relative distances, from the color of said samples, of the pixels in said face candidate;
calculating a feature vector for said face candidate based on said relative distances; and
analyzing said face candidate to determine whether it is a human face based on said feature vector. - View Dependent Claims (10, 11, 12, 14)
-
-
13. An apparatus for detecting a human face in an image, characterized in that said apparatus comprises:
-
an obtaining unit adapted to obtain samples of skin colors of a face candidate;
a relative distance calculator adapted to calculate relative distances, from the color of the samples, of the pixels in the face candidate;
a feature vector calculator adapted to calculate a feature vector for the face candidate based on the relative distances; and
an analyzing unit adapted to analyze the face candidate to determine whether or not it is a human face based on said feature vector.
-
Specification