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: 2006/12/22 13:54:14 $
00007   Version:   $Revision: 1.10 $
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 <class 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 
00054 #ifdef ITK_USE_CONCEPT_CHECKING
00055 
00056   itkConceptMacro(PixelUnsignedIntDivisionOperatorsCheck,
00057     (Concept::DivisionOperators<TPixel, unsigned int>));
00058 
00060 #endif
00061 
00062 protected:
00063   VnlFFTComplexConjugateToRealImageFilter()  { }
00064   virtual ~VnlFFTComplexConjugateToRealImageFilter(){ }
00065 
00066 private:
00067   inline std::complex<TPixel> myConj(const std::complex<TPixel>& __z) {
00068     return std::complex<TPixel>(__z.real(), -__z.imag());
00069   }
00070   VnlFFTComplexConjugateToRealImageFilter(const Self&); //purposely not implemented
00071   void operator=(const Self&); //purposely not implemented
00072 };
00073 
00074 }
00075 
00076 #ifndef ITK_MANUAL_INSTANTIATION
00077 #include "itkVnlFFTComplexConjugateToRealImageFilter.txx"
00078 #endif
00079 
00080 #endif
00081 

Generated at Thu Nov 6 00:54:04 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000