First time here? Check out the FAQ!
answered 2016-09-07 18:59:28 -0600
Well, if you need a specific number of colors, you should probably use kmeans instead. You treat each pixel as a data point, with 32 clusters. Then each pixel is turned into the cluster center it is closest to.