Class FFTTools_matt
java.lang.Object
FFTTools_matt
class FFTTools_matt
- extends java.lang.Object
This class offers tools to perform Fourier transform on images.
Adapted from:
IP-LAB
ImageProcessing Laboratories
Freely available software and computer sessions for teaching and programming image processing in Java.
Reference
D. Sage, M. Unser
"Teaching Image-Processing Programming in Java,"
IEEE Signal Processing Magazine, vol. 20, no. 6, pp. 43-52, November 2003.
Author: Daniel Sage
Organisation: Biomedical Image Group (BIG), Swiss Federal Institute of Teachnology Lausanne (EPFL)
|
Method Summary |
static void |
doFFT(double[] imageReal,
double[] imageImag,
int width,
int height)
Perform the FFT 2D with the method Decimation in Time
Each image's dimension has to be a power of two : 2**m |
static void |
inverseFFT(double[] imageReal,
double[] imageImag,
int width,
int height)
Perform an inverse FFT 2D. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FFTTools_matt
FFTTools_matt()
doFFT
public static void doFFT(double[] imageReal,
double[] imageImag,
int width,
int height)
- Perform the FFT 2D with the method Decimation in Time
Each image's dimension has to be a power of two : 2**m
- Parameters:
imageReal - input: Signal, output: Fourier coefficients (real part)imageImag - input: Signal, output: Fourier coefficients (imaginary part)width - width of the signalheight - height of the signal
inverseFFT
public static void inverseFFT(double[] imageReal,
double[] imageImag,
int width,
int height)
- Perform an inverse FFT 2D.
Each image's dimension has to be a power of two : 2**m
- Parameters:
imageReal - input: Fourier coefficients (real part) , output: Signal (real part)imageImag - input: Fourier coefficients (imaginary part), output: Signal (imaginary part)width - width of the signalheight - height of the signal