okaneco / kmeans-colors

k-means clustering library and binary to find dominant colors in images
Apache License 2.0
132 stars 9 forks source link

Reimplement kmeans with generics #9

Closed okaneco closed 4 years ago

okaneco commented 4 years ago

Deduplicate and simplify logic. Opens implementing kmeans for custom colors and other structures. Unblocks easier working with alpha channels.