18 #ifndef itkBlackTopHatImageFilter_h
19 #define itkBlackTopHatImageFilter_h
42 template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
70 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
71 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
75 #if !defined(ITK_LEGACY_REMOVE)
80 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
81 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
82 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
83 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
94 itkSetMacro(SafeBorder,
bool);
95 itkGetConstReferenceMacro(SafeBorder,
bool);
96 itkBooleanMacro(SafeBorder);
104 itkSetMacro(ForceAlgorithm,
bool);
105 itkGetConstReferenceMacro(ForceAlgorithm,
bool);
106 itkBooleanMacro(ForceAlgorithm);
112 PrintSelf(std::ostream & os,
Indent indent)
const override;
115 GenerateData()
override;
122 bool m_ForceAlgorithm{};
126 #ifndef ITK_MANUAL_INSTANTIATION
127 # include "itkBlackTopHatImageFilter.hxx"