ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::PocketFFTCommon Namespace Reference

Functions

pocketfft::shape_t MakeAxes (const unsigned int dimension)
 
template<typename TSize>
pocketfft::shape_t MakeShape (const TSize &itkSize, const unsigned int dimension)
 
template<typename TSize>
pocketfft::stride_t MakeStride (const TSize &itkSize, const unsigned int dimension, const vcl_size_t pixelBytes)
 
template<typename TValue>
void Transform1D (std::complex< TValue > *data, const vcl_size_t lineLength, const bool forward, const TValue scale)
 

Detailed Description

Helpers shared by the PocketFFT image filters.

Function Documentation

◆ MakeAxes()

pocketfft::shape_t itk::PocketFFTCommon::MakeAxes ( const unsigned int dimension)
inline

All axes, ordered so axes.back() is the ITK x dimension (the axis pocketfft halves in r2c/c2r).

Definition at line 63 of file itkPocketFFTCommon.h.

◆ MakeShape()

template<typename TSize>
pocketfft::shape_t itk::PocketFFTCommon::MakeShape ( const TSize & itkSize,
const unsigned int dimension )
inline

pocketfft shape is listed slowest-varying axis first; the ITK buffer is x-fastest, so ITK dimension i maps to shape index (Dimension - 1 - i).

Definition at line 35 of file itkPocketFFTCommon.h.

◆ MakeStride()

template<typename TSize>
pocketfft::stride_t itk::PocketFFTCommon::MakeStride ( const TSize & itkSize,
const unsigned int dimension,
const vcl_size_t pixelBytes )
inline

Contiguous-buffer strides in bytes for a pixel of size pixelBytes.

Definition at line 48 of file itkPocketFFTCommon.h.

◆ Transform1D()

template<typename TValue>
void itk::PocketFFTCommon::Transform1D ( std::complex< TValue > * data,
const vcl_size_t lineLength,
const bool forward,
const TValue scale )
inline

In-place 1D complex transform of a contiguous line buffer.

Definition at line 76 of file itkPocketFFTCommon.h.