| 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.WholeImageFiltercom.jhlabs.image.WarpFilterpublic class WarpFilterextends WholeImageFilterField Summary |
Fields inherited from class com.jhlabs.image.WholeImageFilter | |
originalSpace, transformedSpace | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
protected int[] |
|
WarpGrid |
|
int | |
BufferedImage | |
WarpGrid |
|
float |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
String |
|
protected void |
|
Methods inherited from class com.jhlabs.image.WholeImageFilter | |
filter, filterPixels, transformSpace | |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB | |
public void crossDissolve(int[] pixels1,
int[] pixels2,
int width,
int height,
float t)protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
- Overrides:
- filterPixels in interface WholeImageFilter
public WarpGrid getDestGrid()
Get the destination warp grid.
- Returns:
- the destination grid
- See Also:
setDestGrid(WarpGrid)
public int getFrames()
public BufferedImage getMorphImage()
public WarpGrid getSourceGrid()
Get the source warp grid.
- Returns:
- the source grid
- See Also:
setSourceGrid(WarpGrid)
public float getTime()
public void morph(int[] srcPixels,
int[] destPixels,
int[] outPixels,
WarpGrid srcGrid,
WarpGrid destGrid,
int width,
int height,
float t)public void setDestGrid(WarpGrid destGrid)
Set the destination warp grid.
- Parameters:
destGrid- the destination grid
- See Also:
getDestGrid()
public void setFrames(int frames)
public void setMorphImage(BufferedImage morphImage)
For morphing, sets the image we're morphing to. If not, set then we're just warping.
public void setSourceGrid(WarpGrid sourceGrid)
Set the source warp grid.
- Parameters:
sourceGrid- the source grid
- See Also:
getSourceGrid()
public void setTime(float time)
public String toString()
protected void transformSpace(Rectangle r)
- Overrides:
- transformSpace in interface WholeImageFilter