public class GammaFilter extends TransferFilter
bTable, gTable, initialized, rTable
canFilterIndexColorModel
filterListener
Constructor and Description |
---|
GammaFilter()
Construct a GammaFilter.
|
GammaFilter(float gamma)
Construct a GammaFilter.
|
GammaFilter(float rGamma,
float gGamma,
float bGamma)
Construct a GammaFilter.
|
Modifier and Type | Method and Description |
---|---|
float |
getGamma()
Get the gamma level.
|
protected void |
initialize() |
void |
setGamma(float gamma)
Set the gamma level.
|
void |
setGamma(float rGamma,
float gGamma,
float bGamma)
Set the gamma levels.
|
String |
toString() |
filter, filterRGB, getLUT, makeTable, transferFunction
setDimensions
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public GammaFilter()
public GammaFilter(float gamma)
gamma
- the gamma level for all RGB channelspublic GammaFilter(float rGamma, float gGamma, float bGamma)
rGamma
- the gamma level for the red channelgGamma
- the gamma level for the blue channelbGamma
- the gamma level for the green channelpublic void setGamma(float rGamma, float gGamma, float bGamma)
rGamma
- the gamma level for the red channelgGamma
- the gamma level for the blue channelbGamma
- the gamma level for the green channelgetGamma()
public void setGamma(float gamma)
gamma
- the gamma level for all RGB channelsgetGamma()
public float getGamma()
setGamma(float, float, float)
protected void initialize()
initialize
in class TransferFilter
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.