Class InverseFFT

java.lang.Object
  |
  +--InverseFFT

public class InverseFFT
extends java.lang.Object

The InverseFFT class contains a method to apply the 2D inverse FFT to a TwoDArray.

Author:
Simon Horne

Constructor Summary
InverseFFT()
          Default no argument constructor.
 
Method Summary
 ComplexNumber[] recursiveInverseFFT(ComplexNumber[] x)
          Recursively applies the 1D inverse FFT algorithm.
 TwoDArray transform(TwoDArray input)
          Takes a TwoDArray, applies the 2D inverse FFT to the input by applying the 1D inverse FFT to each column and then each row in turn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InverseFFT

public InverseFFT()
Default no argument constructor.
Method Detail

recursiveInverseFFT

public ComplexNumber[] recursiveInverseFFT(ComplexNumber[] x)
Recursively applies the 1D inverse FFT algorithm.
Parameters:
x - ComplexNumber array containing the input to the 1D inverse FFT.
Returns:
ComplexNumber array containing the result of the 1D inverse FFT.

transform

public TwoDArray transform(TwoDArray input)
Takes a TwoDArray, applies the 2D inverse FFT to the input by applying the 1D inverse FFT to each column and then each row in turn.
Parameters:
input - TwoDArray containing the input image data.
Returns:
TwoDArray containing the new image data.