摘要 |
The present invention relates to a method for red-eye detection in a digital input image (100, 100'), comprising: a face detection step to identify one or more face regions (SR, BB) within the input image (100, 100'), a redness and purple-brown mapping step, wherein for each pixel of said face regions (SR, BB) having (x, y) coordinates in the input image (100, 100') its redness and purple-brown values are calculated as follows (formula (I)), where f and f are functions, a-(ß+?)=0; a, µ, v > 0; ß, ? = 0, and a candidate red-eye regions (LRM) identification step, said candidate red eye regions (LRM) being portions of said face regions (SR, BB) having a computed redness average (R) and a computed purple-brown average (PB ) which satisfy: PB > first lower purple-brown limit and R > first lower redness limit, and lower PR limit < PR = R PB < upper PR limit. A further aspect of the invention relates to a method identifying at least one face in a digital image. |