类 ContrastFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.TransferFilter
-
- org.meteoinfo.image.filter.ContrastFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class ContrastFilter extends TransferFilter
A filter to change the brightness and contrast of an image.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.TransferFilter
bTable, gTable, initialized, rTable
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 ContrastFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 floatgetBrightness()Get the filter brightness.floatgetContrast()Get the filter contrast.voidsetBrightness(float brightness)Set the filter brightness.voidsetContrast(float contrast)Set the filter contrast.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
-
setBrightness
public void setBrightness(float brightness)
Set the filter brightness.- 参数:
brightness- the brightness in the range 0 to 1 min-value 0 max-value 0- 另请参阅:
getBrightness()
-
getBrightness
public float getBrightness()
Get the filter brightness.- 返回:
- the brightness in the range 0 to 1
- 另请参阅:
setBrightness(float)
-
setContrast
public void setContrast(float contrast)
Set the filter contrast.- 参数:
contrast- the contrast in the range 0 to 1 min-value 0 max-value 0- 另请参阅:
getContrast()
-
getContrast
public float getContrast()
Get the filter contrast.- 返回:
- the contrast in the range 0 to 1
- 另请参阅:
setContrast(float)
-
-