public class DilateFilter extends BinaryFilter implements DynFiltering
Constructor and Description |
---|
DilateFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
getThreshold()
Return the threshold - the number of neighbouring pixels for dilation to occur.
|
void |
setThreshold(int threshold)
Set the threshold - the number of neighbouring pixels for dilation to occur.
|
String |
toString() |
getBlackFunction, getColormap, getIterations, getNewColor, setBlackFunction, setColormap, setIterations, setNewColor
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public DilateFilter()
public void setThreshold(int threshold)
threshold
- the new thresholdgetThreshold()
public int getThreshold()
setThreshold(int)
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class BinaryFilter
PageException
Copyright © 2015 Lucee