math.fourierTransforms.r2
Class FFTrgb
java.lang.Object
   math.fourierTransforms.r2.FFTrgb
math.fourierTransforms.r2.FFTrgb
- public class FFTrgb 
- extends java.lang.Object
 
 
| Method Summary | 
|  void | complexMultMask(FFTrgb fftRgb)
 | 
|  void | fft(float[] in_r,
    float[] in_i)FFT engine.
 | 
| static void | fftStatic(FFTrgb FFTrgb,
          float[] in_r,
          float[] in_i,
          int numBits)FFT engine.
 | 
|  int[] | forward2dFFT(float[] imageData_R,
             float[] imageData_G,
             float[] imageData_B,
             int imageWidth,
             int imageHeight)
 | 
|  int[] | forward2dFFT(short[] imageData_R,
             short[] imageData_G,
             short[] imageData_B,
             int imageWidth,
             int imageHeight)
 | 
|  void | forwardFFT(float[] in_r,
           float[] in_i)
 | 
|  float[][] | getBlueImaginary()
 | 
|  float[][] | getBlueReal()
 | 
|  float[][] | getGreenImaginary()
 | 
|  float[][] | getGreenReal()
 | 
|  int[] | getPhaseImage()
 | 
|  int[] | getPsd()
 | 
|  float[][] | getRedImaginary()
 | 
|  float[][] | getRedReal()
 | 
|  ShortImageBean | getShortImageBean()
 | 
|  float[] | magnitudeSpectrum(float[] in_r,
                  float[] in_i)
 | 
|  void | maskImage(int maskSize)
 | 
|  void | maskMult(FFTrgb fftRgb)
 | 
|  void | mult(FFTShortImageBean k)
 | 
|  void | normalize(int w,
          int h)
 | 
|  void | printStats()
 | 
|  int[] | reverse2dFFT()
 | 
|  void | reverseFFT(float[] in_r,
           float[] in_i)
 | 
|  void | scale(float sc)
 | 
|  void | swap(int i)1D FFT utility functions.
 | 
| static void | swapInt(float[] i_data1,
        float[] r_data1,
        int i,
        int j)
 | 
|  void | TestFFT()A way to visually test the 1D FFT on a small amount of data.
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DisplayLogPSD
public boolean DisplayLogPSD
cR_r
public float[][] cR_r
cG_r
public float[][] cG_r
cB_r
public float[][] cB_r
cR_i
public float[][] cR_i
cG_i
public float[][] cG_i
cB_i
public float[][] cB_i
FFTrgb
public FFTrgb()
printStats
public void printStats()
- 
 
normalize
public void normalize(int w,
                      int h)
- 
 
getPsd
public int[] getPsd()
- 
 
getPhaseImage
public int[] getPhaseImage()
- 
 
forward2dFFT
public int[] forward2dFFT(float[] imageData_R,
                          float[] imageData_G,
                          float[] imageData_B,
                          int imageWidth,
                          int imageHeight)
- 
 
getShortImageBean
public ShortImageBean getShortImageBean()
- 
 
maskImage
public void maskImage(int maskSize)
- 
 
forward2dFFT
public int[] forward2dFFT(short[] imageData_R,
                          short[] imageData_G,
                          short[] imageData_B,
                          int imageWidth,
                          int imageHeight)
- 
 
reverse2dFFT
public int[] reverse2dFFT()
- 
 
TestFFT
public void TestFFT()
- A way to visually test the 1D FFT on a small amount of data.
 
- 
 
swap
public void swap(int i)
- 1D FFT utility functions.
 
- 
 
swapInt
public static void swapInt(float[] i_data1,
                           float[] r_data1,
                           int i,
                           int j)
- 
 
forwardFFT
public void forwardFFT(float[] in_r,
                       float[] in_i)
- 
 
reverseFFT
public void reverseFFT(float[] in_r,
                       float[] in_i)
- 
 
fft
public void fft(float[] in_r,
                float[] in_i)
- FFT engine.
 1D Complex fft with floats.
 It is Radix 2.
 Therefore, the size must be an integral
 power of 2, 2*4, 32,64, 128,256,512,1024
 
- 
 
fftStatic
public static void fftStatic(FFTrgb FFTrgb,
                             float[] in_r,
                             float[] in_i,
                             int numBits)
- FFT engine.
 1D Complex fft with floats.
 It is Radix 2.
 Therefore, the size must be an integral
 power of 2, 2*4, 32,64, 128,256,512,1024
 
- 
 
getRedReal
public float[][] getRedReal()
- 
 
getRedImaginary
public float[][] getRedImaginary()
- 
 
getGreenReal
public float[][] getGreenReal()
- 
 
getGreenImaginary
public float[][] getGreenImaginary()
- 
 
getBlueReal
public float[][] getBlueReal()
- 
 
getBlueImaginary
public float[][] getBlueImaginary()
- 
 
magnitudeSpectrum
public float[] magnitudeSpectrum(float[] in_r,
                                 float[] in_i)
- 
 
complexMultMask
public void complexMultMask(FFTrgb fftRgb)
- 
 
maskMult
public void maskMult(FFTrgb fftRgb)
- 
 
scale
public void scale(float sc)
- 
 
mult
public void mult(FFTShortImageBean k)
-