| 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.PolarFilterpublic class PolarFilterextends TransformFilterField Summary | |
static int |
|
static int |
|
static int |
|
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 |
|
int |
|
void |
|
String |
|
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 static final int INVERT_IN_CIRCLE
Invert the image in a circle.
- Field Value:
- 2
public static final int POLAR_TO_RECT
Convert from polar to rectangular coordinates.
- Field Value:
- 1
public static final int RECT_TO_POLAR
Convert from rectangular to polar coordinates.
- Field Value:
- 0
public PolarFilter()
Construct a PolarFilter.
public PolarFilter(int type)
Construct a PolarFilter.
- Parameters:
type- the distortion type
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Overrides:
- filter in interface TransformFilter
public int getType()
Get the distortion type.
- Returns:
- the distortion type
- See Also:
setType(int)
public void setType(int type)
Set the distortion type.
- Parameters:
type- the distortion type
- See Also:
getType()
public String toString()
protected void transformInverse(int x,
int y,
float[] out)
- Overrides:
- transformInverse in interface TransformFilter