Description: This "slow" but simple One- and Two-dimensional FFT Demo can be downloaded from here (source included).
The Demo generates a 1D or 2D input signal (with size 256 or 256x256) which is displayed in the left bitmap (8 bit gray palette).
The signal contains a centered rectangular pulse (pulse size from 2 to 256). Since the input is real, the FFT routine ftu() produces biased spectrum. If "Reorder" is checked, the zero frequency is shifted to the center of the spectrum by swapping data from the respective quadrants. The complex result is displayed in the right bitmap in one of four possible modes: Module, Phase, Real part or Imaginary part. If "InvFFT" is checked, an inverse FFT is applied on the spectrum, the result being the recovered input signal. However, to recover the input signal correctly "Reorder" has to be unchecked. In order to keep up with tradition, the 2D signal may be fed from Lenna.bmp file which comes with the Demo. (See about Lenna below).
To Search:
File list (Check if you may need any files):
UnitMain.ddp
UnitMain.dfm
UnitMain.pas
FFT_Demo_Simple.cfg
FFT_Demo_Simple.dof
FFT_Demo_Simple.dpr
FFT_Demo_Simple.exe
FFT_Demo_Simple.res
GNU_GP_LICENSE.txt
Lenna.bmp
README.txt
SimpleFFT.dcu
SimpleFFT.pas
UnitMain.dcu