com.jhlabs.image
Class ThresholdFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.ThresholdFilter
- All Implemented Interfaces:
- java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable
public class ThresholdFilter
- extends PointFilter
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThresholdFilter
public ThresholdFilter()
ThresholdFilter
public ThresholdFilter(int t)
setLowerThreshold
public void setLowerThreshold(int lowerThreshold)
getLowerThreshold
public int getLowerThreshold()
setUpperThreshold
public void setUpperThreshold(int upperThreshold)
getUpperThreshold
public int getUpperThreshold()
setWhite
public void setWhite(int white)
getWhite
public int getWhite()
setBlack
public void setBlack(int black)
getBlack
public int getBlack()
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Specified by:
filterRGB
in class PointFilter
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object