pixels cluster with k-means and EM algorithm.
Apply color quantization to images using k-means clustering.