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.
COMMENTS
Please log in to leave a comment.