|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--icc.lut.MatrixBasedTransformTosRGB
Transform for applying ICCProfiling to an input DataBlk
DataBlkInt
,
DataBlkFloat
Field Summary | |
private static int |
BLUE
|
private int |
dwMaxCols
|
private int |
dwMaxRows
|
private int[] |
dwMaxValue
|
private int[] |
dwShiftValue
|
private static java.lang.String |
eol
|
private float[][] |
fBuf
|
private LookUpTableFP[] |
fLut
|
private static int |
GREEN
|
private static double |
ksRGBExponent
|
private static double |
ksRGBReduceAfterExp
|
private static double |
ksRGBScaleAfterExp
|
private static double |
ksRGBShadowCutoff
|
private static double |
ksRGBShadowSlope
|
private LookUpTable32LinearSRGBtoSRGB |
lut
|
private static int |
M00
|
private static int |
M01
|
private static int |
M02
|
private static int |
M10
|
private static int |
M11
|
private static int |
M12
|
private static int |
M20
|
private static int |
M21
|
private static int |
M22
|
private double[] |
matrix
|
private static int |
RED
|
private static double |
SRGB00
|
private static double |
SRGB01
|
private static double |
SRGB02
|
private static double |
SRGB10
|
private static double |
SRGB11
|
private static double |
SRGB12
|
private static double |
SRGB20
|
private static double |
SRGB21
|
private static double |
SRGB22
|
Constructor Summary | |
MatrixBasedTransformTosRGB(RestrictedICCProfile ricc,
int[] dwMaxValue,
int[] dwShiftValue)
Construct a 3 component transform based on an input RestricedICCProfile This transform will pass the input throught a floating point lut (LookUpTableFP), apply a matrix to the output and finally pass the intermediate buffer through a 8-bit lut (LookUpTable8). |
Method Summary | |
void |
apply(DataBlkFloat[] inb,
DataBlkFloat[] outb)
Performs the transform. |
void |
apply(DataBlkInt[] inb,
DataBlkInt[] outb)
Performs the transform. |
private double[] |
createMatrix(RestrictedICCProfile ricc,
int[] maxValues)
|
private static void |
standardizeMatrixLineThroughLut(DataBlkFloat inb,
float[] out,
float dwInputMaxValue,
LookUpTableFP lut)
|
private static void |
standardizeMatrixLineThroughLut(DataBlkInt inb,
float[] out,
int dwInputMaxValue,
LookUpTableFP lut)
|
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
private static final int RED
private static final int GREEN
private static final int BLUE
private static final double SRGB00
private static final double SRGB01
private static final double SRGB02
private static final double SRGB10
private static final double SRGB11
private static final double SRGB12
private static final double SRGB20
private static final double SRGB21
private static final double SRGB22
private static final int M00
private static final int M01
private static final int M02
private static final int M10
private static final int M11
private static final int M12
private static final int M20
private static final int M21
private static final int M22
private static final double ksRGBExponent
private static final double ksRGBScaleAfterExp
private static final double ksRGBReduceAfterExp
private static final double ksRGBShadowCutoff
private static final double ksRGBShadowSlope
private final double[] matrix
private LookUpTableFP[] fLut
private LookUpTable32LinearSRGBtoSRGB lut
private final int[] dwMaxValue
private final int[] dwShiftValue
private int dwMaxCols
private int dwMaxRows
private float[][] fBuf
Constructor Detail |
public MatrixBasedTransformTosRGB(RestrictedICCProfile ricc, int[] dwMaxValue, int[] dwShiftValue)
ricc
- input profiledwMaxValue
- clipping value for output.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
private double[] createMatrix(RestrictedICCProfile ricc, int[] maxValues)
public void apply(DataBlkInt[] inb, DataBlkInt[] outb) throws MatrixBasedTransformException
inb
- input data blockoutb
- output data block
MatrixBasedTransformException
public void apply(DataBlkFloat[] inb, DataBlkFloat[] outb) throws MatrixBasedTransformException
inb
- input data blockoutb
- output data block
MatrixBasedTransformException
private static void standardizeMatrixLineThroughLut(DataBlkInt inb, float[] out, int dwInputMaxValue, LookUpTableFP lut)
private static void standardizeMatrixLineThroughLut(DataBlkFloat inb, float[] out, float dwInputMaxValue, LookUpTableFP lut)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |