18 #ifndef sitkOtsuMultipleThresholdsImageFilter_h
19 #define sitkOtsuMultipleThresholdsImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfThresholds (
uint8_t NumberOfThresholds ) { this->m_NumberOfThresholds = NumberOfThresholds;
return *
this; }
80 SITK_RETURN_SELF_TYPE_HEADER
SetLabelOffset (
uint8_t LabelOffset ) { this->m_LabelOffset = LabelOffset;
return *
this; }
100 SITK_RETURN_SELF_TYPE_HEADER
SetValleyEmphasis (
bool ValleyEmphasis ) { this->m_ValleyEmphasis = ValleyEmphasis;
return *
this; }
113 SITK_RETURN_SELF_TYPE_HEADER
SetReturnBinMidpoint (
bool ReturnBinMidpoint ) { this->m_ReturnBinMidpoint = ReturnBinMidpoint;
return *
this; }
132 std::string
GetName()
const {
return std::string (
"OtsuMultipleThresholdsImageFilter"); }
135 std::string ToString()
const;
147 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
162 bool m_ValleyEmphasis{
false};
164 bool m_ReturnBinMidpoint{
false};
167 std::vector<double> m_Thresholds{std::vector<double>()};