Class Gaussian

java.lang.Object
  |
  +--Gaussian

public class Gaussian
extends java.lang.Object

Class containing method to apply a gaussian filter to an image.

Author:
Simon Horne.

Constructor Summary
Gaussian()
           
 
Method Summary
static TwoDArray smooth(TwoDArray input, int x, int y, double size)
          Method to apply a gaussian filter to an image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gaussian

public Gaussian()
Method Detail

smooth

public static TwoDArray smooth(TwoDArray input,
                               int x,
                               int y,
                               double size)
Method to apply a gaussian filter to an image.
Parameters:
input - TwoDArray representing the image.
x,y - the position of the centre of the filter
size - the size of the filter.
Returns:
TwoDArray representing new image.