public class LinearTransfer extends Object implements TransferFunction
| Modifier and Type | Field and 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 and Description |
|---|
LinearTransfer(float slope,
float intercept)
Two floats as the input for the function
|
| Modifier and Type | Method and 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 © 2000–2024 Apache Software Foundation. All rights reserved.