Turn images into paint-by-numbers! [kmeans, edge detection, flood fills]