com.meltingice.caman.filters
Class GaussianBlur

java.lang.Object
  extended by com.meltingice.caman.CamanFilter
      extended by com.meltingice.caman.filters.GaussianBlur

public class GaussianBlur
extends CamanFilter

Applies a gaussian blur to the image.

Version:
1.0
Author:
Ryan LeFevre

Constructor Summary
GaussianBlur()
           
 
Method Summary
 double[] getKernel()
          If making a filter that requires image convolution, this returns the kernel that will be applied to the image.
 void precomputeParams()
          Allows the filter to precompute any required values before CamanFilter.process(int[]) is executed.
 
Methods inherited from class com.meltingice.caman.CamanFilter
getParamDouble, getParamInt, process, set, set, type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianBlur

public GaussianBlur()
Method Detail

precomputeParams

public void precomputeParams()
Description copied from class: CamanFilter
Allows the filter to precompute any required values before CamanFilter.process(int[]) is executed. This helps with speed so that arguments don't have to be recomputed for every pixel.

Overrides:
precomputeParams in class CamanFilter

getKernel

public double[] getKernel()
Description copied from class: CamanFilter
If making a filter that requires image convolution, this returns the kernel that will be applied to the image.

Overrides:
getKernel in class CamanFilter
Returns:
The convolution matrix