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

itkSCSLComplexConjugateToRealImageFilter.h

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

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