Image Segmentation Using k-Means Clustering A demonstration of image segmentation using k-means clustering. Various examples and a detailed tutorial on the implementation can be found here Examples of generating image-based palettes can be found here