dft.h file
Declares an interface to a DFT function. See Transforms.
Classes
Aliases
-
using dip::
Option:: DFTOptions = dip::detail::Options - Determines working mode for
dip::DFT
anddip::RDFT
. Combines multipledip::Option::DFTOption
values,.
Enums
-
enum class dip::
Option:: DFTOption: uint8{ InPlace, TrashInput, Aligned } - Determines working mode for
dip::DFT
anddip::RDFT
.
Functions
-
auto dip::
GetOptimalDFTSize(dip::uint size0, bool larger = true, dip::uint maxFactor = 5) -> dip::uint - Returns a size equal or larger to
size0
that is efficient for the DFT implementation. The value returned is a product of small primes. -
auto dip::
MaxFactor(bool complex = true) -> dip::uint - The
maxFactor
parameter fordip::GetOptimalDFTSize
.complex
determines whether the transform to be computed is complex-to-complex or not.
Variables
-
dip::uint const dip::
maximumDFTSize - The largest size supported by
dip::DFT
anddip::FourierTransform
. Is equal to 231-1 when using FFTW, 264-1 when using PocketFFT on a 64-bit system, or 232-1 when using PocketFFT on a 32-bit system. -
bool const dip::
usingFFTW - Is
true
ifdip::DFT
anddip::RDFT
use the FFTW library, or false if they use PocketFFT.