icc.lut
Class LookUpTable8

java.lang.Object
  |
  +--icc.lut.LookUpTable
        |
        +--icc.lut.LookUpTable8
Direct Known Subclasses:
LookUpTable8Gamma, LookUpTable8Interp

public abstract class LookUpTable8
extends LookUpTable

Toplevel class for a byte [] lut.


Field Summary
protected  byte dwMaxOutput
          Maximum output value of the LUT
protected  byte[] lut
          The lut values.
 
Fields inherited from class icc.lut.LookUpTable
curve, dwNumInput, eol
 
Constructor Summary
protected LookUpTable8(ICCCurveType curve, int dwNumInput, byte dwMaxOutput)
          Create the string representation of a 16 bit lut.
protected LookUpTable8(int dwNumInput, byte dwMaxOutput)
           
 
Method Summary
 byte elementAt(int index)
          lut accessor
 java.lang.String toString()
          Create an abbreviated string representation of a 16 bit lut.
 java.lang.String toStringWholeLut()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dwMaxOutput

protected final byte dwMaxOutput
Maximum output value of the LUT


lut

protected final byte[] lut
The lut values.

Constructor Detail

LookUpTable8

protected LookUpTable8(int dwNumInput,
                       byte dwMaxOutput)

LookUpTable8

protected LookUpTable8(ICCCurveType curve,
                       int dwNumInput,
                       byte dwMaxOutput)
Create the string representation of a 16 bit lut.

Method Detail

toString

public java.lang.String toString()
Create an abbreviated string representation of a 16 bit lut.

Overrides:
toString in class java.lang.Object
Returns:
the lut as a String

toStringWholeLut

public java.lang.String toStringWholeLut()

elementAt

public final byte elementAt(int index)
lut accessor

Parameters:
index - of the element
Returns:
the lut [index]