ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkFFTWHalfHermitianToRealInverseFFTImageFilter.h>
FFTW-based reverse Fast Fourier Transform.
This filter computes the reverse 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://hdl.handle.net/10380/3154 or http://insight-journal.com/browse/publication/717
Definition at line 50 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::HalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::HalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = InputImageType::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
bool | m_CanUseDestructiveAlgorithm |
int | m_PlanRigor |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 68 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< 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 75 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Standard class type aliases.
Definition at line 57 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::InputPixelType = typename InputImageType::PixelType |
Definition at line 58 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::InputSizeType = typename InputImageType::SizeType |
Definition at line 59 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 60 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename OutputImageType::PixelType |
Definition at line 61 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::OutputRegionType = typename OutputImageType::RegionType |
Definition at line 62 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::OutputSizeType = typename OutputImageType::SizeType |
Definition at line 63 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 67 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::Self = FFTWHalfHermitianToRealInverseFFTImageFilter |
Definition at line 65 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
using itk::FFTWHalfHermitianToRealInverseFFTImageFilter< TInputImage, TOutputImage >::Superclass = HalfHermitianToRealInverseFFTImageFilter< InputImageType, OutputImageType > |
Definition at line 66 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 121 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
|
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 >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
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::ImageToImageFilter< 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 enabled. /sa FFTWGlobalConfiguration
|
overridevirtual |
Reimplemented from itk::HalfHermitianToRealInverseFFTImageFilter< 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 enabled. /sa FFTWGlobalConfiguration
Definition at line 96 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.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 enabled. /sa FFTWGlobalConfiguration
Definition at line 109 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
References itk::FFTWGlobalConfiguration::GetPlanRigorValue().
|
overrideprotectedvirtual |
Actually generate new output
Reimplemented from itk::ProcessObject.
|
static |
Define the image dimension.
Definition at line 85 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
|
private |
Definition at line 132 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.
|
private |
Definition at line 134 of file itkFFTWHalfHermitianToRealInverseFFTImageFilter.h.