public class LookUpTable32LinearSRGBtoSRGB extends LookUpTable
| Modifier and Type | Field and Description |
|---|---|
protected int |
dwMaxOutput
Maximum output value of the LUT
|
int[] |
lut
the lut values.
|
curve, dwNumInput, eol| Modifier | Constructor and Description |
|---|---|
protected |
LookUpTable32LinearSRGBtoSRGB(int inMax,
int outMax,
double shadowCutoff,
double shadowSlope,
double scaleAfterExp,
double exponent,
double reduceAfterExp)
Construct the lut
|
| Modifier and Type | Method and Description |
|---|---|
static icc.lut.LookUpTable32 |
createInstance(ICCCurveType curve,
int dwNumInput,
int dwMaxOutput)
Factory method for getting a 32 bit lut from a given curve.
|
static LookUpTable32LinearSRGBtoSRGB |
createInstance(int inMax,
int outMax,
double shadowCutoff,
double shadowSlope,
double scaleAfterExp,
double exponent,
double reduceAfterExp)
Factory method for creating the lut.
|
int |
elementAt(int index)
lut accessor
|
String |
toString()
Create an abbreviated string representation of a 16 bit lut.
|
String |
toStringWholeLut()
Create the string representation of a 32 bit lut.
|
protected final int dwMaxOutput
public final int[] lut
protected LookUpTable32LinearSRGBtoSRGB(int inMax,
int outMax,
double shadowCutoff,
double shadowSlope,
double scaleAfterExp,
double exponent,
double reduceAfterExp)
wShadowCutoff - size of shadow regiondfShadowSlope - shadow region parameterksRGBLinearMaxValue - size of lutksRGB8ScaleAfterExp - post shadow region parameterksRGBExponent - post shadow region parameterksRGB8ReduceAfterExp - post shadow region parameterpublic static LookUpTable32LinearSRGBtoSRGB createInstance(int inMax, int outMax, double shadowCutoff, double shadowSlope, double scaleAfterExp, double exponent, double reduceAfterExp)
wShadowCutoff - size of shadow regiondfShadowSlope - shadow region parameterksRGBLinearMaxValue - size of lutksRGB8ScaleAfterExp - post shadow region parameterksRGBExponent - post shadow region parameterksRGB8ReduceAfterEx - post shadow region parameterpublic String toString()
public String toStringWholeLut()
public static icc.lut.LookUpTable32 createInstance(ICCCurveType curve, int dwNumInput, int dwMaxOutput)
curve - the datadwNumInput - the size of the lutdwMaxOutput - max output value of the lutpublic final int elementAt(int index)
index - of the elementCopyright © 2015. All rights reserved.