18 #ifndef __itkObjectMorphologyImageFilter_h
19 #define __itkObjectMorphologyImageFilter_h
72 template<
class TInputImage,
class TOutputImage,
class TKernel >
90 typedef typename TInputImage::SizeType
SizeType;
104 itkStaticConstMacro(ImageDimension,
unsigned int,
105 TInputImage::ImageDimension);
106 itkStaticConstMacro(OutputImageDimension,
unsigned int,
107 TOutputImage::ImageDimension);
108 itkStaticConstMacro(KernelDimension,
unsigned int,
109 TKernel::NeighborhoodDimension);
131 itkGetConstReferenceMacro(Kernel,
KernelType);
134 itkGetConstMacro(ObjectValue,
PixelType);
144 void GenerateInputRequestedRegion();
153 { m_BoundaryCondition = i; }
156 void ResetBoundaryCondition()
157 { m_BoundaryCondition = &m_DefaultBoundaryCondition; }
160 itkGetConstMacro(BoundaryCondition, ImageBoundaryConditionPointerType);
166 itkSetMacro(UseBoundaryCondition,
bool);
172 itkGetConstMacro(UseBoundaryCondition,
bool);
174 #ifdef ITK_USE_CONCEPT_CHECKING
198 void PrintSelf(std::ostream & os,
Indent indent)
const;
201 void ThreadedGenerateData(
const OutputImageRegionType &
202 outputRegionForThread,
207 virtual void Evaluate(OutputNeighborhoodIteratorType & nit,
208 const KernelType & kernel) = 0;
213 bool IsObjectPixelOnBoundary(
const InputNeighborhoodIteratorType & nit);
231 void BeforeThreadedGenerateData();
235 void operator=(
const Self &);
239 #ifndef ITK_MANUAL_INSTANTIATION
240 #include "itkObjectMorphologyImageFilter.hxx"