TransferFunctionpublic class LinearTransfer extends java.lang.Object implements TransferFunction
| Modifier and Type | Field | Description |
|---|---|---|
float |
intercept |
The intercept of the linear function
|
byte[] |
lutData |
This byte array stores the lookuptable data
|
float |
slope |
The slope of the linear function
|
| Constructor | Description |
|---|---|
LinearTransfer(float slope,
float intercept) |
Two floats as the input for the function
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getLookupTable() |
This method will return the lut data in order
to construct a LookUpTable object
|
public byte[] lutData
public float slope
public float intercept
public LinearTransfer(float slope,
float intercept)
public byte[] getLookupTable()
getLookupTable in interface TransferFunctionCopyright ? 2018 Apache Software Foundation. All Rights Reserved.