ucar.jpeg.icc.lut
Class LookUpTable8

java.lang.Object
  extended by ucar.jpeg.icc.lut.LookUpTable
      extended by ucar.jpeg.icc.lut.LookUpTable8
Direct Known Subclasses:
LookUpTable8Gamma, LookUpTable8Interp

public abstract class LookUpTable8
extends LookUpTable

Toplevel class for a byte [] lut.

Version:
1.0
Author:
Bruce A. Kern

Field Summary
protected  byte dwMaxOutput
          Maximum output value of the LUT
protected  byte[] lut
          The lut values.
 
Fields inherited from class ucar.jpeg.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
 String toString()
          Create an abbreviated string representation of a 16 bit lut.
 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 String toString()
Create an abbreviated string representation of a 16 bit lut.

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

toStringWholeLut

public String toStringWholeLut()

elementAt

public final byte elementAt(int index)
lut accessor

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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.