|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.BinaryFilter
com.jhlabs.image.LifeFilter
public class LifeFilter
A filter which performs one round of the game of Life on an image.
| Field Summary |
|---|
| Fields inherited from class com.jhlabs.image.BinaryFilter |
|---|
blackFunction, colormap, iterations, newColor |
| Fields inherited from class com.jhlabs.image.WholeImageFilter |
|---|
originalSpace, transformedSpace |
| Constructor Summary | |
|---|---|
LifeFilter()
|
|
| Method Summary | |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels. |
String |
toString()
|
| Methods inherited from class com.jhlabs.image.BinaryFilter |
|---|
getBlackFunction, getColormap, getIterations, getNewColor, setBlackFunction, setColormap, setIterations, setNewColor |
| Methods inherited from class com.jhlabs.image.WholeImageFilter |
|---|
filter, transformSpace |
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LifeFilter()
| Method Detail |
|---|
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilter
filterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output bounds
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||