![]() |
ITK
5.3.0
Insight Toolkit
|
#include <itkFFTWInverseFFTImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
int | m_PlanRigor |
FFTW-based inverse Fast Fourier Transform.
This filter computes the inverse Fourier transform of an image. The implementation is based on the FFTW library.
This filter is multithreaded and supports input images of any size.
This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/717
Definition at line 51 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::FFTWProxyType = typename fftw::Proxy<OutputPixelType> |
The proxy type is a wrapper for the FFTW API since the proxy is only defined over double and float, trying to use any other pixel type is unsupported, as is trying to use double if only the float FFTW version is configured in, or float if only double is configured.
Definition at line 74 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Standard class type aliases.
Definition at line 57 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::InputPixelType = typename InputImageType::PixelType |
Definition at line 58 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::InputSizeType = typename InputImageType::SizeType |
Definition at line 59 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 76 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 60 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename OutputImageType::PixelType |
Definition at line 61 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::OutputSizeType = typename OutputImageType::SizeType |
Definition at line 62 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::Self = FFTWInverseFFTImageFilter |
Definition at line 64 of file itkFFTWInverseFFTImageFilter.h.
using itk::FFTWInverseFFTImageFilter< TInputImage, TOutputImage >::Superclass = InverseFFTImageFilter<InputImageType, OutputImageType> |
Definition at line 65 of file itkFFTWInverseFFTImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData() or DynamicThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call (Dynamic)ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of (Dynamic)ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a (Dynamic)ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The (Dynamic)ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. (Dynamic)ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
DynamicThreadedGenerateData() is the newer variant without threadId, and is the preferred signature, which is called by default. This variant can split the requested region into different number of pieces depending on current multi-processing load, which allows better load balancing. The non-dynamic (also known as classic) ThreadedGenerateData() signature has threadId, and number of pieces to be split into is known in advance. It is activated by calling this->DynamicMultiThreadingOff(); in derived class constructor. It should be used when the multi-threaded algorithm needs to pre-allocate some data structure with size dependent on the number of pieces (also known as chunks, work units, and sometimes also incorrectly as threads). Only PlatformMultiThreader guarantees that each piece will be processed in its own specific thread. Pool and TBB multi-threaders maintain a pool of threads (normally equal to number of processing cores) which they use to process the pieces. This normally results in a single thread being reused to process multiple work units.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::InverseFFTImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the behavior of wisdom plan creation. The default is provided by FFTWGlobalConfiguration::GetPlanRigor().
The parameter is one of the FFTW planner rigor flags FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE provided by FFTWGlobalConfiguration.
This has no effect with ITK_USE_CUFFTW. /sa FFTWGlobalConfiguration
|
overridevirtual |
Reimplemented from itk::InverseFFTImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
inlinevirtual |
Set/Get the behavior of wisdom plan creation. The default is provided by FFTWGlobalConfiguration::GetPlanRigor().
The parameter is one of the FFTW planner rigor flags FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE provided by FFTWGlobalConfiguration.
This has no effect with ITK_USE_CUFFTW. /sa FFTWGlobalConfiguration
Definition at line 97 of file itkFFTWInverseFFTImageFilter.h.
References itk::FFTWGlobalConfiguration::GetPlanRigorName().
|
inline |
Set/Get the behavior of wisdom plan creation. The default is provided by FFTWGlobalConfiguration::GetPlanRigor().
The parameter is one of the FFTW planner rigor flags FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE provided by FFTWGlobalConfiguration.
This has no effect with ITK_USE_CUFFTW. /sa FFTWGlobalConfiguration
Definition at line 111 of file itkFFTWInverseFFTImageFilter.h.
References itk::FFTWGlobalConfiguration::GetPlanRigorValue().
|
staticconstexpr |
Define the image dimension.
Definition at line 85 of file itkFFTWInverseFFTImageFilter.h.
|
private |
Definition at line 136 of file itkFFTWInverseFFTImageFilter.h.