18 #ifndef sitkThresholdMaximumConnectedComponentsImageFilter_h
19 #define sitkThresholdMaximumConnectedComponentsImageFilter_h
86 SITK_RETURN_SELF_TYPE_HEADER
SetUpperBoundary (
double UpperBoundary ) { this->m_UpperBoundary = UpperBoundary;
return *
this; }
96 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue (
uint8_t InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
106 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue (
uint8_t OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
113 std::string
GetName()
const {
return std::string (
"ThresholdMaximumConnectedComponentsImageFilter"); }
116 std::string ToString()
const;
130 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetInsideValue(uint8_t InsideValue)
Self & SetUpperBoundary(double UpperBoundary)
ThresholdMaximumConnectedComponentsImageFilter Self
ScalarPixelIDTypeList PixelIDTypeList
uint8_t GetInsideValue() const
uint8_t GetOutsideValue() const
Self & SetMinimumObjectSizeInPixels(uint32_t MinimumObjectSizeInPixels)
uint32_t GetMinimumObjectSizeInPixels() const
The Image class for SimpleITK.
double GetUpperBoundary() const
Image ThresholdMaximumConnectedComponents(const Image &image1, uint32_t minimumObjectSizeInPixels=0u, double upperBoundary=std::numeric_limits< double >::max(), uint8_t insideValue=1u, uint8_t outsideValue=0u)
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
BasicPixelIDTypeList ScalarPixelIDTypeList
Finds the threshold value of an image based on maximizing the number of objects in the image that are...
std::string GetName() const
uint32_t m_MinimumObjectSizeInPixels
The base interface for SimpleITK filters that take one input image.
Self & SetOutsideValue(uint8_t OutsideValue)