public final class ConcreteComponentTransferFunction extends java.lang.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 ComponentTransferFunction
public float getSlope()
getSlope
in interface ComponentTransferFunction
public float[] getTableValues()
getTableValues
in interface ComponentTransferFunction
public float getIntercept()
getIntercept
in interface ComponentTransferFunction
public float getAmplitude()
getAmplitude
in interface ComponentTransferFunction
public float getExponent()
getExponent
in interface ComponentTransferFunction
public float getOffset()
getOffset
in interface ComponentTransferFunction
Copyright © 2022 Apache Software Foundation. All Rights Reserved.