Art with K-Means Machine Learning:
The other day my friend Nathan pointed me to the a Google+ post of Mohit
Muthanna here.
Take all the pixels of a photograph, and rearrange them so that the final image looks like an artist's palette -- something to which you can take a paintbrush and recreate the original image.
Below is an example of an image he made, using k-means to cluster the pixels. But why stop there? I decided to try going ahead and automatically paint the image with the palette. If you were to do this by painting every pixel with average color for its cluster, then this is just a form of posterization (a cute way to do image compression).
Sierra Nevada CA
Sierra Nevada CA
Zurich
Below are a few more examples,NJIT Library
Sierra Nevada CA
Israel
England
Last Shuttle Launch
Calais
The code to do all this was written in Matlab, with the help of M. Chen's K-Means function. I'd be glad to give anyone the code, just email me.