public final class ConcreteComponentTransferFunction extends Object implements ComponentTransferFunction
| Modifier and Type | Method and Description |
|---|---|
float |
getAmplitude()
Returns the amplitude value for this transfer function
|
static ComponentTransferFunction |
getDiscreteTransfer(float[] tableValues)
Returns a discrete transfer function
|
float |
getExponent()
Returns the exponent value for this transfer function
|
static ComponentTransferFunction |
getGammaTransfer(float amplitude,
float exponent,
float offset)
Returns a gamma function
|
static ComponentTransferFunction |
getIdentityTransfer()
Returns an instance initialized as an identity
transfer function
|
float |
getIntercept()
Returns the intercept value for this transfer function
|
static ComponentTransferFunction |
getLinearTransfer(float slope,
float intercept)
Returns a linear transfer function
|
float |
getOffset()
Returns the offset value for this transfer function
|
float |
getSlope()
Returns the slope value for this transfer function
|
static ComponentTransferFunction |
getTableTransfer(float[] tableValues)
Returns a table transfer function
|
float[] |
getTableValues()
Returns the table values for this transfer function
|
int |
getType()
Returns the type of this transfer function
|
public static ComponentTransferFunction getIdentityTransfer()
public static ComponentTransferFunction getTableTransfer(float[] tableValues)
public static ComponentTransferFunction getDiscreteTransfer(float[] tableValues)
public static ComponentTransferFunction getLinearTransfer(float slope, float intercept)
public static ComponentTransferFunction getGammaTransfer(float amplitude, float exponent, float offset)
public int getType()
getType in interface ComponentTransferFunctionpublic float getSlope()
getSlope in interface ComponentTransferFunctionpublic float[] getTableValues()
getTableValues in interface ComponentTransferFunctionpublic float getIntercept()
getIntercept in interface ComponentTransferFunctionpublic float getAmplitude()
getAmplitude in interface ComponentTransferFunctionpublic float getExponent()
getExponent in interface ComponentTransferFunctionpublic float getOffset()
getOffset in interface ComponentTransferFunctionCopyright © 2000–2024 Apache Software Foundation. All rights reserved.