Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
LookUpTable Class Reference
Inheritance diagram for LookUpTable:

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)
 

Detailed Description

This class represents a color look-up table.

Definition at line 7 of file LookUpTable.java.

Constructor & Destructor Documentation

LookUpTable ( Image  img)
inline

Constructs a LookUpTable object from an AWT Image.

Definition at line 15 of file LookUpTable.java.

LookUpTable ( ColorModel  cm)
inline

Constructs a LookUpTable object from a ColorModel.

Definition at line 26 of file LookUpTable.java.

Member Function Documentation

boolean isGrayscale ( )
inline

Returns true if this is a 256 entry grayscale LUT.

See Also
ij.process.ImageProcessor::isColorLut

Definition at line 66 of file LookUpTable.java.


The documentation for this class was generated from the following file: