Skin segmentation using multiple thresholding