public void InverseFFT(Complex[,] fftImage)
        {
            if (FourierImageComplex == null)
            {
                FourierImageComplex = fftImage;

                Width  = FourierImageComplex.GetLength(0);
                Height = FourierImageComplex.GetLength(1);
            }

            GrayscaleImageComplex = FourierFunction.FFT2D(FourierImageComplex, Width, Height, -1);

            GrayscaleImageInteger = ImageDataConverter.ToInteger(GrayscaleImageComplex);

            ImageBitmap = ImageDataConverter.ToBitmap(GrayscaleImageInteger);
        }
 public void ForwardFFT()
 {
     FourierImageComplex = FourierFunction.FFT2D(GrayscaleImageComplex, Width, Height, 1);
 }