ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkComplexToComplexFFTImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 itkComplexToComplexFFTImageFilter_h
19 #define itkComplexToComplexFFTImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
22 #include <complex>
23 
24 namespace itk
25 {
26 
51 template< typename TImage >
52 class ITK_TEMPLATE_EXPORT ComplexToComplexFFTImageFilter:
53  public ImageToImageFilter< TImage, TImage >
54 {
55 public:
57  typedef TImage ImageType;
58  typedef TImage InputImageType;
59  typedef TImage OutputImageType;
60 
66 
67  itkStaticConstMacro(ImageDimension, unsigned int,
68  InputImageType::ImageDimension);
69 
72 
78  static Pointer New();
79 
82  FORWARD = 1,
83  INVERSE = 2
84  };
85 
88 
93  itkSetMacro(TransformDirection, TransformDirectionType);
94  itkGetConstMacro(TransformDirection, TransformDirectionType);
96 
97 protected:
99  m_TransformDirection( FORWARD ) {}
100 
101  virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
102 
103 private:
104  ITK_DISALLOW_COPY_AND_ASSIGN(ComplexToComplexFFTImageFilter);
105 
106  TransformDirectionType m_TransformDirection;
107 };
108 
109 } // end namespace itk
110 
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #ifndef itkVnlComplexToComplexFFTImageFilter_h
113 #ifndef itkVnlComplexToComplexFFTImageFilter_hxx
114 #ifndef itkFFTWComplexToComplexFFTImageFilter_h
115 #ifndef itkFFTWComplexToComplexFFTImageFilter_hxx
116 #include "itkComplexToComplexFFTImageFilter.hxx"
117 #endif
118 #endif
119 #endif
120 #endif
121 #endif
122 
123 #endif
Implements an API to enable the Fourier transform or the inverse Fourier transform of images with com...
ImageToImageFilter< InputImageType, OutputImageType > Superclass
Base class for filters that take an image as input and produce an image as output.