ITK  5.2.0
Insight Toolkit
itkVnlHalfHermitianToRealInverseFFTImageFilter.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 itkVnlHalfHermitianToRealInverseFFTImageFilter_h
21 # define itkVnlHalfHermitianToRealInverseFFTImageFilter_h
22 
23 # include "itkVnlFFTCommon.h"
24 
25 # include "itkImage.h"
26 # include "vnl/algo/vnl_fft_base.h"
27 
28 namespace itk
29 {
45 template <typename TInputImage,
46  typename TOutputImage = Image<typename TInputImage::PixelType::value_type, TInputImage::ImageDimension>>
48  : public HalfHermitianToRealInverseFFTImageFilter<TInputImage, TOutputImage>
49 {
50 public:
51  ITK_DISALLOW_COPY_AND_MOVE(VnlHalfHermitianToRealInverseFFTImageFilter);
52 
54  using InputImageType = TInputImage;
55  using InputPixelType = typename InputImageType::PixelType;
59  using OutputImageType = TOutputImage;
60  using OutputPixelType = typename OutputImageType::PixelType;
64 
69 
71  itkNewMacro(Self);
72 
75 
78  static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
79  static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
80  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
81 
83  GetSizeGreatestPrimeFactor() const override;
84 
85 # ifdef ITK_USE_CONCEPT_CHECKING
86  // Begin concept checking
87  itkConceptMacro(PixelUnsignedIntDivisionOperatorsCheck, (Concept::DivisionOperators<OutputPixelType, unsigned int>));
89  // End concept checking
90 # endif
91 
92 protected:
94  ~VnlHalfHermitianToRealInverseFFTImageFilter() override = default;
95 
96  void
97  GenerateData() override;
98 
99 private:
100  using SignalVectorType = vnl_vector<InputPixelType>;
101 };
102 } // namespace itk
103 
104 # ifndef ITK_MANUAL_INSTANTIATION
105 # include "itkVnlHalfHermitianToRealInverseFFTImageFilter.hxx"
106 # endif
107 
108 #endif
itk::VnlHalfHermitianToRealInverseFFTImageFilter::OutputSizeType
typename OutputImageType::SizeType OutputSizeType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:62
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itkImage.h
itk::VnlHalfHermitianToRealInverseFFTImageFilter::InputSizeValueType
typename InputImageType::SizeValueType InputSizeValueType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:58
itk::SmartPointer< Self >
itk::HalfHermitianToRealInverseFFTImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkHalfHermitianToRealInverseFFTImageFilter.h:65
itk::HalfHermitianToRealInverseFFTImageFilter::OutputPixelType
typename OutputImageType::PixelType OutputPixelType
Definition: itkHalfHermitianToRealInverseFFTImageFilter.h:67
itk::Concept::SameDimension
Definition: itkConceptChecking.h:694
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::VnlHalfHermitianToRealInverseFFTImageFilter::InputIndexType
typename InputImageType::IndexType InputIndexType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:57
itkVnlFFTCommon.h
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::Concept::DivisionOperators
Definition: itkConceptChecking.h:473
itkHalfHermitianToRealInverseFFTImageFilter.h
itk::VnlHalfHermitianToRealInverseFFTImageFilter::OutputIndexValueType
typename OutputImageType::IndexValueType OutputIndexValueType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:63
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::VnlHalfHermitianToRealInverseFFTImageFilter::InputSizeType
typename InputImageType::SizeType InputSizeType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:56
itk::IndexValueType
signed long IndexValueType
Definition: itkIntTypes.h:90
itk::VnlHalfHermitianToRealInverseFFTImageFilter::SignalVectorType
vnl_vector< InputPixelType > SignalVectorType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:100
itk::HalfHermitianToRealInverseFFTImageFilter
Base class for specialized complex-to-real inverse Fast Fourier Transform.
Definition: itkHalfHermitianToRealInverseFFTImageFilter.h:56
itk::VnlHalfHermitianToRealInverseFFTImageFilter::OutputIndexType
typename OutputImageType::IndexType OutputIndexType
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:61
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90
itk::VnlHalfHermitianToRealInverseFFTImageFilter
VNL-based reverse Fast Fourier Transform.
Definition: itkVnlHalfHermitianToRealInverseFFTImageFilter.h:47