ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkInverseFFTImageFilter.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 itkInverseFFTImageFilter_h
19 #define itkInverseFFTImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
22 
23 namespace itk
24 {
43 template< typename TInputImage, typename TOutputImage=Image< typename TInputImage::PixelType::value_type, TInputImage::ImageDimension> >
45  public ImageToImageFilter< TInputImage, TOutputImage >
46 
47 {
48 public:
50  typedef TInputImage InputImageType;
51  typedef typename InputImageType::PixelType InputPixelType;
52  typedef TOutputImage OutputImageType;
53  typedef typename OutputImageType::PixelType OutputPixelType;
54 
59 
60  itkStaticConstMacro(ImageDimension, unsigned int,
61  InputImageType::ImageDimension);
62 
67  static Pointer New();
68 
69  /* Return the prefered greatest prime factor supported for the input image
70  * size. Defaults to 2 as many implementations work only for sizes that are
71  * power of 2.
72  */
74 
75 protected:
78 
80  virtual void GenerateInputRequestedRegion();
81 
84  void EnlargeOutputRequestedRegion( DataObject *itkNotUsed(output) );
85 
86 private:
87  InverseFFTImageFilter(const Self &); // purposely not implemented
88  void operator=(const Self &); // purposely not implemented
89 };
90 } // end namespace itk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #ifndef itkVnlInverseFFTImageFilter_h
94 #ifndef itkVnlInverseFFTImageFilter_hxx
95 #ifndef itkFFTWInverseFFTImageFilter_h
96 #ifndef itkFFTWInverseFFTImageFilter_hxx
97 #include "itkInverseFFTImageFilter.hxx"
98 #endif
99 #endif
100 #endif
101 #endif
102 #endif
103 
104 #endif
Base class for inverse Fast Fourier Transform.
void EnlargeOutputRequestedRegion(DataObject *)
virtual void GenerateInputRequestedRegion()
InputImageType::PixelType InputPixelType
OutputImageType::PixelType OutputPixelType
unsigned long SizeValueType
Definition: itkIntTypes.h:143
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
Base class for filters that take an image as input and produce an image as output.
static const unsigned int ImageDimension
ImageToImageFilter< InputImageType, OutputImageType > Superclass
Base class for all data objects in ITK.
virtual SizeValueType GetSizeGreatestPrimeFactor() const