com.jhlabs.image
public class DilateFilter extends BinaryFilter
Modifier and Type | Field and Description |
---|---|
int |
threshold |
blackFunction, colormap, iterations, newColor
originalSpace, transformedSpace
Constructor and Description |
---|
DilateFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace) |
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.
|
java.lang.String |
toString() |
getBlackFunction, getColormap, getIterations, getNewColor, setBlackFunction, setColormap, setIterations, setNewColor
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setThreshold(int threshold)
threshold
- the new thresholdpublic int getThreshold()
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
filterPixels
in class WholeImageFilter
public java.lang.String toString()
toString
in class java.lang.Object