18 #ifndef itkMorphologyImageFilter_h
19 #define itkMorphologyImageFilter_h
71 template<
typename TInputImage,
typename TOutputImage,
typename TKernel >
95 itkStaticConstMacro(ImageDimension,
unsigned int,
96 TInputImage::ImageDimension);
122 m_BoundaryCondition = i;
128 m_BoundaryCondition = &m_DefaultBoundaryCondition;
132 itkGetConstMacro(BoundaryCondition, ImageBoundaryConditionPointerType);
137 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
140 void ThreadedGenerateData(
const OutputImageRegionType &
141 outputRegionForThread,
146 virtual PixelType Evaluate(
const NeighborhoodIteratorType & nit,
147 const KernelIteratorType kernelBegin,
148 const KernelIteratorType kernelEnd) = 0;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 #include "itkMorphologyImageFilter.hxx"
TInputImage::IndexType IndexType
SmartPointer< const Self > ConstPointer
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
ImageBoundaryConditionPointerType m_BoundaryCondition
ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionPointerType
DefaultBoundaryConditionType m_DefaultBoundaryCondition
Superclass::OutputImageRegionType OutputImageRegionType
void ResetBoundaryCondition()
KernelType::ConstIterator KernelIteratorType
Base class for the morphological operations such as erosion and dialation.
ConstNeighborhoodIterator< TInputImage > NeighborhoodIteratorType
TInputImage::RegionType RegionType
A base class for all the filters working on an arbitrary shaped neighborhood.
TInputImage InputImageType
KernelType::SizeType RadiusType
~MorphologyImageFilter() override
ImageBoundaryCondition< InputImageType > const * ImageBoundaryConditionConstPointerType
unsigned int ThreadIdType
KernelImageFilter< TInputImage, TOutputImage, TKernel > Superclass
TInputImage::PixelType PixelType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
MorphologyImageFilter Self
SmartPointer< Self > Pointer
TInputImage::SizeType SizeType
TOutputImage OutputImageType
ImageBaseType::IndexType IndexType