public class DiffusionFilter extends WholeImageFilter
Modifier and Type | Field and Description |
---|---|
protected static int[] |
diffusionMatrix |
int |
levels |
originalSpace, transformedSpace
Constructor and Description |
---|
DiffusionFilter()
Construct a DiffusionFilter
|
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace) |
boolean |
getColorDither() |
int |
getLevels() |
int[] |
getMatrix() |
boolean |
getSerpentine()
Return the serpentine setting
|
void |
setColorDither(boolean colorDither) |
void |
setLevels(int levels) |
void |
setMatrix(int[] matrix) |
void |
setSerpentine(boolean serpentine)
Set whether to use a serpentine pattern for return or not.
|
java.lang.String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setSerpentine(boolean serpentine)
serpentine
- true to use serpentine patternpublic boolean getSerpentine()
public void setColorDither(boolean colorDither)
public boolean getColorDither()
public void setMatrix(int[] matrix)
public int[] getMatrix()
public void setLevels(int levels)
public int getLevels()
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