haroldo-ok / RgbQuant-SMS.js

RgbQuant.js adapted for quantizing images for the Sega Master System hardware
https://haroldo-ok.github.io/RgbQuant-SMS.js/RgbQuant-SMS.js/demo/index.html
15 stars 1 forks source link

Improve speed #13

Open haroldo-ok opened 1 year ago

haroldo-ok commented 1 year ago

Main culprit seems to be the clusterfck k-means implementation: image

haroldo-ok commented 1 year ago

Update: the skmeans library seems to be much slower than clusterfck for the kind of problem we're trying to solve.

haroldo-ok commented 1 year ago

Some possibilities: