net.sarcommand.fft
Class DFT2

java.lang.Object
  extended by net.sarcommand.fft.FourierTransform
      extended by net.sarcommand.fft.FourierTransform2D
          extended by net.sarcommand.fft.DFT2

public class DFT2
extends FourierTransform2D

Author:
A. O. Ergueven, Torsten Heup
Implements a simple twodimensional discrete fourier transformation. The DFT1 class will be used to transform all rows and columns when applying the twodimensional transform.

Field Summary
 
Fields inherited from class net.sarcommand.fft.FourierTransform2D
image
 
Constructor Summary
DFT2()
          Instanciates a new twodimensional dft.
 
Method Summary
 void inverseTransform(ComplexSignal inputData, net.sarcommand.util.ProgressNotifier notifier)
          Apply the inverse fourier transform to the given input data.
 void transform(ComplexSignal inputData, net.sarcommand.util.ProgressNotifier notifier)
          Apply the fourier transform to the given input data.
 
Methods inherited from class net.sarcommand.fft.FourierTransform2D
fourierSignalToGrayscale, getCol, getRow, imageToSignal, inverseTransform, isPowerOf2, isPowerOf2, putCol, putRow, realToGrayscale, shiftQuadrants, transform
 
Methods inherited from class net.sarcommand.fft.FourierTransform
computeUnityRoot, convertToBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFT2

public DFT2()
Instanciates a new twodimensional dft.

Method Detail

transform

public void transform(ComplexSignal inputData,
                      net.sarcommand.util.ProgressNotifier notifier)
Apply the fourier transform to the given input data.

Specified by:
transform in class FourierTransform
Parameters:
inputData - Signal to transform
notifier - Notifier

inverseTransform

public void inverseTransform(ComplexSignal inputData,
                             net.sarcommand.util.ProgressNotifier notifier)
Apply the inverse fourier transform to the given input data.

Specified by:
inverseTransform in class FourierTransform
Parameters:
inputData - Signal to transform
notifier - Notifier