public class ContrastFilter extends TransferFilter
bTable, gTable, initialized, rTablecanFilterIndexColorModelfilterListener| 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.
|
String |
toString() |
protected float |
transferFunction(float f) |
filter, filterRGB, getLUT, initialize, makeTablesetDimensionsclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBprotected float transferFunction(float f)
transferFunction in class TransferFilterpublic void setBrightness(float brightness)
brightness - the brightness in the range 0 to 1getBrightness()public float getBrightness()
setBrightness(float)public void setContrast(float contrast)
contrast - the contrast in the range 0 to 1getContrast()public float getContrast()
setContrast(float)Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.