Thresholded K-Means Algorithm For Image Segmentation