类 GainFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.TransferFilter
-
- org.meteoinfo.image.filter.GainFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class GainFilter extends TransferFilter
A filter which changes the gain and bias of an image - similar to ContrastFilter.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.TransferFilter
bTable, gTable, initialized, rTable
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 GainFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 floatgetBias()Get the bias.floatgetGain()Get the gain.voidsetBias(float bias)Set the bias.voidsetGain(float gain)Set the gain.StringtoString()protected floattransferFunction(float f)-
从类继承的方法 org.meteoinfo.image.filter.TransferFilter
filter, filterRGB, getLUT, initialize, makeTable
-
从类继承的方法 org.meteoinfo.image.filter.PointFilter
setDimensions
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
transferFunction
protected float transferFunction(float f)
- 覆盖:
transferFunction在类中TransferFilter
-
setGain
public void setGain(float gain)
Set the gain.- 参数:
gain- the gain min-value: 0 max-value: 1- 另请参阅:
getGain()
-
getGain
public float getGain()
Get the gain.- 返回:
- the gain
- 另请参阅:
setGain(float)
-
setBias
public void setBias(float bias)
Set the bias.- 参数:
bias- the bias min-value: 0 max-value: 1- 另请参阅:
getBias()
-
getBias
public float getBias()
Get the bias.- 返回:
- the bias
- 另请参阅:
setBias(float)
-
-