Class FFT

java.lang.Object
  |
  +--FFT

public class FFT
extends java.lang.Object

The FFT class contains methods to apply the 2D FFT to a TwoDArray.

Author:
Simon Horne

Field Summary
 TwoDArray input
          Data structure to hold the input to the algorithm.
 TwoDArray intermediate
          Data structure to hold the intermediate results of the algorithm.
 TwoDArray output
          Data structure to hold the ouput of the algorithm.
 
Constructor Summary
FFT()
          Default no argument constructor.
FFT(int[] pixels, int w, int h)
          Constructor to set up an FFT object and then automatically apply the FFT algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

public TwoDArray input
Data structure to hold the input to the algorithm.

intermediate

public TwoDArray intermediate
Data structure to hold the intermediate results of the algorithm. After applying the 1D FFT to the columns but before the rows.

output

public TwoDArray output
Data structure to hold the ouput of the algorithm.
Constructor Detail

FFT

public FFT()
Default no argument constructor.

FFT

public FFT(int[] pixels,
           int w,
           int h)
Constructor to set up an FFT object and then automatically apply the FFT algorithm.
Parameters:
pixels - int array containing the image data.
w - The width of the image in pixels.
h - The height of the image in pixels.