18#ifndef itkGrayscaleMorphologicalClosingImageFilter_h
19#define itkGrayscaleMorphologicalClosingImageFilter_h
51template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
71 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
81 using typename Superclass::OutputImageRegionType;
100#if !defined(ITK_LEGACY_REMOVE)
105 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
106 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
107 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
108 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
128 itkSetMacro(SafeBorder,
bool);
129 itkGetConstReferenceMacro(SafeBorder,
bool);
130 itkBooleanMacro(SafeBorder);
165#ifndef ITK_MANUAL_INSTANTIATION
166# include "itkGrayscaleMorphologicalClosingImageFilter.hxx"
Algorithm or implementation used in the dilation/erosion operations.
Grayscale dilation of an image.
Grayscale erosion of an image.
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::IndexType IndexType
typename TInputImage::OffsetType OffsetType
Casts input pixels to output pixel type.
A class to support a variety of flat structuring elements, including versions created by decompositio...
Grayscale closing of an image.
void SetAlgorithm(AlgorithmEnum algo)
void GenerateData() override
void SetKernel(const KernelType &kernel) override
void Modified() const override
GrayscaleMorphologicalClosingImageFilter()
typename TInputImage::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const override
~GrayscaleMorphologicalClosingImageFilter() override=default
Base class for all process objects that output image data.
TOutputImage OutputImageType
TInputImage InputImageType
Control indentation during Print() invocation.
A base class for all the filters working on an arbitrary shaped neighborhood.
Grayscale dilation of an image.
Grayscale erosion of an image.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....