18 #ifndef itkGrayscaleMorphologicalOpeningImageFilter_h
19 #define itkGrayscaleMorphologicalOpeningImageFilter_h
50 template <
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;
112 SetKernel(
const KernelType & kernel)
override;
123 Modified()
const override;
127 itkSetMacro(SafeBorder,
bool);
128 itkGetConstReferenceMacro(SafeBorder,
bool);
129 itkBooleanMacro(SafeBorder);
136 PrintSelf(std::ostream & os,
Indent indent)
const override;
139 GenerateData()
override;
160 bool m_SafeBorder{
true };
164 #ifndef ITK_MANUAL_INSTANTIATION
165 # include "itkGrayscaleMorphologicalOpeningImageFilter.hxx"