public class QuiltFilter extends WholeImageFilter
originalSpace, transformedSpace
filterListener
Constructor and Description |
---|
QuiltFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
float |
getA() |
float |
getB() |
float |
getC() |
Colormap |
getColormap()
Get the colormap to be used for the filter.
|
float |
getD() |
int |
getIterations()
Get the number of iterations the effect is performed.
|
int |
getK() |
void |
randomize() |
void |
setA(float a) |
void |
setB(float b) |
void |
setC(float c) |
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter.
|
void |
setD(float d) |
void |
setIterations(int iterations)
Set the number of iterations the effect is performed.
|
void |
setK(int k) |
String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public void randomize()
public void setIterations(int iterations)
iterations
- the number of iterationsgetIterations()
public int getIterations()
setIterations(int)
public void setA(float a)
public float getA()
public void setB(float b)
public float getB()
public void setC(float c)
public float getC()
public void setD(float d)
public float getD()
public void setK(int k)
public int getK()
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(org.zimowski.bambi.jhlabs.image.Colormap)
protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output boundsCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.