ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkVnlRealToHalfHermitianForwardFFTImageFilter.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 itkVnlRealToHalfHermitianForwardFFTImageFilter_h
19#define itkVnlRealToHalfHermitianForwardFFTImageFilter_h
20
22
23#if defined(ITK_LEGACY_SILENT)
24# define ITK_VNL_FFT_DEPRECATED
25#else
26# define ITK_VNL_FFT_DEPRECATED \
27 [[deprecated("VnlRealToHalfHermitianForwardFFTImageFilter is deprecated; it now routes to " \
28 "itk::PocketFFTRealToHalfHermitianForwardFFTImageFilter.")]]
29#endif
30
31#if !defined(ITK_LEGACY_REMOVE) && !defined(ITK_FUTURE_LEGACY_REMOVE)
32namespace itk
33{
44template <typename TInputImage,
45 typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
46class ITK_VNL_FFT_DEPRECATED ITK_TEMPLATE_EXPORT VnlRealToHalfHermitianForwardFFTImageFilter
47 : public PocketFFTRealToHalfHermitianForwardFFTImageFilter<TInputImage, TOutputImage>
48{
49public:
50 ITK_DISALLOW_COPY_AND_MOVE(VnlRealToHalfHermitianForwardFFTImageFilter);
51
52 using Self = VnlRealToHalfHermitianForwardFFTImageFilter;
53 using Superclass = PocketFFTRealToHalfHermitianForwardFFTImageFilter<TInputImage, TOutputImage>;
54 using Pointer = SmartPointer<Self>;
55 using ConstPointer = SmartPointer<const Self>;
56
58 itkNewMacro(Self);
59
61 itkOverrideGetNameOfClassMacro(VnlRealToHalfHermitianForwardFFTImageFilter);
62
63protected:
64 VnlRealToHalfHermitianForwardFFTImageFilter() = default;
65 ~VnlRealToHalfHermitianForwardFFTImageFilter() override = default;
66};
67
69# if defined(__GNUC__) || defined(__clang__)
70# pragma GCC diagnostic push
71# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
72# endif
73template <>
74struct FFTImageFilterTraits<VnlRealToHalfHermitianForwardFFTImageFilter>
75 : public FFTImageFilterTraits<PocketFFTRealToHalfHermitianForwardFFTImageFilter>
76{};
77# if defined(__GNUC__) || defined(__clang__)
78# pragma GCC diagnostic pop
79# endif
81} // namespace itk
82#endif // !ITK_LEGACY_REMOVE && !ITK_FUTURE_LEGACY_REMOVE
83
84#undef ITK_VNL_FFT_DEPRECATED
85#endif // itkVnlRealToHalfHermitianForwardFFTImageFilter_h
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....