18 #ifndef itkMorphologyImageFilter_h
19 #define itkMorphologyImageFilter_h
71 template<
typename TInputImage,
typename TOutputImage,
typename TKernel >
97 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
123 m_BoundaryCondition = i;
129 m_BoundaryCondition = &m_DefaultBoundaryCondition;
133 itkGetConstMacro(BoundaryCondition, ImageBoundaryConditionPointerType);
138 void PrintSelf(std::ostream & os,
Indent indent)
const override;
141 void DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
146 virtual PixelType Evaluate(
const NeighborhoodIteratorType & nit,
147 const KernelIteratorType kernelBegin,
148 const KernelIteratorType kernelEnd) = 0;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkMorphologyImageFilter.hxx"
typename TInputImage::SizeType RadiusType
typename TInputImage::IndexType IndexType
void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
typename TInputImage::RegionType RegionType
ImageBoundaryConditionPointerType m_BoundaryCondition
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename KernelType::ConstIterator KernelIteratorType
DefaultBoundaryConditionType m_DefaultBoundaryCondition
Base class for all process objects that output image data.
TInputImage InputImageType
void ResetBoundaryCondition()
Base class for the morphological operations such as erosion and dialation.
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
typename TInputImage::SizeType SizeType
typename TInputImage::PixelType PixelType
TOutputImage OutputImageType
A base class for all the filters working on an arbitrary shaped neighborhood.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType