类 DoGFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.DoGFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class DoGFilter extends AbstractBufferedImageOp
Edge detection by difference of Gaussians.- 作者:
- Jerry Huxtable
-
-
构造器概要
构造器 构造器 说明 DoGFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)booleangetInvert()booleangetNormalize()floatgetRadius1()Get the radius of the kernel.floatgetRadius2()Get the radius of the kernel.voidsetInvert(boolean invert)voidsetNormalize(boolean normalize)voidsetRadius1(float radius1)Set the radius of the kernel, and hence the amount of blur.voidsetRadius2(float radius2)Set the radius of the kernel, and hence the amount of blur.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
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.- 参数:
radius1- the radius of the blur in pixels. min-value 0 max-value 100+
-
getRadius1
public float getRadius1()
Get the radius of the kernel.- 返回:
- the radius
-
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.- 参数:
radius2- the radius of the blur in pixels. min-value 0 max-value 100+
-
getRadius2
public float getRadius2()
Get the radius of the kernel.- 返回:
- the radius
-
setNormalize
public void setNormalize(boolean normalize)
-
getNormalize
public boolean getNormalize()
-
setInvert
public void setInvert(boolean invert)
-
getInvert
public boolean getInvert()
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
-
-