Package org.graffiti.editor
Class GaussFilter
java.lang.Object
org.graffiti.editor.GaussFilter
public class GaussFilter extends Object
-
Constructor Summary
Constructors Constructor Description GaussFilter(float radius)
-
Method Summary
Modifier and Type Method Description static int
clamp(int c)
static void
convolveAndTranspose(Kernel kernel, int[] inPixels, int[] out, int width, int height, boolean hasAlpha)
BufferedImage
createCompatibleDestImage(BufferedImage src, ColorModel dstCM)
BufferedImage
filter(BufferedImage src, BufferedImage dst)
static Kernel
makeKernel(float radius)
-
Constructor Details
-
GaussFilter
public GaussFilter(float radius)
-
-
Method Details
-
filter
-
convolveAndTranspose
public static void convolveAndTranspose(Kernel kernel, int[] inPixels, int[] out, int width, int height, boolean hasAlpha) -
makeKernel
-
createCompatibleDestImage
-
clamp
public static int clamp(int c)
-