18 #ifndef sitkConnectedThresholdImageFilter_h
19 #define sitkConnectedThresholdImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetLower (
double Lower ) { this->m_Lower = Lower;
return *
this; }
66 double GetLower()
const {
return this->m_Lower; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetUpper (
double Upper ) { this->m_Upper = Upper;
return *
this; }
76 double GetUpper()
const {
return this->m_Upper; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetReplaceValue (
uint8_t ReplaceValue ) { this->m_ReplaceValue = ReplaceValue;
return *
this; }
88 typedef enum {FaceConnectivity,FullConnectivity} ConnectivityType;
100 SITK_RETURN_SELF_TYPE_HEADER
SetSeedList (
const std::vector< std::vector<unsigned int> > &t )
102 this->m_SeedList = t;
return *
this;
108 return this->m_SeedList;
114 this->m_SeedList.clear();
119 SITK_RETURN_SELF_TYPE_HEADER
SetSeed(
const std::vector<unsigned int> &idx )
121 this->m_SeedList.clear();
122 this->m_SeedList.push_back(idx);
127 SITK_RETURN_SELF_TYPE_HEADER
AddSeed(
const std::vector<unsigned int> &idx )
129 this->m_SeedList.push_back(idx);
134 std::string
GetName()
const {
return std::string (
"ConnectedThresholdImageFilter"); }
137 std::string ToString()
const;
152 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );