ITK  6.0.0
Insight Toolkit
itkVnlForward1DFFTImageFilter.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 itkVnlForward1DFFTImageFilter_h
19 #define itkVnlForward1DFFTImageFilter_h
20 
22 #include <complex>
24 
25 namespace itk
26 {
27 
36 template <typename TInputImage,
37  typename TOutputImage = Image<std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension>>
38 class ITK_TEMPLATE_EXPORT VnlForward1DFFTImageFilter : public Forward1DFFTImageFilter<TInputImage, TOutputImage>
39 {
40 public:
41  ITK_DISALLOW_COPY_AND_MOVE(VnlForward1DFFTImageFilter);
42 
48 
49  using InputImageType = typename Superclass::InputImageType;
50  using OutputImageType = typename Superclass::OutputImageType;
52 
54  itkNewMacro(Self);
55 
57  itkOverrideGetNameOfClassMacro(VnlForward1DFFTImageFilter);
58 
59 protected:
60  void
61  GenerateData() override;
62 
63  VnlForward1DFFTImageFilter() = default;
64  ~VnlForward1DFFTImageFilter() override = default;
65 
66 private:
67 };
68 
69 // Describe whether input/output are real- or complex-valued
70 // for factory registration
71 template <>
73 {
74  template <typename TUnderlying>
75  using InputPixelType = TUnderlying;
76  template <typename TUnderlying>
77  using OutputPixelType = std::complex<TUnderlying>;
78  using FilterDimensions = std::integer_sequence<unsigned int, 4, 3, 2, 1>;
79 };
80 
81 } // end namespace itk
82 
83 #ifndef ITK_MANUAL_INSTANTIATION
84 # include "itkVnlForward1DFFTImageFilter.hxx"
85 #endif
86 
87 #endif
itk::FFTImageFilterTraits< VnlForward1DFFTImageFilter >::FilterDimensions
std::integer_sequence< unsigned int, 4, 3, 2, 1 > FilterDimensions
Definition: itkVnlForward1DFFTImageFilter.h:78
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::FFTImageFilterTraits< VnlForward1DFFTImageFilter >::OutputPixelType
std::complex< TUnderlying > OutputPixelType
Definition: itkVnlForward1DFFTImageFilter.h:77
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itkForward1DFFTImageFilter.h
itk::VnlForward1DFFTImageFilter
Perform the FFT along one dimension of an image using Vnl as a backend.
Definition: itkVnlForward1DFFTImageFilter.h:38
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itk::FFTImageFilterTraits< VnlForward1DFFTImageFilter >::InputPixelType
TUnderlying InputPixelType
Definition: itkVnlForward1DFFTImageFilter.h:75
itk::Forward1DFFTImageFilter
Perform the Fast Fourier Transform, in the forward direction, with real inputs, but only along one di...
Definition: itkForward1DFFTImageFilter.h:44
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