The color quantization code contained in the imagingbook library has been updated and enhanced (see package imagingbook.pub.color.quantize):

  • KMeansClusteringQuantizer: new quantizer using k-means clustering,
  • KMeansClusteringQuantizerApache: new quantizer using the Apache Commons Math k-means clustering implementation,
  • MedianCutQuantizer: revised version,
  • OctreeQuantizer: re-implemented and operational now.

All the above are subclasses of ColorQuantizer, which is now an abstract class (used to be an interface) and defines various common methods.

Demo ImageJ plugins are provided for the above classes in the imagingbook-plugins-all repository.

Advertisements