ITK  5.3.0
Insight Toolkit
itkFFTPadImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef itkFFTPadImageFilter_h
20 #define itkFFTPadImageFilter_h
21 
22 #include "itkPadImageFilterBase.h"
23 #include "itkConceptChecking.h"
25 
26 namespace itk
27 {
28 
51 template <typename TInputImage, typename TOutputImage = TInputImage>
52 class ITK_TEMPLATE_EXPORT FFTPadImageFilter : public PadImageFilterBase<TInputImage, TOutputImage>
53 {
54 public:
55  ITK_DISALLOW_COPY_AND_MOVE(FFTPadImageFilter);
56 
62 
64  using InputImageType = TInputImage;
65  using OutputImageType = TOutputImage;
66  using InputImagePixelType = typename InputImageType::PixelType;
67  using OutputImagePixelType = typename OutputImageType::PixelType;
71 
73  static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
74  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
75  static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
76 
78  itkNewMacro(Self);
79 
82 
93  itkGetConstMacro(SizeGreatestPrimeFactor, SizeValueType);
94  itkSetMacro(SizeGreatestPrimeFactor, SizeValueType);
96 
101 
102 protected:
104  ~FFTPadImageFilter() override = default;
105  void
106  PrintSelf(std::ostream & os, Indent indent) const override;
107 
108  void
109  GenerateOutputInformation() override;
110 
111 
112 private:
114 
116 
117 }; // end of class
118 
119 } // end namespace itk
120 
121 #ifndef ITK_MANUAL_INSTANTIATION
122 # include "itkFFTPadImageFilter.hxx"
123 #endif
124 
125 #endif
itk::FFTPadImageFilter::IndexType
typename InputImageType::IndexType IndexType
Definition: itkFFTPadImageFilter.h:69
itk::PadImageFilterBase
Increase the image size by padding. Superclass for filters that fill in extra pixels.
Definition: itkPadImageFilterBase.h:48
itkConceptChecking.h
itk::FFTPadImageFilter::m_SizeGreatestPrimeFactor
SizeValueType m_SizeGreatestPrimeFactor
Definition: itkFFTPadImageFilter.h:113
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::ImageBoundaryCondition
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
Definition: itkImageBoundaryCondition.h:52
itk::ImageToImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkImageToImageFilter.h:133
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::PadImageFilterBase::SizeType
typename TInputImage::SizeType SizeType
Definition: itkPadImageFilterBase.h:75
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::FFTPadImageFilter::m_DefaultBoundaryCondition
DefaultBoundaryConditionType m_DefaultBoundaryCondition
Definition: itkFFTPadImageFilter.h:115
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::FFTPadImageFilter
Pad an image to make it suitable for an FFT transformation.
Definition: itkFFTPadImageFilter.h:52
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itk::ImageSource::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkImageSource.h:93
itk::ZeroFluxNeumannBoundaryCondition
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
Definition: itkZeroFluxNeumannBoundaryCondition.h:58
itk::FFTPadImageFilter::RegionType
typename InputImageType::RegionType RegionType
Definition: itkFFTPadImageFilter.h:68
itkZeroFluxNeumannBoundaryCondition.h
itkPadImageFilterBase.h
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90
itk::PadImageFilterBase::SizeValueType
typename TInputImage::SizeValueType SizeValueType
Definition: itkPadImageFilterBase.h:76