Squiz Matrix
4.12.2
|
Public Member Functions | |
LookUpTable (Image img) | |
LookUpTable (ColorModel cm) | |
int | getMapSize () |
byte[] | getReds () |
byte[] | getGreens () |
byte[] | getBlues () |
ColorModel | getColorModel () |
boolean | isGrayscale () |
void | drawColorBar (Graphics g, int x, int y, int width, int height) |
void | drawUnscaledColorBar (ImageProcessor ip, int x, int y, int width, int height) |
Static Public Member Functions | |
static ColorModel | createGrayscaleColorModel (boolean invert) |
This class represents a color look-up table.
Definition at line 7 of file LookUpTable.java.
|
inline |
Constructs a LookUpTable object from an AWT Image.
Definition at line 15 of file LookUpTable.java.
|
inline |
Constructs a LookUpTable object from a ColorModel.
Definition at line 26 of file LookUpTable.java.
|
inline |
Returns true
if this is a 256 entry grayscale LUT.
Definition at line 66 of file LookUpTable.java.