All Packages Class Hierarchy This Package Previous Next Index
Class VS.vsFFT
java.lang.Object
|
+----VS.vsFFT
- public class vsFFT
- extends java.lang.Object
-
cB_i
-
-
cB_r
-
-
cG_i
-
-
cG_r
-
-
cR_i
-
-
cR_r
-
-
CU
-
-
direction
-
-
DisplayLogPSD
-
-
FORWARD_FFT
-
-
height
-
-
i_data
-
-
iUtils
-
-
maxPSD
-
-
minPSD
-
-
N
-
-
numBits
-
-
r_data
-
-
REVERSE_FFT
-
-
twoPI
-
-
width
-
-
vsFFT()
-
-
bitr(int)
-
-
bitReverse()
-
-
bitReverse2()
-
-
copy2dArray(float[][], float[][])
- The two arrays must be the same size.
-
copyFloatToComplex(float[][], float[][], float[])
-
-
copyRealToFloat(float[][])
-
-
copyShortToComplex(float[][], float[][], short[])
-
-
fft(float[], float[])
- FFT engine.
-
forward2dFFT(float[], float[], float[], int, int)
-
-
forward2dFFT(short[], short[], short[], int, int)
-
-
forwardFFT(float[], float[])
-
-
getBlueImaginary()
-
-
getBlueReal()
-
-
getGreenImaginary()
-
-
getGreenReal()
-
-
getMaxValue(double[])
-
-
getRedImaginary()
-
-
getRedReal()
-
-
init()
-
-
magnitudeSpectrum(float[], float[])
-
-
magnitudeSpectrum(float[][], float[][])
-
-
psd()
-
-
reverse2dFFT()
-
-
reverseFFT(float[], float[])
-
-
Rotate90(float[][])
-
-
rotateInPlace180(float[][])
-
-
swap(int)
- 1D FFT utility functions.
-
swapInt(int, int)
-
-
TestFFT()
- A way to visually test the 1D FFT on a small amount of data.
FORWARD_FFT
private final int FORWARD_FFT
REVERSE_FFT
private final int REVERSE_FFT
direction
private float direction
twoPI
static final float twoPI
N
private int N
numBits
private int numBits
width
private int width
height
private int height
minPSD
private float minPSD
maxPSD
private float maxPSD
CU
VS.ColorUtils CU
iUtils
VS.ImageUtils iUtils
DisplayLogPSD
public boolean DisplayLogPSD
cR_r
float cR_r[][]
cR_i
float cR_i[][]
cG_r
float cG_r[][]
cG_i
float cG_i[][]
cB_r
float cB_r[][]
cB_i
float cB_i[][]
r_data
float r_data[]
i_data
float i_data[]
vsFFT
public vsFFT()
init
private void init()
psd
public int[] psd()
forward2dFFT
public int[] forward2dFFT(float imageData_R[],
float imageData_G[],
float imageData_B[],
int imageWidth,
int imageHeight)
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 void swapInt(int i,
int j)
getMaxValue
double getMaxValue(double in[])
bitReverse2
void bitReverse2()
bitReverse
void bitReverse()
bitr
int bitr(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.
getRedReal
public float[][] getRedReal()
getRedImaginary
public float[][] getRedImaginary()
getGreenReal
public float[][] getGreenReal()
getGreenImaginary
public float[][] getGreenImaginary()
getBlueReal
public float[][] getBlueReal()
getBlueImaginary
public float[][] getBlueImaginary()
copy2dArray
private void copy2dArray(float dst[][],
float src[][])
- The two arrays must be the same size.
copyFloatToComplex
private void copyFloatToComplex(float dst_r[][],
float dst_i[][],
float imageData[])
copyShortToComplex
private void copyShortToComplex(float dst_r[][],
float dst_i[][],
short imageData[])
Rotate90
private float[][] Rotate90(float in[][])
rotateInPlace180
private void rotateInPlace180(float in[][])
copyRealToFloat
private float[] copyRealToFloat(float in_r[][])
magnitudeSpectrum
private float[] magnitudeSpectrum(float in_r[][],
float in_i[][])
magnitudeSpectrum
public float[] magnitudeSpectrum(float in_r[],
float in_i[])
All Packages Class Hierarchy This Package Previous Next Index