ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkHalfHermitianToRealInverseFFTImageFilter.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 itkHalfHermitianToRealInverseFFTImageFilter_h
19 #define itkHalfHermitianToRealInverseFFTImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
23 
24 namespace itk
25 {
53 template< typename TInputImage, typename TOutputImage=Image< typename TInputImage::PixelType::value_type, TInputImage::ImageDimension> >
55  public ImageToImageFilter< TInputImage, TOutputImage >
56 
57 {
58 public:
60  typedef TInputImage InputImageType;
61  typedef typename InputImageType::PixelType InputPixelType;
62  typedef TOutputImage OutputImageType;
63  typedef typename OutputImageType::PixelType OutputPixelType;
64 
69 
70  itkStaticConstMacro(ImageDimension, unsigned int,
71  InputImageType::ImageDimension);
72 
77  static Pointer New();
78 
80  itkSetGetDecoratedInputMacro(ActualXDimensionIsOdd, bool);
81  itkBooleanMacro(ActualXDimensionIsOdd);
83 
84  /* Return the prefered greatest prime factor supported for the input image
85  * size. Defaults to 2 as many implementations work only for sizes that are
86  * power of 2.
87  */
89 
90 protected:
93 
96  virtual void GenerateOutputInformation();
97 
99  virtual void GenerateInputRequestedRegion();
100 
103  void EnlargeOutputRequestedRegion( DataObject *itkNotUsed(output) );
104 
105 private:
106  HalfHermitianToRealInverseFFTImageFilter(const Self &); // purposely not implemented
107  void operator=(const Self &); // purposely not implemented
108 };
109 } // end namespace itk
110 
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #ifndef itkVnlHalfHermitianToRealInverseFFTImageFilter_h
113 #ifndef itkVnlHalfHermitianToRealInverseFFTImageFilter_hxx
114 #ifndef itkFFTWHalfHermitianToRealInverseFFTImageFilter_h
115 #ifndef itkFFTWHalfHermitianToRealInverseFFTImageFilter_hxx
116 #include "itkHalfHermitianToRealInverseFFTImageFilter.hxx"
117 #endif
118 #endif
119 #endif
120 #endif
121 #endif
122 
123 #endif
unsigned long SizeValueType
Definition: itkIntTypes.h:143
Base class for specialized complex-to-real inverse Fast Fourier Transform.
Base class for filters that take an image as input and produce an image as output.
virtual SizeValueType GetSizeGreatestPrimeFactor() const
ImageToImageFilter< InputImageType, OutputImageType > Superclass
Base class for all data objects in ITK.