Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

K-means clustering gives you a set of centroids which are the calculated means of each cluster. If you only want actually occurring colors, just look up the color closest to each centroid.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: