public class MonochromeTransformTosRGB extends Object
jj2000.j2k.icc.RestrictedICCProfile,
jj2000.j2k.icc.lut.LookUpTableFP| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
MonochromeTransformTosRGB(RestrictedICCProfile ricc,
int dwInputMaxValue,
int dwInputShiftValue)
Construct the lut from the RestrictedICCProfile.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString()
String representation of class
|
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
public MonochromeTransformTosRGB(RestrictedICCProfile ricc, int dwInputMaxValue, int dwInputShiftValue)
ricc - input RestrictedICCProfiledwInputMaxValue - size of the output lut.dwInputShiftValue - value used to shift samples to positivepublic String toString()
public void apply(DataBlkInt inb, DataBlkInt outb) throws MonochromeTransformException
inb - input samplesoutb - output samples.MonochromeTransformExceptionpublic void apply(DataBlkFloat inb, DataBlkFloat outb) throws MonochromeTransformException
inb - input samplesoutb - output samples.MonochromeTransformExceptionCopyright © 2015. All rights reserved.