BufferedImageOp, Cloneablepublic class GammaFilter extends TransferFilter
canFilterIndexColorModelbTable, gTable, initialized, rTable| 构造器 | 说明 |
|---|---|
GammaFilter() |
Construct a GammaFilter.
|
GammaFilter(float gamma) |
Construct a GammaFilter.
|
GammaFilter(float rGamma,
float gGamma,
float bGamma) |
Construct a GammaFilter.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBsetDimensionsfilter, filterRGB, getLUT, makeTable, transferFunctionpublic 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 在类中 TransferFilterCopyright © 2019. All rights reserved.