为了提高人脸检测的速度与性能,提出一种基于肤色相似度与动态阈值相结合的肤色分割方法。首先在YCgCr颜色空间计算肤色相似度,然后给出一种基于类间方差和类内离散度相结合的动态阈值确定方法,根据求得的动态阈值进行肤色分割,并对肤色分割后的二值图像进行滤除噪声处理。实验结果表明该方法改善了肤色分割性能,能够在复杂背景下实现肤色区域的精确分割。从而提高了人脸检测的速度和性能。
A method for skin segmentation based on similarity of skin color and dynamic threshold is proposed to improve the speed and performance of face detection.Firstly, the similarity of skin color is calculated in YCgCr space.Then, the method based on between-cluster variance and within-class scatter for selecting the threshold dynamically is proposed.Skin color segmentation is implemented according to the dynamic threshold.The binary image obtained by skin segmentation is processed in order to elimi- nate noise.The experimental results show that the proposed algorithm improves the performance of skin segmentation,and can seg- ment skin regions exactly in the complex background so as to improve the speed and performance of face detection.