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

  PUBLIC
FFT2dBodyC::FFT2dBodyC(Index2dC,bool)
FFT2dBodyC::~FFT2dBodyC(void)
FFT2dBodyC::Init(Index2dC,bool)
FFT2dBodyC::Apply(const SArray2dC &)
FFT2dBodyC::Apply(const SArray2dC &)
FFT2dBodyC::Size(void) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   FFT2dBodyC   
 
2d FFT
 
include "Ravl/FFT2d.hh"
Source file:Ravl/Math/Signals/2D/FFT2d.hh
User Level:Develop
Library:RavlMath
In Scope:RavlN

Parent Classes: Variables:
Index2dC size;
Size of the transform.

IntT n;

IntT m;

bool inv;
Is the transform backward ??

bool base2;
Are both dimentions a power of 2?

int primeFactors1[];

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

int primeFactors2[];

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

SArray2dC tmp1;

SArray2dC tmp1Ptr;

Methods:
FFT2dBodyC(Index2dC size,bool iinv)
Constructor.

~FFT2dBodyC()
Destructor

bool Init(Index2dC size,bool iinv)
Create a plan with the given setup.

SArray2dC<ComplexC> Apply(const SArray2dC<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.

SArray2dC<ComplexC> Apply(const SArray2dC<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.

Index2dC Size() const
The size of the transform.

#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