com.jhlabs.image
public class LevelsFilter extends WholeImageFilter
Modifier and Type | Field and Description |
---|---|
protected float |
highLevel |
protected float |
highOutputLevel |
protected float |
lowLevel |
protected float |
lowOutputLevel |
protected int[][] |
lut |
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) |
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, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
protected int[][] lut
protected float lowLevel
protected float highLevel
protected float lowOutputLevel
protected float highOutputLevel
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, java.awt.Rectangle transformedSpace)
filterPixels
in class WholeImageFilter
public int filterRGB(int x, int y, int rgb)
public java.lang.String toString()
toString
in class java.lang.Object