private static class IndexImage.Counter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
count
the number of image-pixels with this color.
|
(package private) int |
val
contains the 'packed' rgb-color for this point.
|
Constructor and Description |
---|
Counter(int val) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
add(int val) |
(package private) int[] |
getRgb(int[] rgb)
convert the color-point of this counter to an rgb-array.
|
final int val
int count
boolean add(int val)
int[] getRgb(int[] rgb)
rgb
- an int[ 3 ] to store the result.