类 RescaleFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.TransferFilter
-
- org.meteoinfo.image.filter.RescaleFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class RescaleFilter extends TransferFilter
A filter which simply multiplies pixel values by a given scale factor.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.TransferFilter
bTable, gTable, initialized, rTable
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 RescaleFilter()RescaleFilter(float scale)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 floatgetScale()Returns the scale factor.voidsetScale(float scale)Specifies the scale factor.StringtoString()protected floattransferFunction(float v)-
从类继承的方法 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 v)
- 覆盖:
transferFunction在类中TransferFilter
-
setScale
public void setScale(float scale)
Specifies the scale factor.- 参数:
scale- the scale factor. min-value 1 max-value 5+- 另请参阅:
getScale()
-
getScale
public float getScale()
Returns the scale factor.- 返回:
- the scale factor.
- 另请参阅:
setScale(float)
-
-