类 LevelsFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.WholeImageFilter
-
- org.meteoinfo.image.filter.LevelsFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class LevelsFilter extends WholeImageFilter
A filter which allows levels adjustment on an image.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.WholeImageFilter
originalSpace, transformedSpace
-
-
构造器概要
构造器 构造器 说明 LevelsFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected int[]filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)Actually filter the pixels.intfilterRGB(int x, int y, int rgb)floatgetHighLevel()floatgetHighOutputLevel()floatgetLowLevel()floatgetLowOutputLevel()voidsetHighLevel(float highLevel)voidsetHighOutputLevel(float highOutputLevel)voidsetLowLevel(float lowLevel)voidsetLowOutputLevel(float lowOutputLevel)StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.WholeImageFilter
filter, transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setLowLevel
public void setLowLevel(float lowLevel)
-
getLowLevel
public float getLowLevel()
-
setHighLevel
public void setHighLevel(float highLevel)
-
getHighLevel
public float getHighLevel()
-
setLowOutputLevel
public void setLowOutputLevel(float lowOutputLevel)
-
getLowOutputLevel
public float getLowOutputLevel()
-
setHighOutputLevel
public void setHighOutputLevel(float highOutputLevel)
-
getHighOutputLevel
public float getHighOutputLevel()
-
filterPixels
protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)从类复制的说明:WholeImageFilterActually filter the pixels.- 指定者:
filterPixels在类中WholeImageFilter- 参数:
width- the image widthheight- the image heightinPixels- the image pixelstransformedSpace- the output bounds- 返回:
- the output pixels
-
filterRGB
public int filterRGB(int x, int y, int rgb)
-
-