Class FreqFilter

java.lang.Object
  |
  +--FreqFilter

public class FreqFilter
extends java.lang.Object

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

Author:
Simon Horne.

Constructor Summary
FreqFilter()
           
 
Method Summary
static TwoDArray filter(TwoDArray input, boolean flag, int r)
          Method to apply a high or low pass filter to an image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreqFilter

public FreqFilter()
Method Detail

filter

public static TwoDArray filter(TwoDArray input,
                               boolean flag,
                               int r)
Method to apply a high or low pass filter to an image.
Parameters:
input - TwoDArray representing the image.
h - boolean true - highpass, false - lowpass.
Returns:
TwoDArray representing new image.