3 ms·
Yes, some are pretty funky :). Gradients, photographs etc can be one reason. Still I think some are pretty nice :).
by drikerf 9y ago
Yes, some are pretty funky :). Gradients, photographs etc can be one reason. Still I think some are pretty nice :).
- tw1010 9y agoI don't know how you're doing the palette extraction right now, but if want something to experiment with I'd suggest you take a look at using k-means clustering. In other words see the set of pixels as points in a 3D space (where the axes are red, green and blue) and then perform k-means clustering on the points. You could then extract the palette from the centroids. If k-means doesn't give satisfactory results, try spectral clustering.
- drikerf 9y agoSounds cool, thanks :)! I'll look into some more methods soon!