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,
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkObjectMorphologyImageFilter.hxx"
ObjectMorphologyImageFilter Self
SmartPointer< Self > Pointer
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
void operator=(const Self &)
void GenerateInputRequestedRegion()
Superclass::OutputImageRegionType OutputImageRegionType
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
ImageBoundaryCondition< InputImageType > const * ImageBoundaryConditionConstPointerType
static const unsigned int ImageDimension
TInputImage InputImageType
DefaultBoundaryConditionType m_DefaultBoundaryCondition
TOutputImage OutputImageType
NeighborhoodIterator< TOutputImage > OutputNeighborhoodIteratorType
Base class for all process objects that output image data.
void BeforeThreadedGenerateData()
TInputImage::RegionType RegionType
void PrintSelf(std::ostream &os, Indent indent) const
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
ObjectMorphologyImageFilter()
TInputImage::PixelType PixelType
ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionPointerType
SmartPointer< const Self > ConstPointer
static const unsigned int OutputImageDimension
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.
unsigned int ThreadIdType