18 #ifndef itkObjectMorphologyImageFilter_h
19 #define itkObjectMorphologyImageFilter_h
72 template<
typename TInputImage,
typename TOutputImage,
typename TKernel >
90 typedef typename TInputImage::SizeType
SizeType;
105 TInputImage::ImageDimension);
107 TOutputImage::ImageDimension);
109 TKernel::NeighborhoodDimension);
131 itkGetConstReferenceMacro(Kernel,
KernelType);
134 itkGetConstMacro(ObjectValue,
PixelType);
166 itkSetMacro(UseBoundaryCondition,
bool);
172 itkGetConstMacro(UseBoundaryCondition,
bool);
174 #ifdef ITK_USE_CONCEPT_CHECKING
201 outputRegionForThread,
234 void operator=(const
Self &) ITK_DELETE_FUNCTION;
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkObjectMorphologyImageFilter.hxx"
ObjectMorphologyImageFilter Self
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::OutputImageRegionType OutputImageRegionType
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
ImageBoundaryCondition< InputImageType > const * ImageBoundaryConditionConstPointerType
static const unsigned int ImageDimension
TInputImage InputImageType
DefaultBoundaryConditionType m_DefaultBoundaryCondition
void GenerateInputRequestedRegion() override
TOutputImage OutputImageType
NeighborhoodIterator< TOutputImage > OutputNeighborhoodIteratorType
void BeforeThreadedGenerateData() override
Base class for all process objects that output image data.
TInputImage::RegionType RegionType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
KernelType::ConstIterator KernelIteratorType
virtual void Evaluate(OutputNeighborhoodIteratorType &nit, const KernelType &kernel)=0
void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i)
TInputImage::SizeType SizeType
KernelType::SizeType RadiusType
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
ObjectMorphologyImageFilter()
TInputImage::PixelType PixelType
ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionPointerType
SmartPointer< const Self > ConstPointer
static const unsigned int OutputImageDimension
unsigned int ThreadIdType
ConstNeighborhoodIterator< TInputImage > InputNeighborhoodIteratorType
bool IsObjectPixelOnBoundary(const InputNeighborhoodIteratorType &nit)
ImageBoundaryConditionPointerType m_BoundaryCondition
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
static const unsigned int KernelDimension
~ObjectMorphologyImageFilter()
Superclass::OutputImageRegionType OutputImageRegionType
void ResetBoundaryCondition()
TInputImage::IndexType IndexType
#define itkConceptMacro(name, concept)
bool m_UseBoundaryCondition
Base class for the morphological operations being applied to isolated objects in an image...
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.