public class ThresholdFilter extends PointFilter implements java.io.Serializable
canFilterIndexColorModel
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() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public 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 PointFilter
public java.lang.String toString()
toString
in class java.lang.Object