image_segment_kmeans function

Image segmentation using k-means clustering