public class DoGFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private boolean |
invert |
private boolean |
normalize |
private float |
radius1 |
private float |
radius2 |
Constructor and Description |
---|
DoGFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float radius1
private float radius2
private boolean normalize
private boolean invert
public DoGFilter()
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 BufferedImage filter(BufferedImage src, BufferedImage dst)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses