Searched refs:maxColors (Results 1 – 3 of 3) sorted by relevance
91 public void quantize(final int[] pixels, final int maxColors, final Palette.Filter[] filters) { in quantize() argument138 if (distinctColorCount <= maxColors) { in quantize()151 mQuantizedColors = quantizePixels(maxColors); in quantize()167 private List<Swatch> quantizePixels(int maxColors) { in quantizePixels() argument170 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME); in quantizePixels()177 splitBoxes(pq, maxColors); in quantizePixels()
76 public void quantize(int[] pixels, int maxColors, Palette.Filter[] filters) { in quantize() argument89 final List<KMeans.Mean> optimalMeans = getOptimalKMeans(maxColors, hslPixels); in quantize()
25 void quantize(final int[] pixels, final int maxColors, final Palette.Filter[] filters); in quantize() argument