public class LevelsFilter extends WholeImageFilter
originalSpace, transformedSpace| Constructor and Description |
|---|
LevelsFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
Actually filter the pixels.
|
int |
filterRGB(int x,
int y,
int rgb) |
float |
getHighLevel() |
float |
getHighOutputLevel() |
float |
getLowLevel() |
float |
getLowOutputLevel() |
void |
setHighLevel(float highLevel) |
void |
setHighOutputLevel(float highOutputLevel) |
void |
setLowLevel(float lowLevel) |
void |
setLowOutputLevel(float lowOutputLevel) |
java.lang.String |
toString() |
filter, transformSpaceclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic void setLowLevel(float lowLevel)
public float getLowLevel()
public void setHighLevel(float highLevel)
public float getHighLevel()
public void setLowOutputLevel(float lowOutputLevel)
public float getLowOutputLevel()
public void setHighOutputLevel(float highOutputLevel)
public float getHighOutputLevel()
protected int[] filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
WholeImageFilterfilterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundspublic int filterRGB(int x,
int y,
int rgb)
public java.lang.String toString()
toString in class java.lang.Object