public class LevelsFilter extends WholeImageFilter
originalSpace, transformedSpacefilterListener| Constructor and Description |
|---|
LevelsFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
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) |
String |
toString() |
filter, transformSpaceclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic 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,
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)
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.