Re:K-Means Clustering
by derwiki on Friday January 12, 2024 @08:59PM
(#38976642)
Used it in college to downscale an X color image to Y number of colors. Sure, Photoshop does it, but it was informative to do it manually.
[ Parent
| on HN ]
Re:K-Means Clustering
by refulgentis on Friday January 12, 2024 @09:18PM
(#38976728)
Google's Material You uses this to initiate color theming
(n.b. Celebi's, note usage of Lab / notHSL, respect Cartesian / polar nature of inputs / outputs, and ask for high-K, 128 is what we went with but it's arbitrary. Can get away with as few as 32 if you're ex. Doing brand color from favicon)