Bsoft 2.1.4
Bernard's software package
bfft.cpp File Reference

General FFT for n-dimensional data. More...

#include "rwimg.h"
#include "qsort_functions.h"
#include "options.h"
#include "timer.h"

Functions

int img_fft_times (int ndim, int minsize, int maxsize, int opt)
 Tests the execution times for a series of image sizes. More...
 
int main (int argc, char **argv)
 

Variables

int verbose
 
const char * use []
 

Detailed Description

General FFT for n-dimensional data.

Author
Bernard Heymann
Date
Created: 19980805
Modified: 20221117 Implementing the FFTW library

Function Documentation

◆ img_fft_times()

int img_fft_times ( int  ndim,
int  minsize,
int  maxsize,
int  opt 
)

Tests the execution times for a series of image sizes.

Parameters
ndimnumber of dimensions (1,2,3).
minsizeminimum image size.
maxsizemaximum image size.
optoptimization (with FFTW_MEASURE).
Returns
int 0.
FFTW library (www.fftw.org).
Blank complex floating point images are created and transformed.
Only the call to the complex FFT function is timed.

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ use

const char* use[]

◆ verbose

int verbose
extern