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 #ifndef __itkErodeMaskImageFilter_h
15 #define __itkErodeMaskImageFilter_h
16 
17 #include "itkImageToImageFilter.h"
18 #include "itkMultiResolutionPyramidImageFilter.h"
19 
20 namespace itk
21 {
52 template< class TImage >
54  public ImageToImageFilter< TImage, TImage >
55 {
56 public:
57 
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 
101 
102  itkGetConstReferenceMacro( Schedule, ScheduleType );
103 
109  itkSetMacro( IsMovingMask, bool );
110  itkGetConstMacro( IsMovingMask, bool );
111 
113  itkSetMacro( ResolutionLevel, unsigned int );
114  itkGetConstMacro( ResolutionLevel, unsigned int );
115 
116 #ifdef ITK_USE_CONCEPT_CHECKING
117 
118  itkConceptMacro( SameDimensionCheck,
119  ( Concept::SameDimension< InputImageDimension, OutputImageDimension > ) );
121 #endif
122 
123 protected:
124 
127 
130 
135  virtual void GenerateData( void );
136 
137 private:
138 
139  ErodeMaskImageFilter( const Self & ); // purposely not implemented
140  void operator=( const Self & ); // purposely not implemented
141 
143  unsigned int m_ResolutionLevel;
145 
146 };
147 
148 } // end namespace itk
149 
150 #ifndef ITK_MANUAL_INSTANTIATION
151 #include "itkErodeMaskImageFilter.hxx"
152 #endif
153 
154 #endif
InputImageType::PixelType InputPixelType
OutputImageType::PixelType OutputPixelType
virtual void GenerateData(void)
itkStaticConstMacro(InputImageDimension, unsigned int, InputImageType::ImageDimension)
void operator=(const Self &)
OutputImageType::Pointer OutputImagePointer
MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ImagePyramidFilterType
ImagePyramidFilterType::ScheduleType ScheduleType
ImageToImageFilter< TImage, TImage > Superclass
SmartPointer< const Self > ConstPointer
virtual void SetSchedule(const ScheduleType &schedule)
InputImageType::Pointer InputImagePointer


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo