6 ms·
Also if you don't know what your target palette is you can do k-means clustering over colorspace, and the palette is the cluster centers (each point you're givi
by rabidsnail 10y ago
Also if you don't know what your target palette is you can do k-means clustering over colorspace, and the palette is the cluster centers (each point you're giving to k-means is an <r,g,b> or <h,s,v> vector).
- tixzdk 10y agoK-medians or k-medoids yield more pleasing results in my experience