18#ifndef sitkThresholdImageFilter_h
19#define sitkThresholdImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetLower (
double Lower ) { this->
m_Lower = Lower;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetUpper (
double Upper ) { this->
m_Upper = Upper;
return *
this; }
99 std::string
GetName()
const {
return std::string (
"ThresholdImageFilter"); }
The Image class for SimpleITK.
void ThresholdBelow(double threshold)
BasicPixelIDTypeList PixelIDTypeList
Image Execute(const Image &image1)
Image ExecuteInternal(const Image &image1)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
ThresholdImageFilter Self
Image(Self::*)(const Image &image1) MemberFunctionType
double GetOutsideValue() const
Self & SetLower(double Lower)
void ThresholdOutside(double lower, double upper)
Self & SetUpper(double Upper)
Self & SetOutsideValue(double OutsideValue)
std::string GetName() const
virtual ~ThresholdImageFilter()
std::string ToString() const
void ThresholdAbove(double threshold)
Image Execute(Image &&image1)
Image Threshold(Image &&image1, double lower=0.0, double upper=1.0, double outsideValue=0.0)
Set image values to a user-specified value if they are below, above, or outside threshold values.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
#define SITKBasicFilters_EXPORT