18 #ifndef sitkClampImageFilter_h
19 #define sitkClampImageFilter_h
77 SITK_RETURN_SELF_TYPE_HEADER
SetLowerBound (
double LowerBound ) { this->m_LowerBound = LowerBound;
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetUpperBound (
double UpperBound ) { this->m_UpperBound = UpperBound;
return *
this; }
91 std::string
GetName()
const {
return std::string (
"ClampImageFilter"); }
94 std::string ToString()
const;
107 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
110 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image& image1 );
112 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternalVector (
const Image& image1 );
PixelIDValueEnum m_OutputPixelType
#define SITKBasicFilters_EXPORT
Casts input pixels to output pixel type and clamps the output pixel values to a specified range...
BasicPixelIDTypeList PixelIDTypeList
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetLowerBound(double LowerBound)
PixelIDValueEnum
Enumerated values of pixelIDs.
PixelIDValueEnum GetOutputPixelType() const
Image Clamp(const Image &image1, PixelIDValueEnum outputPixelType=itk::simple::sitkUnknown, double lowerBound=-std::numeric_limits< double >::max(), double upperBound=std::numeric_limits< double >::max())
Casts input pixels to output pixel type and clamps the output pixel values to a specified range...
The Image class for SimpleITK.
double GetLowerBound() const
double GetUpperBound() const
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
nsstd::auto_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Self & SetUpperBound(double UpperBound)
The base interface for SimpleITK filters that take one input image.
std::string GetName() const