public class DoGFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
DoGFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
boolean |
getInvert() |
boolean |
getNormalize() |
float |
getRadius1()
Get the radius of the kernel.
|
float |
getRadius2()
Get the radius of the kernel.
|
void |
setInvert(boolean invert) |
void |
setNormalize(boolean normalize) |
void |
setRadius1(float radius1)
Set the radius of the kernel, and hence the amount of
blur.
|
void |
setRadius2(float radius2)
Set the radius of the kernel, and hence the amount of
blur.
|
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setRadius1(float radius1)
radius1
- the radius of the blur in pixels, min-value 0, max-value 100+getRadius1()
public float getRadius1()
setRadius1(float)
public void setRadius2(float radius2)
radius2
- the radius of the blur in pixels, min-value 0, max-value 100+.getRadius2()
public float getRadius2()
setRadius2(float)
public void setNormalize(boolean normalize)
public boolean getNormalize()
public void setInvert(boolean invert)
public boolean getInvert()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object