ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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,
58 : public ImageToImageFilter<TInputImage, TOutputImage>
59{
60public:
61 ITK_DISALLOW_COPY_AND_MOVE(HalfHermitianToRealInverseFFTImageFilter);
62
64 using InputImageType = TInputImage;
65 using InputPixelType = typename InputImageType::PixelType;
66 using OutputImageType = TOutputImage;
67 using OutputPixelType = typename OutputImageType::PixelType;
68
73
74 static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
75
77 itkOverrideGetNameOfClassMacro(HalfHermitianToRealInverseFFTImageFilter);
78
84
87 itkSetGetDecoratedInputMacro(ActualXDimensionIsOdd, bool);
88 itkBooleanMacro(ActualXDimensionIsOdd);
90 /* Return the preferred greatest prime factor supported for the input image
91 * size. Defaults to 2 as many implementations work only for sizes that are
92 * power of 2.
93 */
94 [[nodiscard]] virtual SizeValueType
96
97protected:
100
103 void
105
107 void
109
112 void
113 EnlargeOutputRequestedRegion(DataObject * itkNotUsed(output)) override;
114};
115} // end namespace itk
116
117#ifndef ITK_MANUAL_INSTANTIATION
118# include "itkHalfHermitianToRealInverseFFTImageFilter.hxx"
119#endif
120
121#ifdef ITK_FFTIMAGEFILTERINIT_FACTORY_REGISTER_MANAGER
122# include "itkFFTImageFilterInitFactoryRegisterManager.h"
123#endif
124
125#endif
Base class for all data objects in ITK.
virtual SizeValueType GetSizeGreatestPrimeFactor() const
void EnlargeOutputRequestedRegion(DataObject *output) override
~HalfHermitianToRealInverseFFTImageFilter() override=default
Templated n-dimensional image class.
Definition itkImage.h:89
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:86