All color values that can be encountered
Histogram where counts of values have been replaced cached RGBA color
Retrieve a "breaks string" from ColorMap data.
Retrieve a "breaks string" from ColorMap data. The opposite of the ColorMap.fromString methods.
All color values that can be encountered
All color values that can be encountered
Maps each color value to its index in the colors sequence.
Maps each color value to its index in the colors sequence. This is useful for table lookup encodings (ex: geotrellis.raster.render.png.IndexedPngEncoding)
Caches a color ramp based on a histogram of values. This is an optimization, since often times we create a histogram while classifying, and can reuse that computed information in the color mapping.
In order for this class to work correctly the histogram acts as a map from values to their colors and must contain a value for each pixel value that we expect to encounter.
The performance benefit is
eC
lookup cost instead ofLog
provided by IntColorMap