ITK  6.0.0
Insight Toolkit
itkInverse1DFFTImageFilter.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 itkInverse1DFFTImageFilter_h
19#define itkInverse1DFFTImageFilter_h
20
21#include <complex>
22
24#include "itkMacro.h"
25
26namespace itk
27{
35template <typename TInputImage,
36 typename TOutputImage =
38class ITK_TEMPLATE_EXPORT Inverse1DFFTImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
39{
40public:
41 ITK_DISALLOW_COPY_AND_MOVE(Inverse1DFFTImageFilter);
42
44 using InputImageType = TInputImage;
45 using OutputImageType = TOutputImage;
47
52
54 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
55
56 itkOverrideGetNameOfClassMacro(Inverse1DFFTImageFilter);
57
64
66 itkGetConstMacro(Direction, unsigned int);
67
69 itkSetClampMacro(Direction, unsigned int, 0, InputImageType::ImageDimension - 1);
70
72 virtual SizeValueType
74 {
75 return 2;
76 }
77
78protected:
80 ~Inverse1DFFTImageFilter() override = default;
81
82 void
83 PrintSelf(std::ostream & os, Indent indent) const override;
84
85 void
87 void
89
92 unsigned int m_Direction{ 0 };
93
94private:
95};
96} // namespace itk
97
98#ifndef ITK_MANUAL_INSTANTIATION
99# include "itkInverse1DFFTImageFilter.hxx"
100#endif
101
102#ifdef ITK_FFTIMAGEFILTERINIT_FACTORY_REGISTER_MANAGER
103# include "itkFFTImageFilterInitFactoryRegisterManager.h"
104#endif
105
106#endif // itkInverse1DFFTImageFilter_h
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
TPixel ValueType
Definition: itkImage.h:111
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Perform the Fast Fourier Transform, in the reverse direction, with real output, but only along one di...
void EnlargeOutputRequestedRegion(DataObject *output) override
~Inverse1DFFTImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateInputRequestedRegion() override
virtual SizeValueType GetSizeGreatestPrimeFactor() const
typename OutputImageType::RegionType OutputImageRegionType
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition: itkIntTypes.h:86