public class FixedThresholdingOp extends NullOp
Constructor and Description |
---|
FixedThresholdingOp() |
FixedThresholdingOp(int threshold) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
createCompatibleDestImage(java.awt.image.BufferedImage src,
java.awt.image.ColorModel cm) |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dest) |
int |
getThreshold() |
void |
setThreshold(int threshold) |
getBounds2D, getOpName, getPoint2D, getRenderingHints
public FixedThresholdingOp()
public FixedThresholdingOp(int threshold)
threshold
- public void setThreshold(int threshold)
threshold
- public int getThreshold()
public java.awt.image.BufferedImage createCompatibleDestImage(java.awt.image.BufferedImage src, java.awt.image.ColorModel cm)
createCompatibleDestImage
in interface java.awt.image.BufferedImageOp
createCompatibleDestImage
in class NullOp