public class ThresholdFilter
extends java.awt.image.RGBImageFilter
implements java.io.Serializable
| Constructor and Description |
|---|
ThresholdFilter() |
ThresholdFilter(int t) |
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int x,
int y,
int rgb) |
int |
getBlack() |
int |
getLowerThreshold() |
int |
getUpperThreshold() |
int |
getWhite() |
void |
setBlack(int black) |
void |
setLowerThreshold(int lowerThreshold) |
void |
setUpperThreshold(int upperThreshold) |
void |
setWhite(int white) |
java.lang.String |
toString() |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelpublic ThresholdFilter()
public ThresholdFilter(int t)
public void setLowerThreshold(int lowerThreshold)
public int getLowerThreshold()
public void setUpperThreshold(int upperThreshold)
public int getUpperThreshold()
public void setWhite(int white)
public int getWhite()
public void setBlack(int black)
public int getBlack()
public int filterRGB(int x,
int y,
int rgb)
filterRGB in class java.awt.image.RGBImageFilterpublic java.lang.String toString()
toString in class java.lang.Object