com.jhlabs.image
public class FieldWarpFilter extends TransformFilter
Modifier and Type | Class and Description |
---|---|
static class |
FieldWarpFilter.Line |
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, transformedSpace, WRAP, ZERO
Constructor and Description |
---|
FieldWarpFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getAmount() |
FieldWarpFilter.Line[] |
getInLines() |
FieldWarpFilter.Line[] |
getOutLines() |
float |
getPower() |
float |
getStrength() |
void |
setAmount(float amount) |
void |
setInLines(FieldWarpFilter.Line[] inLines) |
void |
setOutLines(FieldWarpFilter.Line[] outLines) |
void |
setPower(float power) |
void |
setStrength(float strength) |
java.lang.String |
toString() |
protected void |
transform(int x,
int y,
java.awt.Point out) |
protected void |
transformInverse(int x,
int y,
float[] out) |
filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setAmount(float amount)
public float getAmount()
public void setPower(float power)
public float getPower()
public void setStrength(float strength)
public float getStrength()
public void setInLines(FieldWarpFilter.Line[] inLines)
public FieldWarpFilter.Line[] getInLines()
public void setOutLines(FieldWarpFilter.Line[] outLines)
public FieldWarpFilter.Line[] getOutLines()
protected void transform(int x, int y, java.awt.Point out)
protected void transformInverse(int x, int y, float[] out)
transformInverse
in class TransformFilter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class TransformFilter
public java.lang.String toString()
toString
in class java.lang.Object