针对夜间照片常会产生红眼现象,提出一种自动红眼检测与消除算法。首先利用AdaBoost算法检测出人脸,减少红眼搜索区域;然后根据CIELAB颜色空间的特性提取可能红眼区域;最后对可能红眼区域进行约束过滤获得最终的红眼位置。对定位后的红眼像素进行修正,并在边界处运用平滑滤波,消除红眼后的人眼更自然。实验证明该方法能自动地消除红眼,并对典型红眼及偏黄红眼、偏暗红眼均有很好的鲁棒性。
According to the artifact known as red-eye of photographs taken at night,an automatic red-eye detection and correction method was presented.Firstly used AdaBoost algorithm to detect faces,could reduce the red-eyes searching area.Then found the possible red-eye regions by the property of CIELAB color space,obtained ultimate red-eye location to filter the possible red-eye regions by constraints.The human eyes seem more natural after correcting the pixels of the ture red-eye regions and smoothing the pixels o...