ITK  6.0.0
Insight Toolkit
itkHalfHermitianToRealInverseFFTImageFilter.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 itkHalfHermitianToRealInverseFFTImageFilter_h
19#define itkHalfHermitianToRealInverseFFTImageFilter_h
20
22#include "itkMacro.h"
24
25namespace itk
26{
55template <typename TInputImage,
56 typename TOutputImage = Image<typename TInputImage::PixelType::value_type, TInputImage::ImageDimension>>
58 : public ImageToImageFilter<TInputImage, TOutputImage>
59
60{
61public:
62 ITK_DISALLOW_COPY_AND_MOVE(HalfHermitianToRealInverseFFTImageFilter);
63
65 using InputImageType = TInputImage;
66 using InputPixelType = typename InputImageType::PixelType;
67 using OutputImageType = TOutputImage;
68 using OutputPixelType = typename OutputImageType::PixelType;
69
74
75 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
76
78 itkOverrideGetNameOfClassMacro(HalfHermitianToRealInverseFFTImageFilter);
79
85
87 itkSetGetDecoratedInputMacro(ActualXDimensionIsOdd, bool);
88 itkBooleanMacro(ActualXDimensionIsOdd);
91 /* Return the preferred greatest prime factor supported for the input image
92 * size. Defaults to 2 as many implementations work only for sizes that are
93 * power of 2.
94 */
95 virtual SizeValueType
97
98protected:
101
104 void
106
108 void
110
113 void
114 EnlargeOutputRequestedRegion(DataObject * itkNotUsed(output)) override;
115};
116} // end namespace itk
117
118#ifndef ITK_MANUAL_INSTANTIATION
119# include "itkHalfHermitianToRealInverseFFTImageFilter.hxx"
120#endif
121
122#ifdef ITK_FFTIMAGEFILTERINIT_FACTORY_REGISTER_MANAGER
123# include "itkFFTImageFilterInitFactoryRegisterManager.h"
124#endif
125
126#endif
Base class for all data objects in ITK.
Base class for specialized complex-to-real inverse Fast Fourier Transform.
virtual SizeValueType GetSizeGreatestPrimeFactor() const
~HalfHermitianToRealInverseFFTImageFilter() override=default
void EnlargeOutputRequestedRegion(DataObject *) override
Base class for filters that take an image as input and produce an image as output.
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