Really useful addon, thanks a lot!
I seem to get weird results with images that have small amounts of colours or hues.
For example this is colorized to red but has more than 256 colours
colorQuantizer.setNumColors( 17 ); // wrong colours appear, but round 12 looks ok

With very low numbers of colours it breaks earlier
colorQuantizer.setNumColors( 7 );

Any suggestions on kmean parameters that could be tweaked to avoid this?
Cheers!
Really useful addon, thanks a lot!
I seem to get weird results with images that have small amounts of colours or hues.
For example this is colorized to red but has more than 256 colours

colorQuantizer.setNumColors( 17 ); // wrong colours appear, but round 12 looks ok
With very low numbers of colours it breaks earlier

colorQuantizer.setNumColors( 7 );
Any suggestions on kmean parameters that could be tweaked to avoid this?
Cheers!