public class ContrastFilter extends TransferFilter
bTable, gTable, initialized, rTablecanFilterIndexColorModel| Constructor and Description |
|---|
ContrastFilter() |
| Modifier and Type | Method and Description |
|---|---|
float |
getBrightness()
Get the filter brightness.
|
float |
getContrast()
Get the filter contrast.
|
void |
setBrightness(float brightness)
Set the filter brightness.
|
void |
setContrast(float contrast)
Set the filter contrast.
|
java.lang.String |
toString() |
protected float |
transferFunction(float f) |
filter, filterRGB, getLUT, initialize, makeTablesetDimensionsclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorprotected float transferFunction(float f)
transferFunction in class TransferFilterpublic void setBrightness(float brightness)
brightness - the brightness in the range 0 to 1, min-value 0, max-value 0.getBrightness()public float getBrightness()
setBrightness(float)public void setContrast(float contrast)
contrast - the contrast in the range 0 to 1, min-value 0, max-value 0getContrast()public float getContrast()
setContrast(float)public java.lang.String toString()
toString in class java.lang.Object