fractsplinewavelets
Class FFT2D

java.lang.Object
  |
  +--fractsplinewavelets.FFT2D

public class FFT2D
extends java.lang.Object


Plugin of ImageJ:
Fractional Spline Wavelet

Authors:
Gil Gaillard, Michael Liebling michael.liebling@epfl.ch, Daniel Sage daniel.sage@epfl.ch
Swiss Federal Institute of Technology Lausanne, Biomedical Imaging Group, CH-1015 Lausanne, Switzerland, http://bigwww.epfl.ch

Version:
24 January 2002

Copyright
Copyright © 2002, Swiss Federal Institute of Technology, Lausanne, Switzerland, (EPFL)


Purpose of the class:
Perform a 2D FFT.


Constructor Summary
FFT2D()
           
 
Method Summary
static void convertCartesianToPolar(fractsplinewavelets.ImageAccess real, fractsplinewavelets.ImageAccess imaginary)
          Perform the transform Cartesian to polar coordonates.
static void convertPolarToCartesian(fractsplinewavelets.ImageAccess Magnitude, fractsplinewavelets.ImageAccess Phase)
          Perform the transform Polar to cartesian coordinates.
static void inverse(fractsplinewavelets.ImageAccess imageReal, fractsplinewavelets.ImageAccess imageImag)
          Perform an inverse 2D FFT
static void transform(fractsplinewavelets.ImageAccess imageReal, fractsplinewavelets.ImageAccess imageImag)
          Perform a 2D FFT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FFT2D

public FFT2D()
Method Detail

transform

public static void transform(fractsplinewavelets.ImageAccess imageReal,
                             fractsplinewavelets.ImageAccess imageImag)
Perform a 2D FFT
Parameters:
imageReal - input: Signal, output: Fourier coefficients (real part)
imag - input: Signal, output: Fourier coefficients (imaginary part)

inverse

public static void inverse(fractsplinewavelets.ImageAccess imageReal,
                           fractsplinewavelets.ImageAccess imageImag)
Perform an inverse 2D FFT
Parameters:
imageReal - input: Fourier coefficients (real part) , output: Signal (real part)
imageImag - input: Fourier coefficients (imaginary part), output: nothing

convertCartesianToPolar

public static void convertCartesianToPolar(fractsplinewavelets.ImageAccess real,
                                           fractsplinewavelets.ImageAccess imaginary)
Perform the transform Cartesian to polar coordonates.
Parameters:
real - Input: an ImageAccess object containing the real part of the image. Output: the module (i.e the magnitude) of the complex image
imaginary - Input: an ImageAccess object containing the imaginary part of the image. Output: the phase of the complex image

convertPolarToCartesian

public static void convertPolarToCartesian(fractsplinewavelets.ImageAccess Magnitude,
                                           fractsplinewavelets.ImageAccess Phase)
Perform the transform Polar to cartesian coordinates.
Parameters:
Magnitude - Input: an ImageAccess object containing the magnitude of the image. Output: the real part of the complex image
Phase - Input: an ImageAccess object containing the phase of the image. Output: the imaginary part of the complex image