| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOpcom.jhlabs.image.WholeImageFiltercom.jhlabs.image.QuiltFilterpublic class QuiltFilterextends WholeImageFilterField Summary |
Fields inherited from class com.jhlabs.image.WholeImageFilter | |
originalSpace, transformedSpace | |
Constructor Summary | |
| |
Method Summary | |
protected int[] |
|
float |
|
float |
|
float |
|
Colormap |
|
float |
|
int |
|
int |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
Methods inherited from class com.jhlabs.image.WholeImageFilter | |
filter, filterPixels, transformSpace | |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB | |
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)Actually filter the pixels.
- Overrides:
- filterPixels in interface WholeImageFilter
- Parameters:
width- the image widthheight- the image heightinPixels- the image pixelstransformedSpace- the output bounds
- Returns:
- the output pixels
public float getA()
public float getB()
public float getC()
public Colormap getColormap()
Get the colormap to be used for the filter.
- Returns:
- the colormap
- See Also:
setColormap(Colormap)
public float getD()
public int getIterations()
Get the number of iterations the effect is performed.
- Returns:
- the number of iterations
- See Also:
setIterations(int)
public int getK()
public void randomize()
public void setA(float a)
public void setB(float b)
public void setC(float c)
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
- Parameters:
colormap- the colormap
- See Also:
getColormap()
public void setD(float d)
public void setIterations(int iterations)
Set the number of iterations the effect is performed.
- Parameters:
iterations- the number of iterations
- See Also:
getIterations()
public void setK(int k)
public String toString()