Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkVnlFFTComplexConjugateToRealImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkVnlFFTComplexConjugateToRealImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/11/11 21:46:16 $ 00007 Version: $Revision: 1.8 $ 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 __itkVnlFFTComplexConjugateToRealImageFilter_h 00018 #define __itkVnlFFTComplexConjugateToRealImageFilter_h 00019 #include "itkFFTComplexConjugateToRealImageFilter.h" 00020 00021 namespace itk 00022 { 00023 00024 template <typename TPixel, unsigned int Dimension = 3> 00025 class VnlFFTComplexConjugateToRealImageFilter : 00026 public FFTComplexConjugateToRealImageFilter<TPixel,Dimension> 00027 { 00028 public: 00030 typedef Image< std::complex<TPixel>,Dimension> TInputImageType; 00031 typedef Image<TPixel,Dimension> TOutputImageType; 00032 00033 typedef VnlFFTComplexConjugateToRealImageFilter Self; 00034 typedef FFTComplexConjugateToRealImageFilter<TPixel,Dimension> Superclass; 00035 typedef SmartPointer<Self> Pointer; 00036 typedef SmartPointer<const Self> constPointer; 00037 00039 itkNewMacro(Self); 00040 00042 itkTypeMacro(VnlFFTComplexConjugateToRealImageFilter, 00043 FFTComplexConjugateToRealImageFilter); 00044 00046 typedef TInputImageType ImageType; 00047 typedef typename ImageType::SizeType ImageSizeType; 00048 00049 // 00050 // these should be defined in every FFT filter class 00051 virtual void GenerateData(); // generates output from input 00052 virtual bool FullMatrix(); 00053 protected: 00054 VnlFFTComplexConjugateToRealImageFilter() { } 00055 virtual ~VnlFFTComplexConjugateToRealImageFilter(){ } 00056 00057 private: 00058 inline std::complex<TPixel> myConj(const std::complex<TPixel>& __z) { 00059 return std::complex<TPixel>(__z.real(), -__z.imag()); 00060 } 00061 VnlFFTComplexConjugateToRealImageFilter(const Self&); //purposely not implemented 00062 void operator=(const Self&); //purposely not implemented 00063 }; 00064 00065 } 00066 00067 #ifndef ITK_MANUAL_INSTANTIATION 00068 #include "itkVnlFFTComplexConjugateToRealImageFilter.txx" 00069 #endif 00070 00071 #endif

Generated at Sun Apr 1 02:47:19 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000