BufferedImageOp, Cloneablepublic class QuiltFilter extends WholeImageFilter
originalSpace, transformedSpace| 构造器 | 说明 |
|---|---|
QuiltFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBfilter, transformSpacepublic void randomize()
public void setIterations(int iterations)
iterations - the number of iterations min-value 0getIterations()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.meteoinfo.image.filter.Colormap)protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
WholeImageFilterfilterPixels 在类中 WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundsCopyright © 2019. All rights reserved.