类 QuiltFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.WholeImageFilter
-
- org.meteoinfo.image.filter.QuiltFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class QuiltFilter extends WholeImageFilter
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.WholeImageFilter
originalSpace, transformedSpace
-
-
构造器概要
构造器 构造器 说明 QuiltFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected int[]filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)Actually filter the pixels.floatgetA()floatgetB()floatgetC()ColormapgetColormap()Get the colormap to be used for the filter.floatgetD()intgetIterations()Get the number of iterations the effect is performed.intgetK()voidrandomize()voidsetA(float a)voidsetB(float b)voidsetC(float c)voidsetColormap(Colormap colormap)Set the colormap to be used for the filter.voidsetD(float d)voidsetIterations(int iterations)Set the number of iterations the effect is performed.voidsetK(int k)java.lang.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.WholeImageFilter
filter, transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
randomize
public void randomize()
-
setIterations
public void setIterations(int iterations)
Set the number of iterations the effect is performed.- 参数:
iterations- the number of iterations min-value 0- 另请参阅:
getIterations()
-
getIterations
public int getIterations()
Get the number of iterations the effect is performed.- 返回:
- the number of iterations
- 另请参阅:
setIterations(int)
-
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)
Set the colormap to be used for the filter.- 参数:
colormap- the colormap- 另请参阅:
getColormap()
-
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.- 返回:
- the colormap
- 另请参阅:
setColormap(org.meteoinfo.image.filter.Colormap)
-
filterPixels
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)从类复制的说明:WholeImageFilterActually filter the pixels.- 指定者:
filterPixels在类中WholeImageFilter- 参数:
width- the image widthheight- the image heightinPixels- the image pixelstransformedSpace- the output bounds- 返回:
- the output pixels
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-