public class LifeFilter extends BinaryFilter
blackFunction, colormap, iterations, newColor
originalSpace, transformedSpace
Constructor and Description |
---|
LifeFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
Actually filter the pixels.
|
java.lang.String |
toString() |
getBlackFunction, getColormap, getIterations, getNewColor, setBlackFunction, setColormap, setIterations, setNewColor
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output boundspublic java.lang.String toString()
toString
in class java.lang.Object