00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFFTRealToComplexConjugateImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/11/10 18:51:16 $ 00007 Version: $Revision: 1.2 $ 00008 00009 Copyright (c) 2002 Insight 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 Dimension = 3> 00033 class ITK_EXPORT FFTRealToComplexConjugateImageFilter : 00034 public ImageToImageFilter< Image< TPixel , Dimension >, 00035 Image< std::complex< TPixel > , Dimension > > 00036 { 00037 public: 00039 typedef Image<TPixel,Dimension> TInputImageType; 00040 typedef Image< std::complex< TPixel > , Dimension> 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 itkNewMacro(Self); 00049 00051 itkTypeMacro(FFTRealToComplexConjugateImageFilter, ImageToImageFilter); 00052 00054 typedef TInputImageType ImageType; 00055 typedef typename ImageType::SizeType ImageSizeType; 00056 virtual void GenerateOutputInformation(); // figure out allocation for output image 00057 virtual bool FullMatrix() = 0; // must be implemented in child 00058 protected: 00059 FFTRealToComplexConjugateImageFilter() {} 00060 virtual ~FFTRealToComplexConjugateImageFilter(){} 00061 00062 private: 00063 FFTRealToComplexConjugateImageFilter(const Self&); //purposely not implemented 00064 void operator=(const Self&); //purposely not implemented 00065 }; 00066 00067 } // end namespace itk 00068 00069 #ifndef ITK_MANUAL_INSTANTIATION 00070 #include "itkFFTRealToComplexConjugateImageFilter.txx" 00071 #endif 00072 00073 #endif