An automatic unsupervised fuzzy method for image segmentation