18#ifndef sitkYenThresholdImageFilter_h
19#define sitkYenThresholdImageFilter_h
131 std::string
GetName()
const {
return std::string (
"YenThresholdImageFilter"); }
The Image class for SimpleITK.
Image Execute(const Image &image)
uint32_t GetNumberOfHistogramBins() const
uint8_t GetOutsideValue() const
Self & SetInsideValue(uint8_t InsideValue)
uint8_t GetMaskValue() const
Self & SetMaskOutput(bool MaskOutput)
Self & SetOutsideValue(uint8_t OutsideValue)
std::string GetName() const
Image ExecuteInternal(const Image *image, const Image *maskImage)
bool GetMaskOutput() const
Self & SetMaskValue(uint8_t MaskValue)
YenThresholdImageFilter Self
YenThresholdImageFilter()
BasicPixelIDTypeList PixelIDTypeList
std::string ToString() const
Self & SetNumberOfHistogramBins(uint32_t NumberOfHistogramBins)
Image(Self::*)(const Image *image, const Image *maskImage) MemberFunctionType
double GetThreshold() const
Get the computed threshold.
virtual ~YenThresholdImageFilter()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image Execute(const Image &image, const Image &maskImage)
uint32_t m_NumberOfHistogramBins
uint8_t GetInsideValue() const
Image YenThreshold(const Image &image, const Image &maskImage, uint8_t insideValue=1u, uint8_t outsideValue=0u, uint32_t numberOfHistogramBins=256u, bool maskOutput=true, uint8_t maskValue=255u)
Threshold an image using the Yen Threshold.
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