Implements the k-means clustering algoritmn on pixelated images to create images grouped into k clusters of pixel values
- Download the image_utils, k_means, and k_means_main files
- Run the k_means_main
- Enter the filepath to a ppm image saved to your desktop
- Enter a value for k, the number of color pixel values to group your image into
- Enter the name of the file that you want to save the clustered image as. Make sure that the file name ends with ".ppm"
For an image with an input value of k, expect the clustered image to contain k distinct color pixel values. As the value of k increases, you should oberserve that the clustered image more and more closely resembles the original, unclustered image