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

itkFFTShiftImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFFTShiftImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-14 23:05:16 $
00007   Version:   $Revision: 1.1 $
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 __itkFFTShiftImageFilter_h
00018 #define __itkFFTShiftImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 
00022 namespace itk {
00023 
00039 template<class TInputImage, class TOutputImage>
00040 class ITK_EXPORT FFTShiftImageFilter : 
00041     public ImageToImageFilter<TInputImage, TOutputImage>
00042 {
00043 public:
00045   typedef FFTShiftImageFilter       Self;
00046   typedef ImageToImageFilter<TInputImage, TOutputImage>
00047                                     Superclass;
00048   typedef SmartPointer<Self>        Pointer;
00049   typedef SmartPointer<const Self>  ConstPointer;
00050 
00052   typedef TInputImage                              InputImageType;
00053   typedef TOutputImage                             OutputImageType;
00054   typedef typename InputImageType::Pointer         InputImagePointer;
00055   typedef typename InputImageType::ConstPointer    InputImageConstPointer;
00056   typedef typename InputImageType::RegionType      InputImageRegionType;
00057   typedef typename InputImageType::PixelType       InputImagePixelType;
00058   typedef typename OutputImageType::Pointer        OutputImagePointer;
00059   typedef typename OutputImageType::ConstPointer   OutputImageConstPointer;
00060   typedef typename OutputImageType::RegionType     OutputImageRegionType;
00061   typedef typename OutputImageType::PixelType      OutputImagePixelType;
00062   typedef typename OutputImageType::IndexType      IndexType;
00063   typedef typename OutputImageType::SizeType       SizeType;
00064 
00066   itkStaticConstMacro(ImageDimension, unsigned int,
00067                       TInputImage::ImageDimension);
00068 
00070   itkNewMacro(Self);  
00071 
00073   itkTypeMacro(FFTShiftImageFilter, 
00074                ImageToImageFilter);
00075 
00082   itkSetMacro(Inverse, bool);
00083   itkGetConstReferenceMacro(Inverse, bool);
00084   itkBooleanMacro(Inverse);
00086 
00087 protected:
00088   FFTShiftImageFilter();
00089   ~FFTShiftImageFilter() {};
00090   void PrintSelf(std::ostream& os, Indent indent) const;
00091 
00095   void GenerateInputRequestedRegion();
00096 
00097 
00099   void  ThreadedGenerateData (const OutputImageRegionType& 
00100                               outputRegionForThread,
00101                               int threadId);
00102 
00103 
00104 private:
00105   FFTShiftImageFilter(const Self&); //purposely not implemented
00106   void operator=(const Self&); //purposely not implemented
00107 
00108   bool m_Inverse;
00109 
00110 }; // end of class
00111 
00112 } // end namespace itk
00113   
00114 #ifndef ITK_MANUAL_INSTANTIATION
00115 #include "itkFFTShiftImageFilter.txx"
00116 #endif
00117 
00118 #endif
00119 

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