Mark Zucker proposes a few different avenues on which to improve/extend this module:
- spectral clustering on the nearest neighbor graph of a set of color samples see paper
- expectation maximization to form a Gaussian mixture model describing the color distribution
- attempt to automatically determine the "best" number of clusters for a given image
- "perceptually uniform" colorspace like Lab* to cluster in
Mark Zucker proposes a few different avenues on which to improve/extend this module: