(Very) Quick Tip: Color Clustering

comment 0
Free Tutorials

We’ve been visiting Ars Electronica this weekend. It was amazing. Such a weird and wonderful collection of modern nerd art presented in an astonishingly creepy environment. (Think nuclear shelter underneath an abandoned logistics center). What that meant however is that there was only very little time to record a tutorial. That’s why this ended up being an extremely quickt tip.


The basic Idea is to abuse the cluster SOP to cluster colors. Usually the cluster SOP is meant to perform K-Means Clustering on position vectors. Or: to find groups of points and cluster them. However a color also is a vector. So the cluster SOP can easily be used to also find groups of colors and cluster them. Really handy if you want to reduce the color palette of an image down to its most prominent colors.

Liked it? Take a second to support Moritz on Patreon!

Leave a Reply