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

itkFFTComplexConjugateToRealImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFFTComplexConjugateToRealImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/11/10 18:51:16 $
00007   Version:   $Revision: 1.2 $
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 __itkFFTComplexConjugateToRealImageFilter_h
00018 #define __itkFFTComplexConjugateToRealImageFilter_h
00019 
00020 
00021 #include <itkImageToImageFilter.h>
00022 #include <itkImage.h>
00023 #include <complex>
00024 
00025 namespace itk
00026 {
00033 template < class TPixel,unsigned int Dimension = 3 >
00034 class FFTComplexConjugateToRealImageFilter :
00035     public ImageToImageFilter< Image< std::complex< TPixel > , Dimension >,
00036                                Image< TPixel,Dimension > >
00037 
00038 {
00039 public:
00041   typedef Image< std::complex< TPixel > ,Dimension> TInputImageType;
00042   typedef Image<TPixel,Dimension> TOutputImageType;
00043 
00044   typedef FFTComplexConjugateToRealImageFilter Self;
00045   typedef ImageToImageFilter< TInputImageType, TOutputImageType > Superclass;
00046   typedef SmartPointer<Self> Pointer;
00047   typedef SmartPointer<const Self> constPointer;
00048 
00049   itkStaticConstMacro(ImageDimension, unsigned int,
00050                       TInputImageType::ImageDimension );
00051 
00053   itkNewMacro(Self);
00054 
00056   itkTypeMacro(FFTComplexConjugateToRealImageFilter, ImageToImageFilter);
00057 
00059   typedef TInputImageType ImageType;
00060   typedef typename ImageType::SizeType ImageSizeType;
00061   virtual void GenerateOutputInformation(); // figure out allocation for output image
00062   virtual void GenerateInputRequestedRegion();
00063   virtual bool FullMatrix() = 0; // must be implemented in child  
00064 
00065 protected:
00066   FFTComplexConjugateToRealImageFilter() {}
00067   virtual ~FFTComplexConjugateToRealImageFilter(){}
00068 
00069 private:
00070   FFTComplexConjugateToRealImageFilter(const Self&); //purposely not implemented
00071   void operator=(const Self&); //purposely not implemented
00072 };
00073 } // end namespace itk
00074 #ifndef ITK_MANUAL_INSTANTIATION
00075 #include "itkFFTComplexConjugateToRealImageFilter.txx"
00076 #endif
00077 
00078 
00079 #endif

Generated at Sun Jan 25 13:19:34 2004 for ITK by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-2000