STIRA  0.1
Public Member Functions | List of all members
stira::fouriertools::KISSFFTCalculator Class Reference

A class to compute the Fourier transforms based on the KISS FFT library by Mark Borgerding Mark Borgerding wrote all the kiss_fft files Source: http://sourceforge.net/projects/kissfft/. More...

#include <KISSFFTCalculator.h>

Inheritance diagram for stira::fouriertools::KISSFFTCalculator:
stira::fouriertools::FFTCalculator

Public Member Functions

 KISSFFTCalculator (ArrayGrid< std::complex< double > > *pComplexGrid)
 construct an FFT calculator initialized with and FFTBand More...
 
 ~KISSFFTCalculator ()
 destructor
 
void ApplyForwardTransform ()
 Computes the forward FFT.
 
void ApplyInverseTransform ()
 Computes the inverse FFT.
 
ArrayGrid< std::complex< double > > * ApplyInverseTransform (ArrayGrid< std::complex< double > > *pGridIn)
 Computes the inverse FFT. More...
 
- Public Member Functions inherited from stira::fouriertools::FFTCalculator
 FFTCalculator (ArrayGrid< std::complex< double > > *pComplexGrid)
 construct an FFT calculator initialized with and FFTBand More...
 
 FFTCalculator ()
 construct an FFT calculator; not initialized
 
virtual ~FFTCalculator ()
 destructor
 
void SwitchQuadrants ()
 Switches the four quadrants by mirroring them around the center of the image As source image, the image given at construction time is used.
 
void SwitchQuadrants (ArrayGrid< std::complex< double > > *pGridIn)
 Switches the four quadrants by mirroring them around the center of the image. More...
 

Additional Inherited Members

- Protected Attributes inherited from stira::fouriertools::FFTCalculator
ArrayGrid< std::complex< double > > * mpComplexGrid
 Grid with the complex data.
 
int mWidth
 width of the data
 
int mHeight
 height of the data
 

Detailed Description

A class to compute the Fourier transforms based on the KISS FFT library by Mark Borgerding Mark Borgerding wrote all the kiss_fft files Source: http://sourceforge.net/projects/kissfft/.

Constructor & Destructor Documentation

stira::fouriertools::KISSFFTCalculator::KISSFFTCalculator ( ArrayGrid< std::complex< double > > *  pComplexGrid)

construct an FFT calculator initialized with and FFTBand

Parameters
pComplexGridpointer to an ArrayGrid of complex values

Member Function Documentation

ArrayGrid< std::complex<double> >* stira::fouriertools::KISSFFTCalculator::ApplyInverseTransform ( ArrayGrid< std::complex< double > > *  pGridIn)

Computes the inverse FFT.

Parameters
pGridInthe input grid for the forward transform
Returns
a complex-valued grid containing the transformed data; the caller becomes responsible to delete it.

The documentation for this class was generated from the following files: