|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--icc.lut.MonochromeTransformTosRGB
This class constructs a LookUpTableFP from a RestrictedICCProfile. The values in this table are used to calculate a second lookup table (simply a short []). table. When this transform is applied to an input DataBlk, an output data block is constructed by using the input samples as indices into the lookup table, whose values are used to populate the output DataBlk.
jj2000.j2k.icc.RestrictedICCProfile
,
jj2000.j2k.icc.lut.LookUpTableFP
Field Summary | |
private int |
dwInputMaxValue
|
private static java.lang.String |
eol
|
private LookUpTableFP |
fLut
|
static double |
ksRGB8ReduceAfterExp
Transform parameter. |
static double |
ksRGB8ScaleAfterExp
Transform parameter. |
static double |
ksRGB8ShadowSlope
Transform parameter. |
static double |
ksRGBExponent
Transform parameter. |
static double |
ksRGBShadowCutoff
Transform parameter. |
static double |
ksRGBShadowSlope
Transform parameter. |
private short[] |
lut
|
Constructor Summary | |
MonochromeTransformTosRGB(RestrictedICCProfile ricc,
int dwInputMaxValue,
int dwInputShiftValue)
Construct the lut from the RestrictedICCProfile. |
Method Summary | |
void |
apply(DataBlkFloat inb,
DataBlkFloat outb)
Populate the output block by looking up the values in the lut, using the input as lut indices. |
void |
apply(DataBlkInt inb,
DataBlkInt outb)
Populate the output block by looking up the values in the lut, using the input as lut indices. |
java.lang.String |
toString()
String representation of class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String eol
public static final double ksRGBShadowCutoff
public static final double ksRGBShadowSlope
public static final double ksRGB8ShadowSlope
public static final double ksRGBExponent
public static final double ksRGB8ScaleAfterExp
public static final double ksRGB8ReduceAfterExp
private short[] lut
private int dwInputMaxValue
private LookUpTableFP fLut
Constructor Detail |
public MonochromeTransformTosRGB(RestrictedICCProfile ricc, int dwInputMaxValue, int dwInputShiftValue)
ricc
- input RestrictedICCProfiledwInputMaxValue
- size of the output lut.dwInputShiftValue
- value used to shift samples to positiveMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public void apply(DataBlkInt inb, DataBlkInt outb) throws MonochromeTransformException
inb
- input samplesoutb
- output samples.
MonochromeTransformException
public void apply(DataBlkFloat inb, DataBlkFloat outb) throws MonochromeTransformException
inb
- input samplesoutb
- output samples.
MonochromeTransformException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |