ITK  4.6.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"
22 
23 namespace itk
24 {
52 template< typename TInputImage, typename TOutputImage=Image< typename TInputImage::PixelType::value_type, TInputImage::ImageDimension> >
54  public ImageToImageFilter< TInputImage, TOutputImage >
55 
56 {
57 public:
59  typedef TInputImage InputImageType;
60  typedef typename InputImageType::PixelType InputPixelType;
61  typedef TOutputImage OutputImageType;
62  typedef typename OutputImageType::PixelType OutputPixelType;
63 
68 
69  itkStaticConstMacro(ImageDimension, unsigned int,
70  InputImageType::ImageDimension);
71 
76  static Pointer New(void);
77 
79  void SetActualXDimensionIsOdd(bool isodd)
80  {
82  }
84  {
85  this->SetActualXDimensionIsOdd(true);
86  }
88  {
89  this->SetActualXDimensionIsOdd(false);
90  }
92  {
94  }
96 
97 protected:
100 
103  virtual void GenerateOutputInformation();
104 
106  virtual void GenerateInputRequestedRegion();
107 
110  void EnlargeOutputRequestedRegion( DataObject *itkNotUsed(output) );
111 
112 private:
113  HalfHermitianToRealInverseFFTImageFilter(const Self &); // purposely not implemented
114  void operator=(const Self &); // purposely not implemented
115 
117 };
118 } // end namespace itk
119 
120 #ifndef ITK_MANUAL_INSTANTIATION
121 #ifndef __itkVnlHalfHermitianToRealInverseFFTImageFilter_h
122 #ifndef __itkVnlHalfHermitianToRealInverseFFTImageFilter_hxx
123 #ifndef __itkFFTWHalfHermitianToRealInverseFFTImageFilter_h
124 #ifndef __itkFFTWHalfHermitianToRealInverseFFTImageFilter_hxx
125 #include "itkHalfHermitianToRealInverseFFTImageFilter.hxx"
126 #endif
127 #endif
128 #endif
129 #endif
130 #endif
131 
132 #endif
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.
ImageToImageFilter< InputImageType, OutputImageType > Superclass
Base class for all data objects in ITK.