Searched refs:mInputPixelToCount (Results 1 – 2 of 2) sorted by relevance
52 private @Nullable Map<Integer, Integer> mInputPixelToCount; field in WSMeansQuantizer74 mInputPixelToCount = inputPixelToCount; in WSMeansQuantizer()86 if (mInputPixelToCount == null) { in quantize()89 mInputPixelToCount = mapQuantizer.getColorToCount(); in quantize()92 mPoints = new float[mInputPixelToCount.size()][3]; in quantize()93 mPixels = new int[mInputPixelToCount.size()]; in quantize()95 for (int pixel : mInputPixelToCount.keySet()) { in quantize()161 mClusterPopulations[i] = mInputPixelToCount.get(mPixels[i]); in initializeClusters()239 int count = mInputPixelToCount.get(pixel); in recalculateClusterCenters()
62 private Map<Integer, Integer> mInputPixelToCount; field in WuQuantizer75 mInputPixelToCount = quantizerMap.getColorToCount(); in quantize()79 Set<Integer> uniqueColors = mInputPixelToCount.keySet(); in quantize()81 mColors = new int[mInputPixelToCount.keySet().size()]; in quantize()87 constructHistogram(mInputPixelToCount); in quantize()108 return mInputPixelToCount; in inputPixelToCount()