ucar.jpeg.icc.lut
Class LookUpTableFP
java.lang.Object
ucar.jpeg.icc.lut.LookUpTable
ucar.jpeg.icc.lut.LookUpTableFP
- Direct Known Subclasses:
- LookUpTableFPGamma, LookUpTableFPInterp
public abstract class LookUpTableFP
- extends LookUpTable
Toplevel class for a float [] lut.
- Version:
- 1.0
- Author:
- Bruce A. Kern
Field Summary |
float[] |
lut
The lut values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lut
public final float[] lut
- The lut values.
LookUpTableFP
protected LookUpTableFP(ICCCurveType curve,
int dwNumInput)
- Construct an empty lut
- Parameters:
dwNumInput
- the size of the lut t lut.dwMaxOutput
- max output value of the lut
createInstance
public static LookUpTableFP createInstance(ICCCurveType curve,
int dwNumInput)
- Factory method for getting a lut from a given curve.
- Parameters:
curve
- the datadwNumInput
- the size of the lut
- Returns:
- the lookup table
elementAt
public final float elementAt(int index)
- lut accessor
- Parameters:
index
- of the element
- Returns:
- the lut [index]
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.