ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkForwardFFTImageFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkForwardFFTImageFilter_h
00019 #define __itkForwardFFTImageFilter_h
00020 
00021 #include "itkImageToImageFilter.h"
00022 
00023 namespace itk
00024 {
00049 template< class TInputImage, class TOutputImage=Image< std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension> >
00050 class ITK_EXPORT ForwardFFTImageFilter:
00051   public ImageToImageFilter< TInputImage, TOutputImage >
00052 {
00053 public:
00055   typedef TInputImage                          InputImageType;
00056   typedef typename InputImageType::PixelType   InputPixelType;
00057   typedef typename InputImageType::IndexType   InputIndexType;
00058   typedef typename InputImageType::SizeType    InputSizeType;
00059   typedef TOutputImage                         OutputImageType;
00060   typedef typename OutputImageType::PixelType  OutputPixelType;
00061   typedef typename OutputImageType::IndexType  OutputIndexType;
00062   typedef typename OutputIndexType::SizeType   OutputSizeType;
00063 
00064   typedef ForwardFFTImageFilter                                 Self;
00065   typedef ImageToImageFilter< InputImageType, OutputImageType > Superclass;
00066   typedef SmartPointer< Self >                                  Pointer;
00067   typedef SmartPointer< const Self >                            ConstPointer;
00068 
00073   static Pointer New(void);
00074 
00075 protected:
00076   ForwardFFTImageFilter() {}
00077   virtual ~ForwardFFTImageFilter() {}
00078 
00080   virtual void GenerateInputRequestedRegion();
00081 
00083   virtual void EnlargeOutputRequestedRegion(DataObject *output);
00084 
00085 private:
00086   ForwardFFTImageFilter(const Self &); // purposely not implemented
00087   void operator=(const Self &);        // purposely not implemented
00088 };
00089 } // end namespace itk
00090 
00091 #ifndef ITK_MANUAL_INSTANTIATION
00092 #ifndef __itkVnlForwardFFTImageFilter_h
00093 #ifndef __itkVnlForwardFFTImageFilter_hxx
00094 #ifndef __itkFFTWForwardFFTImageFilter_h
00095 #ifndef __itkFFTWForwardFFTImageFilter_hxx
00096 #include "itkForwardFFTImageFilter.hxx"
00097 #endif
00098 #endif
00099 #endif
00100 #endif
00101 #endif
00102 
00103 #endif
00104