com.jhlabs.image

Class DoGFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class DoGFilter
extends AbstractBufferedImageOp

Edge detection by difference of Gaussians.

Constructor Summary

DoGFilter()

Method Summary

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()

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

DoGFilter

public DoGFilter()

Method Details

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)

getInvert

public boolean getInvert()

getNormalize

public boolean getNormalize()

getRadius1

public float getRadius1()
Get the radius of the kernel.
Returns:
the radius
See Also:
DoGFilter

getRadius2

public float getRadius2()
Get the radius of the kernel.
Returns:
the radius
See Also:
DoGFilter

setInvert

public void setInvert(boolean invert)

setNormalize

public void setNormalize(boolean normalize)

setRadius1

public void setRadius1(float radius1)
Set the radius of the kernel, and hence the amount of blur. The bigger the radius, the longer this filter will take.
Parameters:
See Also:
DoGFilter

setRadius2

public void setRadius2(float radius2)
Set the radius of the kernel, and hence the amount of blur. The bigger the radius, the longer this filter will take.
Parameters:
See Also:
DoGFilter

toString

public String toString()