18#ifndef sitkDoubleThresholdImageFilter_h
19#define sitkDoubleThresholdImageFilter_h
138 std::string
GetName()
const {
return std::string (
"DoubleThresholdImageFilter"); }
188 SITKBasicFilters_EXPORT Image DoubleThreshold (
const Image& image1,
double threshold1 = 0.0,
double threshold2 = 1.0,
double threshold3 = 254.0,
double threshold4 = 255.0, uint8_t insideValue = 1u, uint8_t outsideValue = 0u,
bool fullyConnected =
false );
double GetThreshold4() const
BasicPixelIDTypeList PixelIDTypeList
Self & SetInsideValue(uint8_t InsideValue)
std::string ToString() const
double GetThreshold1() const
uint8_t GetInsideValue() const
Self & SetThreshold3(double Threshold3)
bool GetFullyConnected() const
std::string GetName() const
Self & SetFullyConnected(bool FullyConnected)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & FullyConnectedOff()
DoubleThresholdImageFilter()
Self & SetThreshold1(double Threshold1)
Image(Self::*)(const Image &image1) MemberFunctionType
double GetThreshold2() const
Self & SetThreshold2(double Threshold2)
DoubleThresholdImageFilter Self
Image ExecuteInternal(const Image &image1)
Self & SetOutsideValue(uint8_t OutsideValue)
Self & SetThreshold4(double Threshold4)
virtual ~DoubleThresholdImageFilter()
Image Execute(const Image &image1)
double GetThreshold3() const
uint8_t GetOutsideValue() const
Self & FullyConnectedOn()
The Image class for SimpleITK.
Image DoubleThreshold(const Image &image1, double threshold1=0.0, double threshold2=1.0, double threshold3=254.0, double threshold4=255.0, uint8_t insideValue=1u, uint8_t outsideValue=0u, bool fullyConnected=false)
Binarize an input image using double thresholding.
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