Class RMImageEffect.GaussianKernel

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    RMImageEffect

    public static class RMImageEffect.GaussianKernel
    extends java.awt.image.Kernel
    Extends Kernel with constructor which takes Kernel size and automatically generates a gaussian matrix.
    • Constructor Summary

      Constructors 
      Constructor Description
      GaussianKernel​(int radius)
      Creates Kernel with number of pixels, on each size, which are taken into account by the Kernel.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static float[] getGaussianKernel​(int radius)
      Returns kernel for a Gaussian blur convolve.
      • Methods inherited from class java.awt.image.Kernel

        clone, getHeight, getKernelData, getWidth, getXOrigin, getYOrigin
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GaussianKernel

        public GaussianKernel​(int radius)
        Creates Kernel with number of pixels, on each size, which are taken into account by the Kernel.
    • Method Detail

      • getGaussianKernel

        public static float[] getGaussianKernel​(int radius)
        Returns kernel for a Gaussian blur convolve.