18#ifndef sitkLiThresholdImageFilter_h
19#define sitkLiThresholdImageFilter_h
131 std::string
GetName()
const {
return std::string (
"LiThresholdImageFilter"); }
The Image class for SimpleITK.
uint8_t GetMaskValue() const
Self & SetInsideValue(uint8_t InsideValue)
uint8_t GetInsideValue() const
uint32_t m_NumberOfHistogramBins
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetOutsideValue(uint8_t OutsideValue)
Image Execute(const Image &image, const Image &maskImage)
uint8_t GetOutsideValue() const
uint32_t GetNumberOfHistogramBins() const
Image ExecuteInternal(const Image *image, const Image *maskImage)
std::string GetName() const
Self & SetMaskValue(uint8_t MaskValue)
bool GetMaskOutput() const
Image(Self::*)(const Image *image, const Image *maskImage) MemberFunctionType
Image Execute(const Image &image)
double GetThreshold() const
Get the computed threshold.
Self & SetNumberOfHistogramBins(uint32_t NumberOfHistogramBins)
virtual ~LiThresholdImageFilter()
LiThresholdImageFilter Self
std::string ToString() const
Self & SetMaskOutput(bool MaskOutput)
BasicPixelIDTypeList PixelIDTypeList
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
Image LiThreshold(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 Li Threshold.
#define SITKBasicFilters_EXPORT