Class GaussFilter

java.lang.Object
org.graffiti.editor.GaussFilter

public class GaussFilter
extends Object
  • Constructor Details

    • GaussFilter

      public GaussFilter​(float radius)
  • Method Details

    • filter

      public BufferedImage filter​(BufferedImage src, BufferedImage dst)
    • convolveAndTranspose

      public static void convolveAndTranspose​(Kernel kernel, int[] inPixels, int[] out, int width, int height, boolean hasAlpha)
    • makeKernel

      public static Kernel makeKernel​(float radius)
    • createCompatibleDestImage

      public BufferedImage createCompatibleDestImage​(BufferedImage src, ColorModel dstCM)
    • clamp

      public static int clamp​(int c)