Automatic Red-Eye Removal based on Sclera and Skin Tone Detection
It is well-known that taking portrait photographs with a built in camera may create a red-eye effect. This effect is caused by the light entering the subject’s eye through the pupil and reflecting from the retina back to the sensor. These red eyes are probably one of the most important types of artifacts in portrait pictures. Many different techniques exist for removing these artifacts digitally after image capture. In most of the existing software tools, the user has to select the zone in which the red eye is located. The aim of our method is to automatically detect and correct the red eyes. Our algorithm detects the eye itself by finding the appropriate colors and shapes without input from the user. We use the basic knowledge that an eye is haracterized by its shape and the white color of the sclera. Combining this intuitive approach with the detection of “skin” around the eye, we obtain a higher success rate than most of the tools we tested. Moreover, our algorithm works for any type of skin tone. The main goal of this algorithm is to accurately remove red eyes from a picture, while avoiding false positives completely, which is the biggest problem of camera integrated algorithms or distributed software tools. At the same time, we want to keep the false negative rate as low as possible. We implemented this algorithm in a web-based application to allow people to correct their images online.