go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkErodeMaskImageFilter.h
Go to the documentation of this file.
1 /*======================================================================
2 
3 This file is part of the elastix software.
4 
5 Copyright (c) University Medical Center Utrecht. All rights reserved.
6 See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7 details.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __itkErodeMaskImageFilter_h
16 #define __itkErodeMaskImageFilter_h
17 
18 #include "itkImageToImageFilter.h"
19 #include "itkMultiResolutionPyramidImageFilter.h"
20 
21 namespace itk
22 {
53  template <class TImage>
55  public ImageToImageFilter< TImage, TImage >
56  {
57  public:
60  typedef ImageToImageFilter< TImage, TImage > Superclass;
61  typedef SmartPointer<Self> Pointer;
62  typedef SmartPointer<const Self> ConstPointer;
63 
65  itkTypeMacro( ErodeMaskImageFilter, ImageToImageFilter );
66 
68  itkNewMacro( Self );
69 
71  typedef TImage InputImageType;
72  typedef TImage OutputImageType;
73  typedef typename InputImageType::Pointer InputImagePointer;
74  typedef typename OutputImageType::Pointer OutputImagePointer;
75  typedef typename InputImageType::PixelType InputPixelType;
76  typedef typename OutputImageType::PixelType OutputPixelType;
77 
79  itkStaticConstMacro( InputImageDimension, unsigned int,
80  InputImageType::ImageDimension );
81  itkStaticConstMacro( OutputImageDimension, unsigned int,
82  OutputImageType::ImageDimension);
83  itkStaticConstMacro( ImageDimension, unsigned int,
84  OutputImageType::ImageDimension );
85 
87  typedef MultiResolutionPyramidImageFilter<
89  typedef typename ImagePyramidFilterType::ScheduleType ScheduleType;
90 
95  virtual void SetSchedule( const ScheduleType & schedule )
96  {
97  this->m_Schedule = schedule;
98  this->Modified();
99  }
100  itkGetConstReferenceMacro( Schedule, ScheduleType );
101 
107  itkSetMacro( IsMovingMask, bool );
108  itkGetConstMacro( IsMovingMask, bool );
109 
111  itkSetMacro( ResolutionLevel, unsigned int );
112  itkGetConstMacro( ResolutionLevel, unsigned int );
113 
114 #ifdef ITK_USE_CONCEPT_CHECKING
115 
116  itkConceptMacro(SameDimensionCheck,
117  (Concept::SameDimension<InputImageDimension, OutputImageDimension>));
119 #endif
120 
121  protected:
122 
125 
128 
133  virtual void GenerateData( void );
134 
135  private:
136  ErodeMaskImageFilter( const Self & ); // purposely not implemented
137  void operator=( const Self& ); // purposely not implemented
138 
140  unsigned int m_ResolutionLevel;
142 
143  }; // end class ErodeMaskImageFilter
144 
145 } // end namespace itk
146 
147 #ifndef ITK_MANUAL_INSTANTIATION
148 #include "itkErodeMaskImageFilter.txx"
149 #endif
150 
151 #endif


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo