18 #ifndef itkGrayscaleMorphologicalClosingImageFilter_h
19 #define itkGrayscaleMorphologicalClosingImageFilter_h
51 template <
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;
113 SetKernel(
const KernelType & kernel)
override;
124 Modified()
const override;
128 itkSetMacro(SafeBorder,
bool);
129 itkGetConstReferenceMacro(SafeBorder,
bool);
130 itkBooleanMacro(SafeBorder);
137 PrintSelf(std::ostream & os,
Indent indent)
const override;
140 GenerateData()
override;
165 #ifndef ITK_MANUAL_INSTANTIATION
166 # include "itkGrayscaleMorphologicalClosingImageFilter.hxx"