ITK  4.8.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 >
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 
87  typedef typename ImageType::SizeType ImageSizeType;
88 
93  itkSetMacro(TransformDirection, TransformDirectionType);
94  itkGetConstMacro(TransformDirection, TransformDirectionType);
96 
97 protected:
100 
101  virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
102 
103 private:
104  ComplexToComplexFFTImageFilter(const Self &); //purposely not implemented
105  void operator=(const Self &); //purposely not implemented
106 
108 };
109 
110 } // end namespace itk
111 
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #ifndef itkVnlComplexToComplexFFTImageFilter_h
114 #ifndef itkVnlComplexToComplexFFTImageFilter_hxx
115 #ifndef itkFFTWComplexToComplexFFTImageFilter_h
116 #ifndef itkFFTWComplexToComplexFFTImageFilter_hxx
117 #include "itkComplexToComplexFFTImageFilter.hxx"
118 #endif
119 #endif
120 #endif
121 #endif
122 #endif
123 
124 #endif
virtual void GenerateInputRequestedRegion() override
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.