18#ifndef itkGrayscaleMorphologicalOpeningImageFilter_h
19#define itkGrayscaleMorphologicalOpeningImageFilter_h
50template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
70 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
80 using typename Superclass::OutputImageRegionType;
99#if !defined(ITK_LEGACY_REMOVE)
104 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
105 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
106 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
107 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
127 itkSetMacro(SafeBorder,
bool);
128 itkGetConstReferenceMacro(SafeBorder,
bool);
129 itkBooleanMacro(SafeBorder);
160 bool m_SafeBorder{
true };
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "itkGrayscaleMorphologicalOpeningImageFilter.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 opening of an image.
void PrintSelf(std::ostream &os, Indent indent) const override
void Modified() const override
void SetKernel(const KernelType &kernel) override
typename TInputImage::PixelType PixelType
void SetAlgorithm(AlgorithmEnum algo)
~GrayscaleMorphologicalOpeningImageFilter() override=default
void GenerateData() override
GrayscaleMorphologicalOpeningImageFilter()
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....