18 #ifndef sitkConnectedThresholdImageFilter_h
19 #define sitkConnectedThresholdImageFilter_h
60 SITK_RETURN_SELF_TYPE_HEADER
SetSeedList ( std::vector< std::vector<unsigned int> > SeedList ) { this->m_SeedList = std::move(SeedList);
return *
this; }
65 std::vector< std::vector< unsigned int > >
GetSeedList()
const {
return this->m_SeedList; }
67 SITK_RETURN_SELF_TYPE_HEADER
AddSeed( std::vector< unsigned int > point ) { this->m_SeedList.push_back(std::move(point));
return *
this;}
69 SITK_RETURN_SELF_TYPE_HEADER
ClearSeeds( ) { this->m_SeedList.clear();
return *
this;}
75 SITK_RETURN_SELF_TYPE_HEADER
SetLower (
double Lower ) { this->m_Lower = Lower;
return *
this; }
80 double GetLower()
const {
return this->m_Lower; }\
85 SITK_RETURN_SELF_TYPE_HEADER
SetUpper (
double Upper ) { this->m_Upper = Upper;
return *
this; }
90 double GetUpper()
const {
return this->m_Upper; }\
95 SITK_RETURN_SELF_TYPE_HEADER
SetReplaceValue (
uint8_t ReplaceValue ) { this->m_ReplaceValue = ReplaceValue;
return *
this; }
102 typedef enum {FaceConnectivity,FullConnectivity} ConnectivityType;\
115 std::string
GetName()
const {
return std::string (
"ConnectedThresholdImageFilter"); }
118 std::string ToString()
const;
130 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
138 std::vector< std::vector<unsigned int> > m_SeedList{std::vector< std::vector<unsigned int > >()};