Package com.jhlabs.image
Class ThresholdFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.ThresholdFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
filterRGB
(int x, int y, int rgb) int
getBlack()
int
int
int
getWhite()
void
setBlack
(int black) void
setLowerThreshold
(int lowerThreshold) void
setUpperThreshold
(int upperThreshold) void
setWhite
(int white) toString()
Methods inherited from class com.jhlabs.image.PointFilter
filter, setDimensions
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
ThresholdFilter
public ThresholdFilter() -
ThresholdFilter
public ThresholdFilter(int t)
-
-
Method Details
-
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 classPointFilter
-
toString
-