ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkRealToHalfHermitianForwardFFTImageFilter.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 itkRealToHalfHermitianForwardFFTImageFilter_h
19#define itkRealToHalfHermitianForwardFFTImageFilter_h
20
22#include "itkMacro.h"
24
25namespace itk
26{
55template <typename TInputImage,
56 typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
58 : public ImageToImageFilter<TInputImage, TOutputImage>
59{
60public:
61 ITK_DISALLOW_COPY_AND_MOVE(RealToHalfHermitianForwardFFTImageFilter);
62
64 using InputImageType = TInputImage;
65 using InputPixelType = typename InputImageType::PixelType;
66 using InputIndexType = typename InputImageType::IndexType;
67 using InputSizeType = typename InputImageType::SizeType;
68 using OutputImageType = TOutputImage;
69 using OutputPixelType = typename OutputImageType::PixelType;
70 using OutputIndexType = typename OutputImageType::IndexType;
71 using OutputSizeType = typename OutputIndexType::SizeType;
72
77
79 itkOverrideGetNameOfClassMacro(RealToHalfHermitianForwardFFTImageFilter);
80
86
87 /* Return the preferred greatest prime factor supported for the input image
88 * size. Defaults to 2 as many implementations work only for sizes that are
89 * power of 2.
90 */
91 virtual SizeValueType
93
96 itkGetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
97
98protected:
101
104 void
106
108 void
110
112 void
114
115 itkSetDecoratedOutputMacro(ActualXDimensionIsOdd, bool);
116};
117} // end namespace itk
118
119#ifndef ITK_MANUAL_INSTANTIATION
120# include "itkRealToHalfHermitianForwardFFTImageFilter.hxx"
121#endif
122
123#ifdef ITK_FFTIMAGEFILTERINIT_FACTORY_REGISTER_MANAGER
124# include "itkFFTImageFilterInitFactoryRegisterManager.h"
125#endif
126
127#endif
Base class for all data objects in ITK.
Templated n-dimensional image class.
Definition itkImage.h:89
void EnlargeOutputRequestedRegion(DataObject *output) override
virtual SizeValueType GetSizeGreatestPrimeFactor() const
~RealToHalfHermitianForwardFFTImageFilter() override=default
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:86