ITK  5.2.0
Insight Toolkit
itkVnlForwardFFTImageFilter.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  *=========================================================================*/
19 
20 #ifndef itkVnlForwardFFTImageFilter_h
21 # define itkVnlForwardFFTImageFilter_h
22 
23 # include "vnl/algo/vnl_fft_base.h"
24 
25 namespace itk
26 {
42 template <typename TInputImage,
43  typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
44 class ITK_TEMPLATE_EXPORT VnlForwardFFTImageFilter : public ForwardFFTImageFilter<TInputImage, TOutputImage>
45 {
46 public:
47  ITK_DISALLOW_COPY_AND_MOVE(VnlForwardFFTImageFilter);
48 
50  using InputImageType = TInputImage;
51  using InputPixelType = typename InputImageType::PixelType;
54  using OutputImageType = TOutputImage;
55  using OutputPixelType = typename OutputImageType::PixelType;
56 
61 
63  itkNewMacro(Self);
64 
67 
70  static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
71  static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
72  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
73 
75  GetSizeGreatestPrimeFactor() const override;
76 
77 # ifdef ITK_USE_CONCEPT_CHECKING
78  // Begin concept checking
80  // End concept checking
81 # endif
82 
83 protected:
84  VnlForwardFFTImageFilter() = default;
85  ~VnlForwardFFTImageFilter() override = default;
86 
87  void
88  GenerateData() override;
89 
90 private:
91  using SignalVectorType = vnl_vector<std::complex<InputPixelType>>;
92 };
93 } // namespace itk
94 
95 # ifndef ITK_MANUAL_INSTANTIATION
96 # include "itkVnlForwardFFTImageFilter.hxx"
97 # endif
98 
99 #endif
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::ForwardFFTImageFilter
Base class for forward Fast Fourier Transform.
Definition: itkForwardFFTImageFilter.h:62
itk::ForwardFFTImageFilter::InputSizeType
typename InputImageType::SizeType InputSizeType
Definition: itkForwardFFTImageFilter.h:72
itk::VnlForwardFFTImageFilter::InputSizeValueType
typename InputImageType::SizeValueType InputSizeValueType
Definition: itkVnlForwardFFTImageFilter.h:53
itk::Concept::SameDimension
Definition: itkConceptChecking.h:692
itkForwardFFTImageFilter.h
itk::ForwardFFTImageFilter::OutputPixelType
typename OutputImageType::PixelType OutputPixelType
Definition: itkForwardFFTImageFilter.h:74
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::VnlForwardFFTImageFilter::SignalVectorType
vnl_vector< std::complex< InputPixelType > > SignalVectorType
Definition: itkVnlForwardFFTImageFilter.h:91
itk::ForwardFFTImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkForwardFFTImageFilter.h:70
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::VnlForwardFFTImageFilter
VNL based forward Fast Fourier Transform.
Definition: itkVnlForwardFFTImageFilter.h:44
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90