A Map
which provides specific Binary Search-based map behaviour
with breaks and a break strategy.
A Map
which provides specific Binary Search-based map behaviour
with breaks and a break strategy.
val bm: BreakMap[Int, Int] = ... val t: Tile = ... // Map all the cells of `t` to a target bin value in O(klogn). val newT: Tile = t.map(vm)
Note: A
and B
are specialized on Int
and Double
.
Root element in hierarchy for specifying the type of boundary when classifying colors
A ColorRamp represents a sequence of RGBA color values
A color map where the breaks are monotonically increasing integer values starting at zero.
A color map where the breaks are monotonically increasing integer values starting at zero. Primarily used for capturing and persisting indexed color maps in GeoTIFFs.
Caches a color ramp based on a histogram of values.
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.
A strategy for mapping values via a BreakMap.
A strategy for mapping values via a BreakMap.
Note: Specialized for Int
and Double
.
Helper methods for constructing BreakMaps.
Helper methods for constructing a MapStrategy.