public class LevelsFilter extends WholeImageFilter
originalSpace, transformedSpace
filterListener
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, transformSpace
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public 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)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- 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.