| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOpcom.jhlabs.image.TransformFiltercom.jhlabs.image.FieldWarpFilterpublic class FieldWarpFilterextends TransformFilterNested Class Summary | |
static class | |
Field Summary |
Fields inherited from class com.jhlabs.image.TransformFilter | |
BILINEAR, CLAMP, NEAREST_NEIGHBOUR, RGB_CLAMP, WRAP, ZERO, edgeAction, interpolation, originalSpace, transformedSpace | |
Constructor Summary | |
Method Summary | |
BufferedImage |
|
float |
|
FieldWarpFilter.Line[] | |
FieldWarpFilter.Line[] | |
float |
|
float | |
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
protected void |
|
protected void |
|
Methods inherited from class com.jhlabs.image.TransformFilter | |
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformInverse, transformSpace | |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB | |
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Overrides:
- filter in interface TransformFilter
public float getAmount()
Get the amount of warp.
- Returns:
- the amount
- See Also:
setAmount(float)
public float getPower()
public float getStrength()
public void setAmount(float amount)
Set the amount of warp.
- Parameters:
amount- the amount
- See Also:
getAmount()
public void setPower(float power)
public void setStrength(float strength)
public String toString()
protected void transform(int x,
int y,
Point out)protected void transformInverse(int x,
int y,
float[] out)
- Overrides:
- transformInverse in interface TransformFilter