Elsevier

Applied Soft Computing

Volume 33, August 2015, Pages 337-347
Applied Soft Computing

Hybrid Human Skin Detection Using Neural Network and K-Means Clustering Technique

https://doi.org/10.1016/j.asoc.2015.04.046Get rights and content

Highlights

  • The proposed method is a hybrid method that combines the neural networks and k-means.

  • Modelling skin with different color-texture descriptors was investigated. High accuracy of F1 = 87.82% can be achieved based on images from the ECU database.

  • Study showed that YIQ color space gives the highest separability in skin detection.

Abstract

Human skin detection is an essential step in most human detection applications, such as face detection. The performance of any skin detection system depends on assessment of two components: feature extraction and detection method. Skin color is a robust cue used for human skin detection. However, the performance of color-based detection methods is constrained by the overlapping color spaces of skin and non-skin pixels. To increase the accuracy of skin detection, texture features can be exploited as additional cues. In this paper, we propose a hybrid skin detection method based on YIQ color space and the statistical features of skin. A Multilayer Perceptron artificial neural network, which is a universal classifier, is combined with the k-means clustering method to accurately detect skin. The experimental results show that the proposed method can achieve high accuracy with an F1-measure of 87.82% based on images from the ECU database.

Graphical abstract

Proposed skin detection method.

  1. Download : Download full-size image

Introduction

Separating an image into regions that consist of groups of identical linked pixels is an image processing stage called image segmentation. The homogeneity of a region can be defined by the color, gray levels, and texture, among other factors [1]. Skin detection is a good example of image segmentation, which can be accomplished by classifying image pixels as skin and non-skin pixels [2].

The importance of skin color detection comes from its use as a primary operation in many applications, such as face detection [3], surveillance systems [4], Internet pornographic image filtering [5] and gesture analysis [6]. For example, face detection is accomplished by taking out the joint facial characteristics and by employing skin color detection as a primary step to specify the face area. As a result, accurate and fast face detection can be accomplished.

Many researchers have investigated skin color features. Their results have shown that skin color has a limited range of hues and is not deeply saturated [7]. Thus, human skin color is clustered within a small area in the color space. In the past few years, several algorithms have been proposed for skin detection. However, some factors, such as illumination, may make skin color detection a very difficult task. [2]. The existing algorithms can be categorized into four classes: explicit skin classifiers, parametric classifiers, nonparametric classifiers, and dynamic classifiers [8]. The explicit classifiers, which are the easiest and are frequently employed, use a threshold strategy to distinguish between skin and non-skin pixels [9]. Basically, they characterize the limits of the skin region by utilizing a set of fixed thresholds. Although such classifiers are direct and might be used without any prior training steps, they may need adaptability when utilized under distinct imaging conditions. This may result in incorrect pixel detection [8].

Parametric classifiers can be based on a single Gaussian model [10], multiple Gaussian clusters [11], a mixture of Gaussian (MoG) models [12], or an elliptic boundary model [13]. Generally, the characterization speed of these classifiers is slow. In fact, they need to process each pixel individually. Additionally, these methods have low detection accuracy, as they rely on approximated parameters rather than authentic appropriate skin colors [8]. Furthermore, their performance varies depending on the utilized color space [14].

In the nonparametric classifiers, a set of training data is essential for estimating the statistical model of skin color distribution [15]. The advantages of these classifiers are quick training and skin distribution shape independence [14]. Nevertheless, such classifiers are not precise enough because of the requirement for an unbounded amount of training information, which makes them appropriate in a constrained scope of imaging conditions [8].

To overcome the generality of the previous static skin model classifiers, dynamic classifiers, which are based on artificial neural networks (ANN) and/or genetic algorithms, have been proposed [16]. The flexibility and ability of ANNs to adapt to various image conditions make them a good choice for enhancing classification tasks for human skin pixels [7].

Most of the existing skin detection methods segment images using only skin color information. Based on the fact that the skin region of an image is a group(s) of homogenous connected pixels, texture information can be used to describe skin regions. Different texture descriptors, such as homogeneity, uniformity, and standard deviation, may be exploited for detection purposes [17].

Although color information plays the main role in modeling of skin, selecting the prober color space to present skin is crucial. Several comparisons between different color spaces used for skin detection can be found in the literature [18], [19], [20], [21], [22], but one important question still remains unanswered is, “what is the best color space for skin detection?” Many authors do not provide strict justification of their color space choice. Some of them cannot explain the contradicting results between their experiments or experiments reported by others [22]. Moreover, some authors think that selecting a specific color space is more related to personal taste rather than experimental evidences [18].

In this paper, a hybrid classifier that combines ANN with k-means clustering is proposed. The proposed classifier exploits the color and texture information to detect skin regions. This paper is organized as follows. In Section 2, an overview of related skin detection methods is presented. Section 3 describes the existing algorithms that form the background for the proposed method. The proposed skin detection method is described in Section 4. The experimental results are reported in Section 5; finally, a research discussion is presented in Section 6, and the conclusion is summarized in Section 7.

Section snippets

Related work

Artificial neural networks are interconnections of artificial neurons that, incredibly, mimic the organic neurons of the human brain. The main point of utilizing ANNs within skin color classification is to enhance the separability between skin and non-skin pixels. The first attempt to use an ANN for skin detection was made by Chen et al. [23]. They employed an ANN using the back propagation algorithm, utilizing the normalized RGB color space to reduce the sensitivity of illumination variations.

Theoretical background

In this section, three methods, which form the basis for the proposed method, are described, namely: (1) MLP ANN, (2) Differential Evolution (DE), and (3) k-means clustering. In addition, this section presents the skin color and texture information that are employed in this paper.

The proposed method

This work proposes an optimized method for human skin detection. By optimized, we mean selecting the set of input features that can be optimally used by an MLP ANN to achieve the best detection accuracy. Developing the proposed method involves two phases: training an MLP ANN to detect optimized input features and enhancing skin detection using k-means and an MLP ANN. During the first phase, the DE algorithm is used to select optimal input variables as a combination of the color and texture

Experimental results

The experiments were carried out using images from the ECU database. ECU images were used because the images are acquired using uncontrolled lighting conditions, and objects with a skin-like color often appear in the background, which makes skin detection a difficult process [46]. The ECU images are provided with ground truth skin binary masks that indicated the skin regions.

The proposed algorithm achieved an accuracy of F1 = 87.82% compared to the accuracy of F1 = 82.3% that can be achieved when

Discussion

From the table below, we observe that the proposed method has the highest accuracy, 87.82%, in terms of F1-measure. The main contributor to that accuracy is the optimized MLP ANN used. Even when only a simple dynamic threshold was used, the MLP ANN achieved an accuracy of 82.30%, which is still higher than the other methods we used for comparison. The experimental results confirmed the superior performance of ANN over the other methods. Although the method in Ref. [17] is based on ANN and

Conclusion

In this paper, a novel human skin detection method is proposed. The proposed method is a hybrid method that combines the advantages of two clustering techniques: neural networks and k-means. In addition, different combinations of color-texture descriptors were investigated to determine the optimal descriptor among the possible combinations. A powerful optimization method, DE, was used in order to determine the optimal combination that can be used for accurate skin detection. The experimental

Acknowledgment

The authors would like to acknowledge Universiti Sains Malaysia Research Grant Individual (USM-RUI) with No: 1001/PELECT/814092 for the financial support.

References (48)

  • P. Kakumanu et al.

    A survey of skin-color modeling and detection methods

    Pattern Recognit.

    (2007)
  • V. Aslantas

    An optimal robust digital image watermarking based on SVD using differential evolution algorithm

    Opt. Commun.

    (2009)
  • C.C. Liu et al.

    Objects extraction algorithm of color image using adaptive forecasting filters created automatically

    Int. J. Innov. Comput. Inf. Control

    (2011)
  • C. Zhipeng

    Face detection system based on skin color model

  • Z. Zhang et al.

    Head detection for video surveillance based on categorical hair and skin colour models

  • J.S. Lee et al.

    Detecting nakedness in color images

  • J. Han et al.

    Automatic skin segmentation and tracking in sign language recognition

    IET Comput. Vis.

    (2009)
  • H.K. Al-Mohair et al.

    Human skin color detection: a review on neural network perspective

    Int. J. Innov. Comput. Inf. Control

    (2012)
  • M. Abdullah-Al-Wadud et al.

    A skin detection approach based on color distance map

    EURASIP J. Adv. Signal Process.

    (2008)
  • F. Xiang

    Fusion of multi color space for human skin region segmentation

    Int. J. Inf. Electron. Eng.

    (2013)
  • H.K. Almohair et al.

    Skin detection in luminance images using threshold technique

    Int. J. Comput. Internet Manag.

    (2007)
  • Son Lam Phung et al.

    A novel skin color model in YCBCR color space and its application to human face detection

    (2002)
  • M.F. Hossain et al.

    Automatic facial skin detection using Gaussian Mixture Model under varying illumination

    Int. J. Innov. Comput. Inf. Control

    (2012)
  • B. Kwolek

    Face tracking system based on color, stereovision and elliptical shape features

  • V.S.A. Vladimir Vezhnevets et al.

    A survey on pixel-based skin color detection techniques

    (2003)
  • S. Khan et al.

    Adaptive classifier for robust detection of signing articulators based on skin colour

  • C.A. Doukim et al.

    Combining neural networks for skin detection

    Signal Image Process. Int. J.

    (2010)
  • A.Y. Taqa et al.

    Increasing the reliability of skin detectors

    Sci. Res. Essays

    (2010)
  • A. Abadpour et al.

    Comprehensive Evaluation of the Pixel-Based Skin Detection Approach for Pornography Filtering in the Internet Resources

    (1996)
  • B.D. Zarit, B.J. Super, F.K.H. Quek, Comparison of five color models in skin pixel classification, in: Proc. Int. Work....
  • J.-C. Terrillon et al.

    Comparative performance of different skin chrominance models and chrominance spaces for the automatic detection of human faces in color images

  • G. Gomez et al.

    On selecting colour components for skin detection

  • D. Kuiaski et al.

    A study of the effect of illumination conditions and color spaces on skin segmentation

  • L. Chen et al.

    A skin detector based on neural network,

    (2002)
  • Cited by (71)

    • Fair comparison of skin detection approaches on publicly available datasets

      2020, Expert Systems with Applications
      Citation Excerpt :

      SVM based systems are parametric models based on SVM classifier: this class also overlaps adaptive methods if the SVM classifier is trained using active learning (Han, Award, Sutherland, & Wu, 2006). Mixture techniques are the methods based on the mixture of different machine learning approaches (Al-Mohair, Mohamad Saleh, & Suandi, 2015; Jiang, Yao, & Jiang, 2007). In the last few years the research in skin detection has taken two main directions, according to the following consideration: even if in the most general applications nothing should be assumed about the background and the acquisition conditions, in many applications the difference between skin and background is large, the acquisition conditions are controlled and the skin region is quite easy to detect.

    View all citing articles on Scopus
    View full text