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

itkVnlFFTRealToComplexConjugateImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVnlFFTRealToComplexConjugateImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/11/10 18:51:52 $
00007   Version:   $Revision: 1.5 $
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 __itkVnlFFTRealToComplexConjugateImageFilter_h
00018 #define __itkVnlFFTRealToComplexConjugateImageFilter_h
00019 #include "itkFFTRealToComplexConjugateImageFilter.h"
00020 #include <complex>
00021 namespace itk
00022 {
00023 template <class TPixel, unsigned int Dimension = 3>
00024 class VnlFFTRealToComplexConjugateImageFilter :
00025     public FFTRealToComplexConjugateImageFilter<TPixel,Dimension>
00026 {
00027 public:
00029   typedef VnlFFTRealToComplexConjugateImageFilter Self;
00030   typedef FFTRealToComplexConjugateImageFilter<TPixel,Dimension> Superclass;
00031   typedef SmartPointer<Self> Pointer;
00032   typedef SmartPointer<const Self> constPointer;
00033 
00035   itkNewMacro(Self);
00036 
00038   itkTypeMacro(VnlFFTRealToComplexConjugateImageFilter,
00039                FFTRealToComplexConjugateImageFilter);
00040 
00041   //
00042   // these should be defined in every FFT filter class
00043   virtual void GenerateData();  // generates output from input
00044   virtual bool FullMatrix();
00045 protected:
00046   VnlFFTRealToComplexConjugateImageFilter() { }
00047   ~VnlFFTRealToComplexConjugateImageFilter() { }
00049   bool Legaldim(int n); 
00050 
00051 
00052 private:
00053   inline std::complex<TPixel> myConj(const std::complex<TPixel>& __z) {
00054     return std::complex<TPixel>(__z.real(), -__z.imag());
00055   }
00056 
00057   VnlFFTRealToComplexConjugateImageFilter(const Self&); //purposely not implemented
00058   void operator=(const Self&); //purposely not implemented
00059 };
00060 
00061 }
00062 
00063 #ifndef ITK_MANUAL_INSTANTIATION
00064 #include "itkVnlFFTRealToComplexConjugateImageFilter.txx"
00065 #endif
00066 
00067 #endif
00068 

Generated at Tue Jul 29 23:42:28 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000