public class DilateFilter extends BinaryFilter
blackFunction, colormap, iterations, newColororiginalSpace, transformedSpacefilterListener| Constructor and Description |
|---|
DilateFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
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, setNewColorfilter, transformSpaceclone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic void setThreshold(int threshold)
threshold - the new thresholdgetThreshold()public int getThreshold()
setThreshold(int)protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilterfilterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundsCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.