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 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __itkErodeMaskImageFilter_h
19#define __itkErodeMaskImageFilter_h
20
21#include "itkImageToImageFilter.h"
22#include "itkMultiResolutionPyramidImageFilter.h"
23
24namespace itk
25{
56template< class TImage >
58 public ImageToImageFilter< TImage, TImage >
59{
60public:
61
64 typedef ImageToImageFilter< TImage, TImage > Superclass;
66 typedef SmartPointer< const Self > ConstPointer;
67
69 itkTypeMacro( ErodeMaskImageFilter, ImageToImageFilter );
70
72 itkNewMacro( Self );
73
75 typedef TImage InputImageType;
76 typedef TImage OutputImageType;
77 typedef typename InputImageType::Pointer InputImagePointer;
78 typedef typename OutputImageType::Pointer OutputImagePointer;
79 typedef typename InputImageType::PixelType InputPixelType;
80 typedef typename OutputImageType::PixelType OutputPixelType;
81
83 itkStaticConstMacro( InputImageDimension, unsigned int,
84 InputImageType::ImageDimension );
85 itkStaticConstMacro( OutputImageDimension, unsigned int,
86 OutputImageType::ImageDimension );
87 itkStaticConstMacro( ImageDimension, unsigned int,
88 OutputImageType::ImageDimension );
89
91 typedef MultiResolutionPyramidImageFilter<
93 typedef typename ImagePyramidFilterType::ScheduleType ScheduleType;
94
99 virtual void SetSchedule( const ScheduleType & schedule )
100 {
101 this->m_Schedule = schedule;
102 this->Modified();
103 }
104
105
106 itkGetConstReferenceMacro( Schedule, ScheduleType );
107
113 itkSetMacro( IsMovingMask, bool );
114 itkGetConstMacro( IsMovingMask, bool );
115
117 itkSetMacro( ResolutionLevel, unsigned int );
118 itkGetConstMacro( ResolutionLevel, unsigned int );
119
120#ifdef ITK_USE_CONCEPT_CHECKING
122 itkConceptMacro( SameDimensionCheck,
123 ( Concept::SameDimension< InputImageDimension, OutputImageDimension > ) );
125#endif
126
127protected:
128
131
134
139 void GenerateData( void ) override;
140
141private:
142
143 ErodeMaskImageFilter( const Self & ); // purposely not implemented
144 void operator=( const Self & ); // purposely not implemented
145
147 unsigned int m_ResolutionLevel;
149
150};
151
152} // end namespace itk
153
154#ifndef ITK_MANUAL_INSTANTIATION
155#include "itkErodeMaskImageFilter.hxx"
156#endif
157
158#endif
itkStaticConstMacro(InputImageDimension, unsigned int, InputImageType::ImageDimension)
ErodeMaskImageFilter(const Self &)
virtual void SetSchedule(const ScheduleType &schedule)
itkStaticConstMacro(OutputImageDimension, unsigned int, OutputImageType::ImageDimension)
OutputImageType::PixelType OutputPixelType
void GenerateData(void) override
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
MultiResolutionPyramidImageFilter< InputImageType, OutputImageType > ImagePyramidFilterType
InputImageType::PixelType InputPixelType
itkStaticConstMacro(ImageDimension, unsigned int, OutputImageType::ImageDimension)
ImagePyramidFilterType::ScheduleType ScheduleType
ImageToImageFilter< TImage, TImage > Superclass
InputImageType::Pointer InputImagePointer
OutputImageType::Pointer OutputImagePointer


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo