BufferedImageOp, CloneableDilateFilter, ErodeFilter, LifeFilter, OutlineFilter, SkeletonFilterpublic abstract class BinaryFilter extends WholeImageFilter
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
protected BinaryFunction |
blackFunction |
|
protected Colormap |
colormap |
|
protected int |
iterations |
|
protected int |
newColor |
originalSpace, transformedSpace| 构造器 | 说明 |
|---|---|
BinaryFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BinaryFunction |
getBlackFunction() |
|
Colormap |
getColormap() |
Get the colormap to be used for the filter.
|
int |
getIterations() |
Get the number of iterations the effect is performed.
|
int |
getNewColor() |
|
void |
setBlackFunction(BinaryFunction blackFunction) |
|
void |
setColormap(Colormap colormap) |
Set the colormap to be used for the filter.
|
void |
setIterations(int iterations) |
Set the number of iterations the effect is performed.
|
void |
setNewColor(int newColor) |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, filterPixels, transformSpaceprotected int newColor
protected BinaryFunction blackFunction
protected int iterations
protected Colormap colormap
public void setIterations(int iterations)
iterations - the number of iterationsgetIterations()public int getIterations()
setIterations(int)public void setColormap(Colormap colormap)
colormap - the colormapgetColormap()public Colormap getColormap()
setColormap(org.meteoinfo.image.filter.Colormap)public void setNewColor(int newColor)
public int getNewColor()
public void setBlackFunction(BinaryFunction blackFunction)
public BinaryFunction getBlackFunction()
Copyright © 2019. All rights reserved.