therefore required to retrieve the lost red-eye color
pixels. The region of the red-eye candidate is sim-
ply extended by its neighboring red-eye color pixels.
That is, the boundary of the red-eye candidate region
centered on its center location is enlarged pixel by
one pixel to form a perfectly retrieved region of the
candidate.
Once the location and size of the red-eyes have
been detected, color correction of red-eyes is applied
to the detected red-eyes to obtain the natural appear-
ance of the pupil. To maintain the natural appear-
ance of the pupil at the location of red-eyes, the
value of luminance (L component) of the detected
red-eye is slightly adjusted and the values of hue and
chroma (a and b components) are adjusted based the
color relationship between red-eye and the corre-
sponding natural appearance of pupils on color-
opponent ab plane. For simplicity, the adjustment
for color correction is to scale down the value of a
component of red-eyes by a factor of 0.1 and to scale
down the value of b component of red-eyes by a
factor of 0.2 as shown in Figure 4. The value of
luminance of the detected red-eye is adjusted by a
factor of 0.9. That is,
L
corrected
= 0.9 × L
r
(10)
a
corrected
= 0.1 × a
r
(11)
b
corrected
= 0.2 × b
r
(12)
where (L
r
, a
r
, b
r
) and (L
corrected
, a
corrected
, b
corrected
) are
tristimulus values of the detected red-eye color pixel
and its corrected color pixel, respectively.
5 SIMULATION RESULTS AND
CONCLUSIONS
To evaluate the performance of the proposed algo-
rithm, the simulation of the red-eye detection algo-
rithm that is applied to red-eye digital images with
different size and quality is conducted. In Figure 5,
the “Pinksisters” image that has more than one pairs
of red-eyes is also detected and corrected by using
the proposed algorithm. In our experiments, over
200 red-eye digital photographs are tested and more
than 80% red-eyes are efficiently detected. The ex-
perimental results show that the proposed algorithm
is robust and effective under a variety of shooting
conditions and backgrounds.
In this paper, a fully automatic red-eyes detection
and correction algorithm is proposed. In the pro-
posed algorithm, a robust color classifier for detect-
ing red-eye color and other major colors in digital
images with red-eyes is developed and a multi-stage
criterion for detecting each single red-eye is de-
signed. The detected red-eyes are successfully cor-
rected by modifying chroma, hue angles and lumi-
nance of the associated pixels such that red color is
removed while maintaining a natural look of the eye.
The proposed system has very low false detection
rate. Simulation results show that more than 80% of
red-eyes can be detected and only 5% are false
alarm.
REFERENCES
Schildkraut, J.S. and Gray, R.T., 2002. “A fully automatic
red-eye detection and correction algorithm,” in Proc.
Int. Conf. on Image Processing ICIP, pp. I-801~803.
Matthew, G. and Robert, U. 2002. “Automatic red-eye
detection and correction,” in Proc. Int. Conf. on Image
Processing ICIP, pp. I-804~807.
Ioffe, S. 2003. “Red eye detection with machine learning,”
in Proc. Int. Conf. on Image Processing ICIP, pp. II-
871~874.
Zhang, L., Sun, Y. F., Li, M. J., and Zhang, H. J., 2004.
“Automated red-eye detection in digital photography,”
in Proc. Int. Conf. on Image Processing ICIP, pp.
2363-2366.
Xin, Z., Xu, Y. J., and Du, L. M., 1998. “Locating facial
features with color information,” in Proc. Int. Conf. on
Image Processing ICIP, Vol. 2, pp. 889-892.
CIE, 1986. Colorimetry, CIE Pub. No. 15.2, CIE Central.
Bureau, Vienna, Austria.
Sangwine, S. J. and Horne, R. E. N., 1998. The Colour
Image Processing Handbook. London: Chapman and
Hall.
Sharma, G. and Trusell, H. J. 1997. “Digital color imag-
ing,” IEEE Trans. on Image Processing, vol. 6, pp.
901-932.
MacAdam, D. L., 1943. “Specification of small chroma-
ticity differences,” J. Opt. Soc. Am, vol. 33, pp. 18-26.
(a)
Figure 5 (a): “Pinksisters” image with red-eyes, (b) the
image after correcting red-eye colors.
BIOSIGNALS 2008 - International Conference on Bio-inspired Systems and Signal Processing
266