18 #ifndef itkWhiteTopHatImageFilter_h
19 #define itkWhiteTopHatImageFilter_h
40 template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
68 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
69 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
73 #if !defined(ITK_LEGACY_REMOVE)
78 static constexpr AlgorithmType BASIC = AlgorithmEnum::BASIC;
79 static constexpr AlgorithmType HISTO = AlgorithmEnum::HISTO;
80 static constexpr AlgorithmType ANCHOR = AlgorithmEnum::ANCHOR;
81 static constexpr AlgorithmType VHGW = AlgorithmEnum::VHGW;
92 itkSetMacro(SafeBorder,
bool);
93 itkGetConstReferenceMacro(SafeBorder,
bool);
94 itkBooleanMacro(SafeBorder);
102 itkSetMacro(ForceAlgorithm,
bool);
103 itkGetConstReferenceMacro(ForceAlgorithm,
bool);
104 itkBooleanMacro(ForceAlgorithm);
110 PrintSelf(std::ostream & os,
Indent indent)
const override;
113 GenerateData()
override;
120 bool m_ForceAlgorithm{};
124 #ifndef ITK_MANUAL_INSTANTIATION
125 # include "itkWhiteTopHatImageFilter.hxx"