ITK  5.2.0
Insight Toolkit
itkVnlRealToHalfHermitianForwardFFTImageFilter.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 itkVnlRealToHalfHermitianForwardFFTImageFilter_h
21 # define itkVnlRealToHalfHermitianForwardFFTImageFilter_h
22 
23 # include "itkVnlFFTCommon.h"
24 # include "vnl/algo/vnl_fft_base.h"
25 
26 namespace itk
27 {
42 template <typename TInputImage,
43  typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
45  : public RealToHalfHermitianForwardFFTImageFilter<TInputImage, TOutputImage>
46 {
47 public:
48  ITK_DISALLOW_COPY_AND_MOVE(VnlRealToHalfHermitianForwardFFTImageFilter);
49 
51  using InputImageType = TInputImage;
52  using InputPixelType = typename InputImageType::PixelType;
55  using OutputImageType = TOutputImage;
56  using OutputPixelType = typename OutputImageType::PixelType;
58 
63 
65  itkNewMacro(Self);
66 
69 
72  static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
73  static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
74  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
75 
77  GetSizeGreatestPrimeFactor() const override;
78 
79 # ifdef ITK_USE_CONCEPT_CHECKING
80  // Begin concept checking
82  // End concept checking
83 # endif
84 
85 protected:
87  ~VnlRealToHalfHermitianForwardFFTImageFilter() override = default;
88 
89  void
90  GenerateData() override;
91 
92 private:
93  using SignalVectorType = vnl_vector<std::complex<InputPixelType>>;
94 };
95 } // namespace itk
96 
97 # ifndef ITK_MANUAL_INSTANTIATION
98 # include "itkVnlRealToHalfHermitianForwardFFTImageFilter.hxx"
99 # endif
100 
101 #endif
itk::RealToHalfHermitianForwardFFTImageFilter::InputSizeType
typename InputImageType::SizeType InputSizeType
Definition: itkRealToHalfHermitianForwardFFTImageFilter.h:66
itk::RealToHalfHermitianForwardFFTImageFilter::OutputSizeType
typename OutputIndexType::SizeType OutputSizeType
Definition: itkRealToHalfHermitianForwardFFTImageFilter.h:70
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itkRealToHalfHermitianForwardFFTImageFilter.h
itk::RealToHalfHermitianForwardFFTImageFilter
Base class for specialized real-to-complex forward Fast Fourier Transform.
Definition: itkRealToHalfHermitianForwardFFTImageFilter.h:56
itk::VnlRealToHalfHermitianForwardFFTImageFilter::InputSizeValueType
typename InputImageType::SizeValueType InputSizeValueType
Definition: itkVnlRealToHalfHermitianForwardFFTImageFilter.h:54
itk::VnlRealToHalfHermitianForwardFFTImageFilter::SignalVectorType
vnl_vector< std::complex< InputPixelType > > SignalVectorType
Definition: itkVnlRealToHalfHermitianForwardFFTImageFilter.h:93
itk::SmartPointer< Self >
itk::RealToHalfHermitianForwardFFTImageFilter::OutputPixelType
typename OutputImageType::PixelType OutputPixelType
Definition: itkRealToHalfHermitianForwardFFTImageFilter.h:68
itk::Concept::SameDimension
Definition: itkConceptChecking.h:694
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::VnlRealToHalfHermitianForwardFFTImageFilter
VNL-based forward Fast Fourier Transform.
Definition: itkVnlRealToHalfHermitianForwardFFTImageFilter.h:44
itkVnlFFTCommon.h
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::RealToHalfHermitianForwardFFTImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkRealToHalfHermitianForwardFFTImageFilter.h:64
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
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::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90