[]
        
(Showing Draft Content)

CSJ2K.Icc.Lut.LookUpTable16LinearSRGBtoSRGB.createInstance

createInstance Method

createInstance(int, double, int, double, double, double)

Factory method for creating the lut.

Declaration
public static LookUpTable16LinearSRGBtoSRGB createInstance(int wShadowCutoff, double dfShadowSlope, int ksRGBLinearMaxValue, double ksRGB8ScaleAfterExp, double ksRGBExponent, double ksRGB8ReduceAfterEx)
Public Shared Function createInstance(wShadowCutoff As Integer, dfShadowSlope As Double, ksRGBLinearMaxValue As Integer, ksRGB8ScaleAfterExp As Double, ksRGBExponent As Double, ksRGB8ReduceAfterEx As Double) As LookUpTable16LinearSRGBtoSRGB
Parameters
Type Name Description
int wShadowCutoff

size of shadow region

double dfShadowSlope

shadow region parameter

int ksRGBLinearMaxValue

size of lut

double ksRGB8ScaleAfterExp

post shadow region parameter

double ksRGBExponent

post shadow region parameter

double ksRGB8ReduceAfterEx

post shadow region parameter

Returns
Type Description
LookUpTable16LinearSRGBtoSRGB

the lut