ITK  6.0.0
Insight Toolkit
itkVnlComplexToComplexFFTImageFilter.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 itkVnlComplexToComplexFFTImageFilter_h
19#define itkVnlComplexToComplexFFTImageFilter_h
20
23
24namespace itk
25{
41template <typename TInputImage, typename TOutputImage = TInputImage>
42class ITK_TEMPLATE_EXPORT VnlComplexToComplexFFTImageFilter
43 : public ComplexToComplexFFTImageFilter<TInputImage, TOutputImage>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(VnlComplexToComplexFFTImageFilter);
47
53
54 using typename Superclass::ImageType;
55 using PixelType = typename ImageType::PixelType;
56 using typename Superclass::InputImageType;
57 using typename Superclass::OutputImageType;
59
61 itkNewMacro(Self);
62
64 itkOverrideGetNameOfClassMacro(VnlComplexToComplexFFTImageFilter);
65
66 static constexpr unsigned int ImageDimension = ImageType::ImageDimension;
67
68protected:
71
72 void
74 void
75 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
76};
77
78template <>
80{
81 template <typename TUnderlying>
82 using InputPixelType = std::complex<TUnderlying>;
83 template <typename TUnderlying>
84 using OutputPixelType = std::complex<TUnderlying>;
85 using FilterDimensions = std::integer_sequence<unsigned int, 4, 3, 2, 1>;
86};
87
88} // end namespace itk
89
90#ifndef ITK_MANUAL_INSTANTIATION
91# include "itkVnlComplexToComplexFFTImageFilter.hxx"
92#endif
93
94#endif // itkVnlComplexToComplexFFTImageFilter_h
Implements an API to enable the Fourier transform or the inverse Fourier transform of images with com...
Light weight base class for most itk classes.
VNL based complex to complex Fast Fourier Transform.
typename OutputImageType::RegionType OutputImageRegionType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
~VnlComplexToComplexFFTImageFilter() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Helper defining pixel traits for templated FFT image filters.