Structural deformable models
Main Page
Namespaces
Classes
Files
File List
File Members
src
Fourier.h
Go to the documentation of this file.
1
#ifndef _FOURIER_H_
2
#define _FOURIER_H_
3
4
#include <fftw3.h>
5
6
class
Fourier2D
{
7
public
:
8
Fourier2D
();
9
~Fourier2D
();
10
void
initTransform
(
int
xsize,
int
ysize,
double
* f,
double
* F);
11
void
destroyTransform
();
12
void
transform
();
13
void
transformInv
();
14
static
int
complexX
(
int
sizex) {
return
(sizex/2+1)*2; }
15
int
complexX
()
const
{
return
complexX
(
m_SizeX
); }
16
int
complexY
()
const
{
return
m_SizeY
; }
17
int
realX
()
const
{
return
m_SizeX
; }
18
int
realY
()
const
{
return
m_SizeY
; }
19
20
protected
:
21
void
loadWisdom
();
22
void
saveWisdom
();
23
24
//--- member variables ---
25
fftw_plan
m_Plan2D
,
m_Plan2Dinv
;
26
bool
m_PlansCreated
;
27
int
m_SizeX
,
m_SizeY
;
28
static
bool
s_WisdomLoaded
,
s_WisdomModified
;
29
};
30
31
#endif
Fourier2D::m_PlansCreated
bool m_PlansCreated
Definition:
Fourier.h:26
Fourier2D::transform
void transform()
Definition:
Fourier.cpp:23
Fourier2D::realX
int realX() const
Definition:
Fourier.h:17
Fourier2D::Fourier2D
Fourier2D()
Definition:
Fourier.cpp:16
Fourier2D::transformInv
void transformInv()
Definition:
Fourier.cpp:28
Fourier2D::~Fourier2D
~Fourier2D()
Definition:
Fourier.cpp:19
Fourier2D::destroyTransform
void destroyTransform()
Definition:
Fourier.cpp:73
Fourier2D::m_Plan2D
fftw_plan m_Plan2D
Definition:
Fourier.h:25
Fourier2D::loadWisdom
void loadWisdom()
Definition:
Fourier.cpp:33
Fourier2D::initTransform
void initTransform(int xsize, int ysize, double *f, double *F)
Definition:
Fourier.cpp:53
Fourier2D::realY
int realY() const
Definition:
Fourier.h:18
Fourier2D::s_WisdomModified
static bool s_WisdomModified
Definition:
Fourier.h:28
Fourier2D::saveWisdom
void saveWisdom()
Definition:
Fourier.cpp:43
Fourier2D::m_SizeY
int m_SizeY
Definition:
Fourier.h:27
Fourier2D::complexX
static int complexX(int sizex)
Definition:
Fourier.h:14
Fourier2D
Definition:
Fourier.h:6
Fourier2D::complexY
int complexY() const
Definition:
Fourier.h:16
Fourier2D::complexX
int complexX() const
Definition:
Fourier.h:15
Fourier2D::m_Plan2Dinv
fftw_plan m_Plan2Dinv
Definition:
Fourier.h:25
Fourier2D::m_SizeX
int m_SizeX
Definition:
Fourier.h:27
Fourier2D::s_WisdomLoaded
static bool s_WisdomLoaded
Definition:
Fourier.h:28
Generated by
1.8.11