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: 2009-01-26 21:45:57 $
00007   Version:   $Revision: 1.3 $
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 __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 VDimension = 3>
00028 class SCSLComplexConjugateToRealImageFilter :
00029     public FFTComplexConjugateToRealImageFilter<TPixel,VDimension>
00030 {
00031 public:
00033   typedef Image< std::complex<TPixel>,VDimension>                 TInputImageType;
00034   typedef Image<TPixel,VDimension>                                TOutputImageType;
00035   typedef SCSLComplexConjugateToRealImageFilter                   Self;
00036   typedef FFTComplexConjugateToRealImageFilter<TPixel,VDimension> Superclass;
00037   typedef SmartPointer<Self>                                      Pointer;
00038   typedef SmartPointer<const Self>                                ConstPointer;
00039 
00041   itkNewMacro(Self);
00042 
00044   itkTypeMacro(SCSLComplexConjugateToRealImageFilter,
00045                FFTComplexConjugateToRealImageFilter);
00046 
00048   typedef TInputImageType              ImageType;
00049   typedef typename ImageType::SizeType ImageSizeType;
00050 
00051   //
00052   // these should be defined in every FFT filter class
00053   virtual void GenerateData();  // generates output from input
00054   virtual bool FullMatrix(); // must be implemented in child
00055 protected:
00056   SCSLComplexConjugateToRealImageFilter() {}
00057   virtual ~SCSLComplexConjugateToRealImageFilter() {}
00058   void PrintSelf(std::ostream& os, Indent indent) const;
00059 
00060 private:
00061   SCSLComplexConjugateToRealImageFilter(const Self&); //purposely not implemented
00062   void operator=(const Self&); //purposely not implemented
00063 };
00064 
00065 }
00066 
00067 #ifndef ITK_MANUAL_INSTANTIATION
00068 #include "itkSCSLComplexConjugateToRealImageFilter.txx"
00069 #endif
00070 #endif // USE_SCSL
00071 #endif
00072 

Generated at Sat Feb 28 13:30:04 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000