18 #ifndef itkClampImageFilter_h
19 #define itkClampImageFilter_h
42 template <
typename TInput,
typename TOutput = TInput>
59 GetLowerBound()
const;
61 GetUpperBound()
const;
73 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(
Self);
78 #ifdef ITK_USE_CONCEPT_CHECKING
91 template <
typename TInput,
typename TOutput>
95 const auto dA = static_cast<double>(A);
97 if (dA < m_LowerBound)
102 if (dA > m_UpperBound)
107 return static_cast<OutputType>(A);
138 template <
typename TInputImage,
typename TOutputImage>
142 Functor::Clamp<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
167 GetLowerBound()
const;
169 GetUpperBound()
const;
183 GenerateData()
override;
186 PrintSelf(std::ostream & os,
Indent indent)
const override;
191 #ifndef ITK_MANUAL_INSTANTIATION
192 # include "itkClampImageFilter.hxx"