17 #ifndef __itkFFTWCommonExtended_h 18 #define __itkFFTWCommonExtended_h 22 #if defined(ITK_USE_FFTWF) || defined(ITK_USE_FFTWD) 38 template <
typename TPixel>
48 #if defined(ITK_USE_FFTWF) 66 fftwf_plan_with_nthreads(threads);
67 PlanType plan = fftwf_plan_dft_c2r_1d(n,in,out,flags);
78 fftwf_plan_with_nthreads(threads);
79 PlanType plan = fftwf_plan_dft_c2r_2d(nx,ny,in,out,flags);
91 fftwf_plan_with_nthreads(threads);
92 PlanType plan = fftwf_plan_dft_c2r_3d(nx,ny,nz,in,out,flags);
103 fftwf_plan_with_nthreads(threads);
104 PlanType plan = fftwf_plan_dft_c2r(rank,n,in,out,flags);
115 fftwf_plan_with_nthreads(threads);
116 PlanType plan = fftwf_plan_dft_r2c_1d(n,in,out,flags);
127 fftwf_plan_with_nthreads(threads);
128 PlanType plan = fftwf_plan_dft_r2c_2d(nx,ny,in,out,flags);
140 fftwf_plan_with_nthreads(threads);
141 PlanType plan = fftwf_plan_dft_r2c_3d(nx,ny,nz,in,out,flags);
152 fftwf_plan_with_nthreads(threads);
153 PlanType plan = fftwf_plan_dft_r2c(rank,n,in,out,flags);
164 fftwf_plan_with_nthreads(threads);
165 PlanType plan = fftwf_plan_dft_1d(n,in,out,sign,flags);
176 fftwf_destroy_plan(p);
183 #if defined(ITK_USE_FFTWD) 200 fftw_plan_with_nthreads(threads);
201 PlanType plan = fftw_plan_dft_c2r_1d(n,in,out,flags);
212 fftw_plan_with_nthreads(threads);
213 PlanType plan = fftw_plan_dft_c2r_2d(nx,ny,in,out,flags);
225 fftw_plan_with_nthreads(threads);
226 PlanType plan = fftw_plan_dft_c2r_3d(nx,ny,nz,in,out,flags);
237 fftw_plan_with_nthreads(threads);
238 PlanType plan = fftw_plan_dft_c2r(rank,n,in,out,flags);
249 fftw_plan_with_nthreads(threads);
250 PlanType plan = fftw_plan_dft_r2c_1d(n,in,out,flags);
261 fftw_plan_with_nthreads(threads);
262 PlanType plan = fftw_plan_dft_r2c_2d(nx,ny,in,out,flags);
274 fftw_plan_with_nthreads(threads);
275 PlanType plan = fftw_plan_dft_r2c_3d(nx,ny,nz,in,out,flags);
286 fftw_plan_with_nthreads(threads);
287 PlanType plan = fftw_plan_dft_r2c(rank,n,in,out,flags);
298 fftw_plan_with_nthreads(threads);
299 PlanType plan = fftw_plan_dft_1d(n,in,out,sign,flags);
309 fftw_destroy_plan(p);
static PlanType Plan_dft_c2r_1d(int n, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static SimpleFastMutexLock & GetLockMutex()
A container to store a Mutex. This holder class for ensuring that locks are released in the event of ...
static void Execute(PlanType p)
static PlanType Plan_dft_c2r(int rank, const int *n, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static PlanType Plan_dft_c2r_2d(int nx, int ny, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_2d(int nx, int ny, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
fftwf_complex ComplexType
static void DestroyPlan(PlanType p)
static PlanType Plan_dft_1d(const int n, ComplexType *in, ComplexType *out, int sign, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_3d(int nx, int ny, int nz, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_c2r_3d(int nx, int ny, int nz, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_3d(int nx, int ny, int nz, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c(int rank, const int *n, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_1d(int n, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_c2r_2d(int nx, int ny, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c(int rank, const int *n, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static void DestroyPlan(PlanType p)
static PlanType Plan_dft_c2r_1d(int n, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_1d(const int n, ComplexType *in, ComplexType *out, int sign, unsigned flags, int threads=1)
ComplexToComplexProxy< float > Self
static PlanType Plan_dft_c2r_3d(int nx, int ny, int nz, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
ComplexToComplexProxy< double > Self
static PlanType Plan_dft_c2r(int rank, const int *n, ComplexType *in, PixelType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_2d(int nx, int ny, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static PlanType Plan_dft_r2c_1d(int n, PixelType *in, ComplexType *out, unsigned flags, int threads=1)
static void Execute(PlanType p)