public class MedianCutQuantizer extends ColorQuantizer
Modifier and Type | Class and Description |
---|---|
static class |
MedianCutQuantizer.Parameters |
MAX_RGB
Constructor and Description |
---|
MedianCutQuantizer(ij.process.ColorProcessor ip,
int Kmax)
Deprecated.
|
MedianCutQuantizer(int[] pixels,
int Kmax)
Deprecated.
|
MedianCutQuantizer(int[] pixels,
MedianCutQuantizer.Parameters params) |
Modifier and Type | Method and Description |
---|---|
int |
countQuantizedColors()
Deprecated.
|
int[][] |
getColorMap()
Retrieves the color map produced by this color quantizer.
|
imagingbook.pub.color.quantize.MedianCutQuantizer.ColorNode[] |
getQuantizedColors()
Deprecated.
|
findColorIndex, intToRgb, listColorMap, log2, quantize, quantize, quantize, rgbToInt, sqr
@Deprecated public MedianCutQuantizer(ij.process.ColorProcessor ip, int Kmax)
@Deprecated public MedianCutQuantizer(int[] pixels, int Kmax)
public MedianCutQuantizer(int[] pixels, MedianCutQuantizer.Parameters params)
public int[][] getColorMap()
ColorQuantizer
getColorMap
in class ColorQuantizer
@Deprecated public int countQuantizedColors()
@Deprecated public imagingbook.pub.color.quantize.MedianCutQuantizer.ColorNode[] getQuantizedColors()
Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)