public interface ArrayColorTable<T> extends ColorTable
ColorTable
implementations that use an array to
store their color table information. This interface provides an accessor to
that value array and other conveniences, and the generic type of this table
corresponds to the array type that is returned.ALPHA, BLUE, GREEN, RED
Modifier and Type | Method and Description |
---|---|
int |
argb(int i)
Converts the tuple at the given position into a packed ARGB value.
|
int |
getBits()
Gets the number of bits in each color component value.
|
int |
getNative(int comp,
int bin)
Gets an individual value from the color table.
|
T[] |
getValues()
Gets a copy of the entire color table.
|
get, getComponentCount, getLength, getResampled, lookupARGB
T[] getValues()
int argb(int i)
int getBits()
int getNative(int comp, int bin)
Value is unsigned with getBits()
bits.
comp
- The color component to query.bin
- The index into the color table.Copyright © 2015–2022 ImgLib2. All rights reserved.