ITK
5.2.0
Insight Toolkit
|
#include <itkFFTPadImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename InputImageType::IndexType |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename InputImageType::RegionType |
using | Self = FFTPadImageFilter |
using | SizeType = typename InputImageType::SizeType |
using | Superclass = PadImageFilterBase< TInputImage, TOutputImage > |
Public Types inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
using | BoundaryConditionPointerType = BoundaryConditionType * |
using | BoundaryConditionType = ImageBoundaryCondition< TInputImage, TOutputImage > |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageIndexType = typename TInputImage::IndexType |
using | InputImagePixelType = typename TInputImage::PixelType |
using | InputImageRegionType = typename TInputImage::RegionType |
using | InputImageSizeType = typename TInputImage::SizeType |
using | OutputImageIndexType = typename TOutputImage::IndexType |
using | OutputImagePixelType = typename TOutputImage::PixelType |
using | OutputImageRegionType = typename TOutputImage::RegionType |
using | OutputImageSizeType = typename TOutputImage::SizeType |
using | Pointer = SmartPointer< Self > |
using | Self = PadImageFilterBase |
using | SizeType = typename TInputImage::SizeType |
using | SizeValueType = typename TInputImage::SizeValueType |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TOutputImage::ImageDimension |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::PadImageFilterBase< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = TInputImage::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 |
using | BoundaryConditionType = ImageBoundaryCondition< TInputImage, TOutputImage > |
using | BoundaryConditionPointerType = BoundaryConditionType * |
using | DefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition< TInputImage, TOutputImage > |
SizeValueType | m_SizeGreatestPrimeFactor |
DefaultBoundaryConditionType | m_DefaultBoundaryCondition |
virtual SizeValueType | GetSizeGreatestPrimeFactor () const |
virtual void | SetSizeGreatestPrimeFactor (SizeValueType _arg) |
FFTPadImageFilter () | |
~FFTPadImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | GenerateOutputInformation () override |
Pad an image to make it suitable for an FFT transformation.
FFT filters usually requires a specific image size. The size is decomposed in several prime factors, and the filter only supports prime factors up to a maximum value. This filter automatically finds the greatest prime factor required by the available implementation and pads the input appropriately.
This code was adapted from the Insight Journal contribution:
"FFT Based Convolution" by Gaetan Lehmann https://www.insight-journal.org/browse/publication/717
Definition at line 52 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::BoundaryConditionPointerType = BoundaryConditionType * |
Typedef to describe the boundary condition.
Definition at line 99 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::BoundaryConditionType = ImageBoundaryCondition<TInputImage, TOutputImage> |
Typedef to describe the boundary condition.
Definition at line 98 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::DefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition<TInputImage, TOutputImage> |
Typedef to describe the boundary condition.
Definition at line 100 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::IndexType = typename InputImageType::IndexType |
Definition at line 69 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 66 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 64 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 67 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 65 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::RegionType = typename InputImageType::RegionType |
Definition at line 68 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::Self = FFTPadImageFilter |
Standard class type aliases.
Definition at line 58 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::SizeType = typename InputImageType::SizeType |
Definition at line 70 of file itkFFTPadImageFilter.h.
using itk::FFTPadImageFilter< TInputImage, TOutputImage >::Superclass = PadImageFilterBase<TInputImage, TOutputImage> |
Definition at line 59 of file itkFFTPadImageFilter.h.
|
protected |
Typedef to describe the boundary condition.
|
overrideprotecteddefault |
Typedef to describe the boundary condition.
|
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::PadImageFilterBase< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
Typedef to describe the boundary condition.
Reimplemented from itk::ProcessObject.
|
virtual |
Runtime information support.
Reimplemented from itk::PadImageFilterBase< TInputImage, TOutputImage >.
|
virtual |
Set/Get the greatest prime factor allowed on the size of the padded image. The filter increase the size of the image to reach a size with the greatest prime factor smaller or equal to the specified value. The default value is 13, which is the greatest prime number for which the FFT are precomputed in FFTW, and thus gives very good performance. A greatest prime factor of 2 produce a size which is a power of 2, and thus is suitable for vnl base fft filters. A greatest prime factor of 1 or less - typically 0 - disable the extra padding.
|
static |
Standard New method.
|
overrideprotectedvirtual |
Typedef to describe the boundary condition.
Reimplemented from itk::PadImageFilterBase< TInputImage, TOutputImage >.
|
virtual |
Typedef to describe the boundary condition.
|
staticconstexpr |
Definition at line 75 of file itkFFTPadImageFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 73 of file itkFFTPadImageFilter.h.
|
private |
Typedef to describe the boundary condition.
Definition at line 115 of file itkFFTPadImageFilter.h.
|
private |
Typedef to describe the boundary condition.
Definition at line 113 of file itkFFTPadImageFilter.h.
|
staticconstexpr |
Definition at line 74 of file itkFFTPadImageFilter.h.