Hacker News new | past | comments | ask | show | jobs | submit login

K-means is only grouping all of the pixels in to K disjoint clusters, not actually altering the value of the pixels. Taking an entire cluster of pixels and shifting their values in the RGB space could produce some very interesting images. For example, you could easily make all of the almost-white pixels slightly blue. There would be no loss of variety among the pixels, they would just all have their blue values bumped up.



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

Search: