18 #ifndef itkBinaryThresholdImageFilter_h
19 #define itkBinaryThresholdImageFilter_h
66 template <
typename TInput,
typename TOutput>
84 m_LowerThreshold = thresh;
89 m_UpperThreshold = thresh;
94 m_InsideValue = value;
99 m_OutsideValue = value;
117 return !(*
this != other);
123 if (m_LowerThreshold <= A && A <= m_UpperThreshold)
125 return m_InsideValue;
127 return m_OutsideValue;
138 template <
typename TInputImage,
typename TOutputImage>
143 Functor::BinaryThreshold<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
202 GetUpperThreshold()
const;
205 GetUpperThresholdInput();
208 GetUpperThresholdInput()
const;
211 GetLowerThreshold()
const;
214 GetLowerThresholdInput();
217 GetLowerThresholdInput()
const;
219 #ifdef ITK_USE_CONCEPT_CHECKING
232 PrintSelf(std::ostream & os,
Indent indent)
const override;
237 BeforeThreadedGenerateData()
override;
245 #ifndef ITK_MANUAL_INSTANTIATION
246 # include "itkBinaryThresholdImageFilter.hxx"