00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFFTRealToComplexConjugateImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-01-16 11:37:55 $ 00007 Version: $Revision: 1.9 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkFFTRealToComplexConjugateImageFilter_h 00018 #define __itkFFTRealToComplexConjugateImageFilter_h 00019 00020 00021 #include <itkImageToImageFilter.h> 00022 #include <itkImage.h> 00023 #include <complex> 00024 00025 namespace itk 00026 { 00032 template <class TPixel,unsigned int VDimension = 3> 00033 class ITK_EXPORT FFTRealToComplexConjugateImageFilter : 00034 public ImageToImageFilter< Image< TPixel , VDimension >, 00035 Image< std::complex< TPixel > , VDimension > > 00036 { 00037 public: 00039 typedef Image<TPixel,VDimension> TInputImageType; 00040 typedef Image< std::complex< TPixel > , VDimension> TOutputImageType; 00041 00042 typedef FFTRealToComplexConjugateImageFilter Self; 00043 typedef ImageToImageFilter< TInputImageType, TOutputImageType > Superclass; 00044 typedef SmartPointer<Self> Pointer; 00045 typedef SmartPointer<const Self> ConstPointer; 00046 00048 itkTypeMacro(FFTRealToComplexConjugateImageFilter, ImageToImageFilter); 00049 00055 static Pointer New(void); 00056 00058 typedef TInputImageType ImageType; 00059 typedef typename ImageType::SizeType ImageSizeType; 00060 00061 protected: 00062 FFTRealToComplexConjugateImageFilter() {} 00063 virtual ~FFTRealToComplexConjugateImageFilter(){} 00064 00065 virtual void GenerateOutputInformation(); // figure out allocation for output image 00066 virtual void GenerateInputRequestedRegion(); 00067 virtual void EnlargeOutputRequestedRegion(DataObject *output); 00068 virtual bool FullMatrix() = 0; // must be implemented in child 00069 00070 private: 00071 FFTRealToComplexConjugateImageFilter(const Self&); //purposely not implemented 00072 void operator=(const Self&); //purposely not implemented 00073 }; 00074 00075 } // end namespace itk 00076 00077 #ifndef ITK_MANUAL_INSTANTIATION 00078 #ifndef __itkVnlFFTRealToComplexConjugateImageFilter_h 00079 #ifndef __itkVnlFFTRealToComplexConjugateImageFilter_txx 00080 #ifndef __itkFFTWRealToComplexConjugateImageFilter_h 00081 #ifndef __itkFFTWRealToComplexConjugateImageFilter_txx 00082 #include "itkFFTRealToComplexConjugateImageFilter.txx" 00083 #endif 00084 #endif 00085 #endif 00086 #endif 00087 #endif 00088 00089 #endif 00090