ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkForwardFFTImageFilter.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 itkForwardFFTImageFilter_h
19#define itkForwardFFTImageFilter_h
20
22#include "itkMacro.h"
23
24namespace itk
25{
63template <typename TInputImage,
64 typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
65class ITK_TEMPLATE_EXPORT ForwardFFTImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
66{
67public:
68 ITK_DISALLOW_COPY_AND_MOVE(ForwardFFTImageFilter);
70
72 using InputImageType = TInputImage;
73 using InputPixelType = typename InputImageType::PixelType;
74 using InputIndexType = typename InputImageType::IndexType;
75 using InputSizeType = typename InputImageType::SizeType;
76 using OutputImageType = TOutputImage;
77 using OutputPixelType = typename OutputImageType::PixelType;
78 using OutputIndexType = typename OutputImageType::IndexType;
79 using OutputSizeType = typename OutputIndexType::SizeType;
80
85
87 itkOverrideGetNameOfClassMacro(ForwardFFTImageFilter);
88
94
95 /* Return the preferred greatest prime factor supported for the input image
96 * size. Defaults to 2 as many implementations work only for sizes that are
97 * power of 2.
98 */
99 virtual SizeValueType
101
102protected:
104 ~ForwardFFTImageFilter() override = default;
105
107 void
109
111 void
113};
114} // end namespace itk
115
116#ifndef ITK_MANUAL_INSTANTIATION
117# include "itkForwardFFTImageFilter.hxx"
118#endif
119
120#ifdef ITK_FFTIMAGEFILTERINIT_FACTORY_REGISTER_MANAGER
121# include "itkFFTImageFilterInitFactoryRegisterManager.h"
122#endif
123
124#endif
Base class for all data objects in ITK.
virtual SizeValueType GetSizeGreatestPrimeFactor() const
~ForwardFFTImageFilter() override=default
void EnlargeOutputRequestedRegion(DataObject *output) override
void GenerateInputRequestedRegion() override
ImageToImageFilter< InputImageType, OutputImageType > Superclass
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