18#ifndef sitkOtsuMultipleThresholdsImageFilter_h
19#define sitkOtsuMultipleThresholdsImageFilter_h
133 std::string
GetName()
const {
return std::string (
"OtsuMultipleThresholdsImageFilter"); }
The Image class for SimpleITK.
Self & SetReturnBinMidpoint(bool ReturnBinMidpoint)
BasicPixelIDTypeList PixelIDTypeList
Self & ValleyEmphasisOff()
uint32_t GetNumberOfHistogramBins() const
Self & SetNumberOfHistogramBins(uint32_t NumberOfHistogramBins)
uint8_t GetLabelOffset() const
Image ExecuteInternal(const Image &image1)
OtsuMultipleThresholdsImageFilter Self
Self & ReturnBinMidpointOff()
std::vector< double > GetThresholds() const
uint8_t GetNumberOfThresholds() const
Self & SetValleyEmphasis(bool ValleyEmphasis)
bool GetReturnBinMidpoint() const
OtsuMultipleThresholdsImageFilter()
Self & SetLabelOffset(uint8_t LabelOffset)
Image(Self::*)(const Image &image1) MemberFunctionType
std::string ToString() const
uint32_t m_NumberOfHistogramBins
Self & ReturnBinMidpointOn()
Self & ValleyEmphasisOn()
virtual ~OtsuMultipleThresholdsImageFilter()
Self & SetNumberOfThresholds(uint8_t NumberOfThresholds)
std::vector< double > m_Thresholds
bool GetValleyEmphasis() const
Image Execute(const Image &image1)
uint8_t m_NumberOfThresholds
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Image OtsuMultipleThresholds(const Image &image1, uint8_t numberOfThresholds=1u, uint8_t labelOffset=0u, uint32_t numberOfHistogramBins=128u, bool valleyEmphasis=false, bool returnBinMidpoint=false)
Threshold an image using multiple Otsu Thresholds.
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