18#ifndef itkGrayscaleErodeImageFilter_h
19#define itkGrayscaleErodeImageFilter_h
53template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
78 using SizeType =
typename TInputImage::SizeType;
105#if !defined(ITK_LEGACY_REMOVE)
110 static constexpr AlgorithmType BASIC = AlgorithmType::BASIC;
111 static constexpr AlgorithmType HISTO = AlgorithmType::HISTO;
112 static constexpr AlgorithmType ANCHOR = AlgorithmType::ANCHOR;
113 static constexpr AlgorithmType VHGW = AlgorithmType::VHGW;
168#ifndef ITK_MANUAL_INSTANTIATION
169# include "itkGrayscaleErodeImageFilter.hxx"
Algorithm or implementation used in the dilation/erosion operations.
SmartPointer< Self > Pointer
Grayscale erosion of an image.
SmartPointer< Self > Pointer
Casts input pixels to output pixel type.
This boundary condition returns a constant value for out-of-bounds image pixels.
A class to support a variety of flat structuring elements, including versions created by decompositio...
static constexpr unsigned int ImageDimension
void SetKernel(const KernelType &kernel) override
TInputImage InputImageType
const ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionConstPointerType
typename TInputImage::IndexType IndexType
BasicFilterType::Pointer m_BasicFilter
BasicErodeImageFilter< TInputImage, TOutputImage, TKernel > BasicFilterType
HistogramFilterType::Pointer m_HistogramFilter
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
FlatStructuringElement< Self::ImageDimension > FlatKernelType
AlgorithmEnum m_Algorithm
GrayscaleErodeImageFilter Self
void SetNumberOfWorkUnits(ThreadIdType nb) override
~GrayscaleErodeImageFilter() override=default
DefaultBoundaryConditionType m_BoundaryCondition
typename TInputImage::PixelType PixelType
KernelImageFilter< TInputImage, TOutputImage, TKernel > Superclass
MathematicalMorphologyEnums::Algorithm AlgorithmEnum
TOutputImage OutputImageType
void Modified() const override
CastImageFilter< TInputImage, TOutputImage > CastFilterType
VanHerkGilWermanErodeImageFilter< TInputImage, FlatKernelType > VHGWFilterType
void GenerateData() override
typename TInputImage::SizeType SizeType
MovingHistogramErodeImageFilter< TInputImage, TOutputImage, TKernel > HistogramFilterType
typename TInputImage::RegionType RegionType
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
void SetAlgorithm(AlgorithmEnum algo)
SmartPointer< Self > Pointer
AnchorFilterType::Pointer m_AnchorFilter
GrayscaleErodeImageFilter()
typename TInputImage::OffsetType OffsetType
void SetBoundary(const PixelType value)
AnchorErodeImageFilter< TInputImage, FlatKernelType > AnchorFilterType
VHGWFilterType::Pointer m_VHGWFilter
ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionPointerType
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
Grayscale erosion of an image.
SmartPointer< Self > Pointer
Implements transparent reference counting.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType