ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkPocketFFTComplexToComplexFFTImageFilter.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 itkPocketFFTComplexToComplexFFTImageFilter_h
19#define itkPocketFFTComplexToComplexFFTImageFilter_h
20
23
24namespace itk
25{
38template <typename TInputImage, typename TOutputImage = TInputImage>
40 : public ComplexToComplexFFTImageFilter<TInputImage, TOutputImage>
41{
42public:
43 ITK_DISALLOW_COPY_AND_MOVE(PocketFFTComplexToComplexFFTImageFilter);
44
49
50 using typename Superclass::ImageType;
51 using PixelType = typename ImageType::PixelType;
52 using typename Superclass::InputImageType;
53 using typename Superclass::OutputImageType;
54 using OutputImageRegionType = typename OutputImageType::RegionType;
55
56 itkNewMacro(Self);
57
58 itkOverrideGetNameOfClassMacro(PocketFFTComplexToComplexFFTImageFilter);
59
60 static constexpr unsigned int ImageDimension = ImageType::ImageDimension;
61
62protected:
65
66 void
67 GenerateData() override;
68};
69
70// Describe whether input/output are real- or complex-valued
71// for factory registration
72template <>
74{
75 template <typename TUnderlying>
76 using InputPixelType = std::complex<TUnderlying>;
77 template <typename TUnderlying>
78 using OutputPixelType = std::complex<TUnderlying>;
79 using FilterDimensions = std::integer_sequence<unsigned int, 4, 3, 2, 1>;
80};
81
82} // namespace itk
83
84#ifndef ITK_MANUAL_INSTANTIATION
85# include "itkPocketFFTComplexToComplexFFTImageFilter.hxx"
86#endif
87
88#endif
PocketFFT-based complex-to-complex Fast Fourier Transform.
~PocketFFTComplexToComplexFFTImageFilter() override=default
ComplexToComplexFFTImageFilter< TInputImage, TOutputImage > Superclass
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Helper defining pixel traits for templated FFT image filters.