类 LookupFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.LookupFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class LookupFilter extends PointFilter
A filter which uses the brightness of each pixel to lookup a color from a colormap.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 LookupFilter()Construct a LookupFilter.LookupFilter(Colormap colormap)Construct a LookupFilter.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intfilterRGB(int x, int y, int rgb)ColormapgetColormap()Get the colormap to be used for the filter.voidsetColormap(Colormap colormap)Set the colormap to be used for the filter.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.PointFilter
filter, setDimensions
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
构造器详细资料
-
LookupFilter
public LookupFilter()
Construct a LookupFilter.
-
LookupFilter
public LookupFilter(Colormap colormap)
Construct a LookupFilter.- 参数:
colormap- the color map
-
-
方法详细资料
-
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)
-
filterRGB
public int filterRGB(int x, int y, int rgb)- 指定者:
filterRGB在类中PointFilter
-
-