ITK  5.4.0
Insight Toolkit
itkVnlComplexToComplex1DFFTImageFilter.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  * https://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 #ifndef itkVnlComplexToComplex1DFFTImageFilter_h
19 #define itkVnlComplexToComplex1DFFTImageFilter_h
20 
22 
23 #include <complex>
25 
26 namespace itk
27 {
28 
37 template <typename TInputImage, typename TOutputImage = TInputImage>
38 class ITK_TEMPLATE_EXPORT VnlComplexToComplex1DFFTImageFilter
39  : public ComplexToComplex1DFFTImageFilter<TInputImage, TOutputImage>
40 {
41 public:
42  ITK_DISALLOW_COPY_AND_MOVE(VnlComplexToComplex1DFFTImageFilter);
43 
49 
50  using InputImageType = typename Superclass::InputImageType;
51  using OutputImageType = typename Superclass::OutputImageType;
53 
54  using TransformDirectionType = typename Superclass::TransformDirectionType;
55 
57  itkNewMacro(Self);
58 
60  itkOverrideGetNameOfClassMacro(VnlComplexToComplex1DFFTImageFilter);
61 
62 protected:
64  ~VnlComplexToComplex1DFFTImageFilter() override = default;
65 
66  void
67  GenerateData() override;
68 };
69 
70 template <>
72 {
73  template <typename TUnderlying>
74  using InputPixelType = std::complex<TUnderlying>;
75  template <typename TUnderlying>
76  using OutputPixelType = std::complex<TUnderlying>;
77  using FilterDimensions = std::integer_sequence<unsigned int, 4, 3, 2, 1>;
78 };
79 
80 } // end namespace itk
81 
82 #ifndef ITK_MANUAL_INSTANTIATION
83 # include "itkVnlComplexToComplex1DFFTImageFilter.hxx"
84 #endif
85 
86 #endif
itk::VnlComplexToComplex1DFFTImageFilter
Perform the FFT along one dimension of an image using Vnl as a backend.
Definition: itkVnlComplexToComplex1DFFTImageFilter.h:38
itk::FFTImageFilterTraits
Helper defining pixel traits for templated FFT image filters.
Definition: itkFFTImageFilterFactory.h:42
itk::SmartPointer< Self >
itk::FFTImageFilterTraits< VnlComplexToComplex1DFFTImageFilter >::OutputPixelType
std::complex< TUnderlying > OutputPixelType
Definition: itkVnlComplexToComplex1DFFTImageFilter.h:76
itkComplexToComplex1DFFTImageFilter.h
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::ComplexToComplex1DFFTImageFilter
Perform the Fast Fourier Transform, complex input to complex output, but only along one dimension.
Definition: itkComplexToComplex1DFFTImageFilter.h:43
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::FFTImageFilterTraits< VnlComplexToComplex1DFFTImageFilter >::FilterDimensions
std::integer_sequence< unsigned int, 4, 3, 2, 1 > FilterDimensions
Definition: itkVnlComplexToComplex1DFFTImageFilter.h:77
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itk::FFTImageFilterTraits< VnlComplexToComplex1DFFTImageFilter >::InputPixelType
std::complex< TUnderlying > InputPixelType
Definition: itkVnlComplexToComplex1DFFTImageFilter.h:74
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:139
itkFFTImageFilterFactory.h
itk::ComplexToComplex1DFFTImageFilter::TransformDirectionType
TransformDirectionType
Definition: itkComplexToComplex1DFFTImageFilter.h:71
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90