|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.jpeg.icc.lut.LookUpTable
ucar.jpeg.icc.lut.LookUpTable16
public abstract class LookUpTable16
Toplevel class for a short [] lut.
Field Summary | |
---|---|
protected int |
dwMaxOutput
Maximum output value of the LUT |
protected short[] |
lut
The lut values. |
Fields inherited from class ucar.jpeg.icc.lut.LookUpTable |
---|
curve, dwNumInput, eol |
Constructor Summary | |
---|---|
protected |
LookUpTable16(ICCCurveType curve,
int dwNumInput,
int dwMaxOutput)
Construct a 16 bit lut from a given curve. |
protected |
LookUpTable16(int dwNumInput,
int dwMaxOutput)
Construct an empty 16 bit lut |
Method Summary | |
---|---|
static LookUpTable16 |
createInstance(ICCCurveType curve,
int dwNumInput,
int dwMaxOutput)
Factory method for getting a 16 bit lut from a given curve. |
short |
elementAt(int index)
lut accessor |
String |
toString()
Create an abbreviated string representation of a 16 bit lut. |
String |
toStringWholeLut()
Create a full string representation of a 16 bit lut. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final int dwMaxOutput
protected final short[] lut
Constructor Detail |
---|
protected LookUpTable16(int dwNumInput, int dwMaxOutput)
dwNumInput
- the size of the lut t lut.dwMaxOutput
- max output value of the lutprotected LookUpTable16(ICCCurveType curve, int dwNumInput, int dwMaxOutput)
curve
- the datadwNumInput
- the size of the lut t lut.dwMaxOutput
- max output value of the lutMethod Detail |
---|
public String toString()
toString
in class Object
public String toStringWholeLut()
public static LookUpTable16 createInstance(ICCCurveType curve, int dwNumInput, int dwMaxOutput)
curve
- the datadwNumInput
- the size of the lutdwMaxOutput
- max output value of the lut
public final short elementAt(int index)
index
- of the element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |