diplib/dft.h file

Declares an interface to a DFT function. See Transforms.

Contents

Classes

template<typename T>
class dip::DFT
An object that encapsulates the Discrete Fourier Transform (DFT).
template<typename T>
class dip::RDFT
An object that encapsulates the real-valued Discrete Fourier Transform (DFT).

Aliases

using dip::Option::DFTOptions = dip::detail::Options
Determines working mode for dip::DFT and dip::RDFT. Combines multiple dip::Option::DFTOption values,.

Enums

enum class dip::Option::DFTOption: uint8{ InPlace, TrashInput, Aligned }
Determines working mode for dip::DFT and dip::RDFT.

Functions

auto dip::GetOptimalDFTSize(dip::uint size0, bool larger = true) -> dip::uint
Returns a size equal or larger to size0 that is efficient for the DFT implementation.

Variables

dip::uint const dip::maximumDFTSize
The largest size supported by dip::DFT and dip::FourierTransform. Is equal to 231-1 when using FFTW, or 264-1 when using PocketFFT.
bool const dip::usingFFTW
Is true if dip::DFT and dip::RDFT use the FFTW library, or false if they use PocketFFT.