public class GainFilter extends TransferFilter
bTable, gTable, initialized, rTable
canFilterIndexColorModel
Constructor and Description |
---|
GainFilter() |
Modifier and Type | Method and Description |
---|---|
float |
getBias()
Get the bias.
|
float |
getGain()
Get the gain.
|
void |
setBias(float bias)
Set the bias.
|
void |
setGain(float gain)
Set the gain.
|
java.lang.String |
toString() |
protected float |
transferFunction(float f) |
filter, filterRGB, getLUT, initialize, makeTable
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
protected float transferFunction(float f)
transferFunction
in class TransferFilter
public void setGain(float gain)
gain
- the gain, min-value: 0, max-value: 1.getGain()
public float getGain()
setGain(float)
public void setBias(float bias)
bias
- the bias, min-value: 0, max-value: 1.getBias()
public float getBias()
setBias(float)
public java.lang.String toString()
toString
in class java.lang.Object