类 FieldWarpFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.TransformFilter
-
- org.meteoinfo.image.filter.FieldWarpFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class FieldWarpFilter extends TransformFilter
A class which warps an image using a field Warp algorithm.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classFieldWarpFilter.Line
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, RGB_CLAMP, transformedSpace, WRAP, ZERO
-
-
构造器概要
构造器 构造器 说明 FieldWarpFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.awt.image.BufferedImagefilter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)floatgetAmount()Get the amount of warp.FieldWarpFilter.Line[]getInLines()FieldWarpFilter.Line[]getOutLines()floatgetPower()floatgetStrength()voidsetAmount(float amount)Set the amount of warp.voidsetInLines(FieldWarpFilter.Line[] inLines)voidsetOutLines(FieldWarpFilter.Line[] outLines)voidsetPower(float power)voidsetStrength(float strength)java.lang.StringtoString()protected voidtransform(int x, int y, java.awt.Point out)protected voidtransformInverse(int x, int y, float[] out)Inverse transform a point.-
从类继承的方法 org.meteoinfo.image.filter.TransformFilter
filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setAmount
public void setAmount(float amount)
Set the amount of warp.- 参数:
amount- the amount min-value 0 max-value 1- 另请参阅:
getAmount()
-
getAmount
public float getAmount()
Get the amount of warp.- 返回:
- the amount
- 另请参阅:
setAmount(float)
-
setPower
public void setPower(float power)
-
getPower
public float getPower()
-
setStrength
public void setStrength(float strength)
-
getStrength
public float getStrength()
-
setInLines
public void setInLines(FieldWarpFilter.Line[] inLines)
-
getInLines
public FieldWarpFilter.Line[] getInLines()
-
setOutLines
public void setOutLines(FieldWarpFilter.Line[] outLines)
-
getOutLines
public FieldWarpFilter.Line[] getOutLines()
-
transform
protected void transform(int x, int y, java.awt.Point out)
-
transformInverse
protected void transformInverse(int x, int y, float[] out)从类复制的说明:TransformFilterInverse transform a point. This method needs to be overriden by all subclasses.- 指定者:
transformInverse在类中TransformFilter- 参数:
x- the X position of the pixel in the output imagey- the Y position of the pixel in the output imageout- the position of the pixel in the input image
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)- 指定者:
filter在接口中java.awt.image.BufferedImageOp- 覆盖:
filter在类中TransformFilter
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-