API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. ByteLookupTable View Source
Author(s)
Since
Version
10 Feb 1997
Serial
Hierarchy
 Object
      LookupTable
          ByteLookupTable
Implements
Subclasses
Description
public class ByteLookupTable
  This class defines a lookup table object.
See also:    ShortLookupTable LookupOp
Constructors
public ByteLookupTable (int offset, byte[] data)
  Constructs a ByteLookupTable object from an array of bytes representing a lookup table to be applied to all bands.
public ByteLookupTable (int offset, byte[][] data)
  Constructs a ByteLookupTable object from an array of byte arrays representing a lookup table for each band.
Methods
Hide/Show inherited methods
public int getNumComponents () [Inherited From LookupTable]
  Returns the number of components in the lookup table.
public int getOffset () [Inherited From LookupTable]
  Returns the offset.
publicfinal byte getTable ()
  Returns the lookup table data by reference.
public byte lookupPixel (byte[] src, byte[] dst)
  Returns an array of samples of a pixel, translated with the lookup table.
public int lookupPixel (int[] src, int[] dst) [Specified in LookupTable]
  Returns an array of samples of a pixel, translated with the lookup table.
Fields
Hide/Show inherited fields
pack-private byte data
Constants
pack-private int numComponents [Inherited From LookupTable]
Constants
pack-private int numEntries [Inherited From LookupTable]
pack-private int offset [Inherited From LookupTable]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar