ITK  6.0.0
Insight Toolkit
itkVnlInverse1DFFTImageFilter.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 itkVnlInverse1DFFTImageFilter_h
19 #define itkVnlInverse1DFFTImageFilter_h
20 
22 #include <complex>
23 
25 
26 namespace itk
27 {
28 
37 template <typename TInputImage,
38  typename TOutputImage =
40 class ITK_TEMPLATE_EXPORT VnlInverse1DFFTImageFilter : public Inverse1DFFTImageFilter<TInputImage, TOutputImage>
41 {
42 public:
43  ITK_DISALLOW_COPY_AND_MOVE(VnlInverse1DFFTImageFilter);
44 
50 
51  using InputImageType = typename Superclass::InputImageType;
52  using OutputImageType = typename Superclass::OutputImageType;
54 
56  itkNewMacro(Self);
57 
59  itkOverrideGetNameOfClassMacro(VnlInverse1DFFTImageFilter);
60 
61 protected:
62  void
63  GenerateData() override;
64 
65  VnlInverse1DFFTImageFilter() = default;
66  ~VnlInverse1DFFTImageFilter() override = default;
67 };
68 
69 
70 // Describe whether input/output are real- or complex-valued
71 // for factory registration
72 template <>
74 {
75  template <typename TUnderlying>
76  using InputPixelType = std::complex<TUnderlying>;
77  template <typename TUnderlying>
78  using OutputPixelType = TUnderlying;
79  using FilterDimensions = std::integer_sequence<unsigned int, 4, 3, 2, 1>;
80 };
81 
82 } // end namespace itk
83 
84 #ifndef ITK_MANUAL_INSTANTIATION
85 # include "itkVnlInverse1DFFTImageFilter.hxx"
86 #endif
87 
88 #endif
itk::VnlInverse1DFFTImageFilter
Perform the FFT along one dimension of an image using Vnl as a backend.
Definition: itkVnlInverse1DFFTImageFilter.h:40
itkInverse1DFFTImageFilter.h
itk::FFTImageFilterTraits< VnlInverse1DFFTImageFilter >::FilterDimensions
std::integer_sequence< unsigned int, 4, 3, 2, 1 > FilterDimensions
Definition: itkVnlInverse1DFFTImageFilter.h:79
itk::FFTImageFilterTraits
Helper defining pixel traits for templated FFT image filters.
Definition: itkFFTImageFilterFactory.h:42
itk::SmartPointer< Self >
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::Image::ValueType
TPixel ValueType
Definition: itkImage.h:111
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::FFTImageFilterTraits< VnlInverse1DFFTImageFilter >::InputPixelType
std::complex< TUnderlying > InputPixelType
Definition: itkVnlInverse1DFFTImageFilter.h:76
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::FFTImageFilterTraits< VnlInverse1DFFTImageFilter >::OutputPixelType
TUnderlying OutputPixelType
Definition: itkVnlInverse1DFFTImageFilter.h:78
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itk::Inverse1DFFTImageFilter
Perform the Fast Fourier Transform, in the reverse direction, with real output, but only along one di...
Definition: itkInverse1DFFTImageFilter.h:38
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itkFFTImageFilterFactory.h
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90