18#ifndef itkObjectMorphologyImageFilter_h
19#define itkObjectMorphologyImageFilter_h
73template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
97 using typename Superclass::OutputImageRegionType;
104 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
105 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
106 static constexpr unsigned int KernelDimension = TKernel::NeighborhoodDimension;
150 m_BoundaryCondition = i;
157 m_BoundaryCondition = &m_DefaultBoundaryCondition;
167 itkSetMacro(UseBoundaryCondition,
bool);
173 itkGetConstMacro(UseBoundaryCondition,
bool);
175#ifdef ITK_USE_CONCEPT_CHECKING
217 bool m_UseBoundaryCondition{};
230#ifndef ITK_MANUAL_INSTANTIATION
231# include "itkObjectMorphologyImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
Control indentation during Print() invocation.
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
Base class for the morphological operations being applied to isolated objects in an image.
~ObjectMorphologyImageFilter() override=default
virtual void Evaluate(OutputNeighborhoodIteratorType &nit, const KernelType &kernel)=0
typename TInputImage::RegionType RegionType
ObjectMorphologyImageFilter()
typename KernelType::ConstIterator KernelIteratorType
void GenerateInputRequestedRegion() override
void PrintSelf(std::ostream &os, Indent indent) const override
bool IsObjectPixelOnBoundary(const InputNeighborhoodIteratorType &iNIter)
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
typename TInputImage::IndexType IndexType
void ResetBoundaryCondition()
void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
typename TInputImage::PixelType PixelType
void BeforeThreadedGenerateData() override
typename TInputImage::SizeType SizeType
typename KernelType::SizeType RadiusType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....