Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Signals - 1D - FFT1dBodyC
 

  PUBLIC
FFT1dBodyC::FFT1dBodyC(int,bool,bool)
FFT1dBodyC::~FFT1dBodyC(void)
FFT1dBodyC::Init(int,bool)
FFT1dBodyC::Apply(const Array1dC &)
FFT1dBodyC::Apply(const Array1dC &)
FFT1dBodyC::N(void) const
FFT1dBodyC::IsZeroPad(void) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   FFT1dBodyC   
 
Interface class for 1d FFTW
 
include "Ravl/FFT1d.hh"
Source file:Ravl/Math/Signals/1D/FFT1d.hh
User Level:Develop
Library:RavlMath
Example:exFFT1d.cc
In Scope:RavlN

Parent Classes: Variables:
IntT n;
Size of the transform.

bool inv;
Is the transform backward ??

bool pwr2;
Is length a power of two ?

bool zeroPad;
Zero pad input to 'n' bytes ?

int primeFactors[];

int nf;
Number of factors. Sufficent for all 32-bit lengths.

Methods:
FFT1dBodyC(int n,bool iinv,bool zeroPad = false)
Constructor.

~FFT1dBodyC()
Destructor

bool Init(int n,bool iinv)
Create a plan with the given setup.

Array1dC<ComplexC> Apply(const Array1dC<ComplexC> & dat)
Apply transform to array.
Note, only the first 'n' byte of dat are proccessed. if the array is shorter than the given length, an exception 'ErrorOutOfRangeC' will be thrown.

Array1dC<ComplexC> Apply(const Array1dC<RealT> & dat)
Apply transform to real array
Note, only the first 'n' byte of dat are proccessed. if the array is shorter than the given length, an exception 'ErrorOutOfRangeC' will be thrown.

IntT N() const
The size of the transform.

bool IsZeroPad() const
Test if we're doing zero padding.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Documentation by CxxDoc: Tue Aug 13 09:59:30 2002