18 #ifndef itkBinaryThresholdImageFilter_h
19 #define itkBinaryThresholdImageFilter_h
66 template <
typename TInput,
typename TOutput>
74 m_OutsideValue = TOutput{};
84 m_LowerThreshold = thresh;
89 m_UpperThreshold = thresh;
94 m_InsideValue = value;
99 m_OutsideValue = value;
116 if (m_LowerThreshold <= A && A <= m_UpperThreshold)
118 return m_InsideValue;
120 return m_OutsideValue;
131 template <
typename TInputImage,
typename TOutputImage>
136 Functor::BinaryThreshold<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
195 GetUpperThreshold()
const;
198 GetUpperThresholdInput();
201 GetUpperThresholdInput()
const;
204 GetLowerThreshold()
const;
207 GetLowerThresholdInput();
210 GetLowerThresholdInput()
const;
212 #ifdef ITK_USE_CONCEPT_CHECKING
225 PrintSelf(std::ostream & os,
Indent indent)
const override;
230 BeforeThreadedGenerateData()
override;
238 #ifndef ITK_MANUAL_INSTANTIATION
239 # include "itkBinaryThresholdImageFilter.hxx"