类 DoGFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class DoGFilter
    extends AbstractBufferedImageOp
    Edge detection by difference of Gaussians.
    作者:
    Jerry Huxtable
    • 构造器详细资料

      • DoGFilter

        public DoGFilter()
    • 方法详细资料

      • 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 java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object