18 #ifndef sitkThresholdMaximumConnectedComponentsImageFilter_h
19 #define sitkThresholdMaximumConnectedComponentsImageFilter_h
78 SITK_RETURN_SELF_TYPE_HEADER
SetMinimumObjectSizeInPixels ( uint32_t MinimumObjectSizeInPixels ) { this->m_MinimumObjectSizeInPixels = MinimumObjectSizeInPixels;
return *
this; }
88 SITK_RETURN_SELF_TYPE_HEADER
SetUpperBoundary (
double UpperBoundary ) { this->m_UpperBoundary = UpperBoundary;
return *
this; }
98 SITK_RETURN_SELF_TYPE_HEADER
SetInsideValue ( uint8_t InsideValue ) { this->m_InsideValue = InsideValue;
return *
this; }
108 SITK_RETURN_SELF_TYPE_HEADER
SetOutsideValue ( uint8_t OutsideValue ) { this->m_OutsideValue = OutsideValue;
return *
this; }
116 std::string
GetName()
const {
return std::string (
"ThresholdMaximumConnectedComponentsImageFilter"); }
119 std::string ToString()
const;
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
139 uint32_t m_MinimumObjectSizeInPixels{0u};
141 double m_UpperBoundary{std::numeric_limits<double>::max()};
143 uint8_t m_InsideValue{1u};
145 uint8_t m_OutsideValue{0u};