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