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
public void setRadius1(float radius1)
radius
- the radius of the blur in pixels.#getRadius
public float getRadius1()
#setRadius
public void setRadius2(float radius2)
radius
- the radius of the blur in pixels.#getRadius
public float getRadius2()
#setRadius
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