|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.TransferFilter
com.jhlabs.image.GammaFilter
public class GammaFilter
A filter for changing the gamma of an image.
| Field Summary |
|---|
| Fields inherited from class com.jhlabs.image.TransferFilter |
|---|
bTable, gTable, initialized, rTable |
| Fields inherited from class com.jhlabs.image.PointFilter |
|---|
canFilterIndexColorModel |
| Constructor Summary | |
|---|---|
GammaFilter()
Construct a GammaFilter. |
|
GammaFilter(float gamma)
Construct a GammaFilter. |
|
GammaFilter(float rGamma,
float gGamma,
float bGamma)
Construct a GammaFilter. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class com.jhlabs.image.TransferFilter |
|---|
filter, filterRGB, getLUT, makeTable, transferFunction |
| Methods inherited from class com.jhlabs.image.PointFilter |
|---|
setDimensions |
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GammaFilter()
public GammaFilter(float gamma)
gamma - the gamma level for all RGB channels
public 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 channel| Method Detail |
|---|
public 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 TransferFilterpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||