Package com.jhlabs.image
Class QuiltFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.WholeImageFilter
-
- com.jhlabs.image.QuiltFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.io.Serializable
,java.lang.Cloneable
public class QuiltFilter extends WholeImageFilter implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
-
Constructor Summary
Constructors Constructor Description QuiltFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[]
filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
float
getA()
float
getB()
float
getC()
Colormap
getColormap()
float
getD()
int
getIterations()
int
getK()
void
randomize()
void
setA(float a)
void
setB(float b)
void
setC(float c)
void
setColormap(Colormap colormap)
void
setD(float d)
void
setIterations(int iterations)
void
setK(int k)
java.lang.String
toString()
-
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
-
-
-
-
Method Detail
-
randomize
public void randomize()
-
setIterations
public void setIterations(int iterations)
-
getIterations
public int getIterations()
-
setA
public void setA(float a)
-
getA
public float getA()
-
setB
public void setB(float b)
-
getB
public float getB()
-
setC
public void setC(float c)
-
getC
public float getC()
-
setD
public void setD(float d)
-
getD
public float getD()
-
setK
public void setK(int k)
-
getK
public int getK()
-
setColormap
public void setColormap(Colormap colormap)
-
getColormap
public Colormap getColormap()
-
filterPixels
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
- Specified by:
filterPixels
in classWholeImageFilter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-