public class PackedHistogram extends Object
Short.MAX_VALUE
the histogram will apply a bit shift on each color component in order to reduce the unique color count. Most vector maps
with alpha channel and antialiasing don't actually need the shift, but satellite and aerial imagery often doesModifier and Type | Class and Description |
---|---|
static class |
PackedHistogram.SortComponent
Enumerates the comparators for the various color components
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getColor(int i) |
long |
getCount(int i) |
int |
getPackedColor(int i) |
int |
getShift() |
int |
size() |
void |
sort(int start,
int end,
PackedHistogram.SortComponent sort) |
public int size()
public int getPackedColor(int i)
public int getColor(int i)
public long getCount(int i)
public void sort(int start, int end, PackedHistogram.SortComponent sort)
public int getShift()
public void clear()
Copyright © 2006–2015 GeoSolutions. All rights reserved.