com.jhlabs.image
Class QuiltFilter
- BufferedImageOp, Cloneable
QuiltFilter
public QuiltFilter()
Construct a WholeImageFilter.
filterPixels
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
- filterPixels in interface WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output bounds
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.
getIterations
public int getIterations()
Get the number of iterations the effect is performed.
randomize
public void randomize()
setA
public void setA(float a)
setB
public void setB(float b)
setC
public void setC(float c)
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
setD
public void setD(float d)
setIterations
public void setIterations(int iterations)
Set the number of iterations the effect is performed.
iterations
- the number of iterations
setK
public void setK(int k)
toString
public String toString()