public class GainFilter extends TransferFilter
Modifier and Type | Field and Description |
---|---|
private float |
bias |
private float |
gain |
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.
|
String |
toString() |
protected float |
transferFunction(float f) |
filter, filterRGB, getLUT, initialize, makeTable
setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public GainFilter()
protected float transferFunction(float f)
transferFunction
in class TransferFilter
public void setGain(float gain)
gain
- the gaingetGain()
public float getGain()
setGain(float)
public void setBias(float bias)
bias
- the biasgetBias()
public float getBias()
setBias(float)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses