Orfeo Toolbox  3.16
itkFFTShiftImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkFFTShiftImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2009-02-14 23:05:16 $
7  Version: $Revision: 1.1 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkFFTShiftImageFilter_h
18 #define __itkFFTShiftImageFilter_h
19 
20 #include "itkImageToImageFilter.h"
21 
22 namespace itk {
23 
39 template<class TInputImage, class TOutputImage>
41  public ImageToImageFilter<TInputImage, TOutputImage>
42 {
43 public:
50 
52  typedef TInputImage InputImageType;
53  typedef TOutputImage OutputImageType;
54  typedef typename InputImageType::Pointer InputImagePointer;
55  typedef typename InputImageType::ConstPointer InputImageConstPointer;
56  typedef typename InputImageType::RegionType InputImageRegionType;
57  typedef typename InputImageType::PixelType InputImagePixelType;
58  typedef typename OutputImageType::Pointer OutputImagePointer;
59  typedef typename OutputImageType::ConstPointer OutputImageConstPointer;
60  typedef typename OutputImageType::RegionType OutputImageRegionType;
61  typedef typename OutputImageType::PixelType OutputImagePixelType;
62  typedef typename OutputImageType::IndexType IndexType;
63  typedef typename OutputImageType::SizeType SizeType;
64 
66  itkStaticConstMacro(ImageDimension, unsigned int,
67  TInputImage::ImageDimension);
68 
70  itkNewMacro(Self);
71 
73  itkTypeMacro(FFTShiftImageFilter,
75 
82  itkSetMacro(Inverse, bool);
83  itkGetConstReferenceMacro(Inverse, bool);
84  itkBooleanMacro(Inverse);
85 
86 protected:
89  void PrintSelf(std::ostream& os, Indent indent) const;
90 
94  void GenerateInputRequestedRegion();
95 
96 
98  void ThreadedGenerateData (const OutputImageRegionType&
99  outputRegionForThread,
100  int threadId);
101 
102 
103 private:
104  FFTShiftImageFilter(const Self&); //purposely not implemented
105  void operator=(const Self&); //purposely not implemented
106 
107  bool m_Inverse;
108 
109 }; // end of class
110 
111 } // end namespace itk
112 
113 #ifndef ITK_MANUAL_INSTANTIATION
115 #endif
116 
117 #endif

Generated at Sat Feb 2 2013 23:37:28 for Orfeo Toolbox with doxygen 1.8.1.1