18 #ifndef itkClampImageFilter_h
19 #define itkClampImageFilter_h
41 template<
typename TInput,
typename TOutput = TInput >
72 #ifdef ITK_USE_CONCEPT_CHECKING
89 template<
typename TInput,
typename TOutput >
95 const auto dA =
static_cast< double >( A );
97 if ( dA < m_LowerBound )
102 if ( dA > m_UpperBound )
137 template <
typename TInputImage,
typename TOutputImage>
140 Functor::Clamp< typename TInputImage::PixelType,
141 typename TOutputImage::PixelType > >
150 typename TOutputImage::PixelType > >;
177 void GenerateData()
override;
179 void PrintSelf(std::ostream & os,
Indent indent)
const override;
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkClampImageFilter.hxx"
bool operator==(const Index< VDimension > &one, const Index< VDimension > &two)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Casts input pixels to output pixel type and clamps the output pixel values to a specified range...
Base class for all process objects that output image data.
bool operator!=(const Index< VDimension > &one, const Index< VDimension > &two)
Functor used to clamp a value to a specified range.
OutputType operator()(const InputType &A) const
typename TInputImage::PixelType InputPixelType
typename TOutputImage::PixelType OutputPixelType
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
TOutputImage::PixelType OutputType
TInputImage::PixelType InputType
#define itkConceptMacro(name, concept)