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: 2009-01-27 19:30:16 $
00007   Version:   $Revision: 1.8 $
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 __itkVnlFFTRealToComplexConjugateImageFilter_h
00018 #define __itkVnlFFTRealToComplexConjugateImageFilter_h
00019 #include "itkFFTRealToComplexConjugateImageFilter.h"
00020 #include <complex>
00021 namespace itk
00022 {
00023 
00028 template <class TPixel, unsigned int VDimension = 3>
00029 class VnlFFTRealToComplexConjugateImageFilter :
00030     public FFTRealToComplexConjugateImageFilter<TPixel,VDimension>
00031 {
00032 public:
00034   typedef VnlFFTRealToComplexConjugateImageFilter                 Self;
00035   typedef FFTRealToComplexConjugateImageFilter<TPixel,VDimension> Superclass;
00036   typedef SmartPointer<Self>                                      Pointer;
00037   typedef SmartPointer<const Self>                                ConstPointer;
00038 
00040   itkNewMacro(Self);
00041 
00043   itkTypeMacro(VnlFFTRealToComplexConjugateImageFilter,
00044                FFTRealToComplexConjugateImageFilter);
00045 
00046   //
00047   // these should be defined in every FFT filter class
00048   virtual void GenerateData();  // generates output from input
00049   virtual bool FullMatrix();
00050 protected:
00051   VnlFFTRealToComplexConjugateImageFilter() { }
00052   ~VnlFFTRealToComplexConjugateImageFilter() { }
00054   bool Legaldim(int n); 
00055 
00056 
00057 private:
00058   inline std::complex<TPixel> myConj(const std::complex<TPixel>& __z)
00059     {
00060     return std::complex<TPixel>(__z.real(), -__z.imag());
00061     }
00062 
00063   VnlFFTRealToComplexConjugateImageFilter(const Self&); //purposely not implemented
00064   void operator=(const Self&); //purposely not implemented
00065 };
00066 
00067 }
00068 
00069 #ifndef ITK_MANUAL_INSTANTIATION
00070 #include "itkVnlFFTRealToComplexConjugateImageFilter.txx"
00071 #endif
00072 
00073 #endif
00074 

Generated at Mon Jul 12 2010 20:14:38 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000