18 #ifndef sitkConnectedThresholdImageFilter_h
19 #define sitkConnectedThresholdImageFilter_h
59 SITK_RETURN_SELF_TYPE_HEADER
SetSeedList ( std::vector< std::vector<unsigned int> > SeedList ) { this->m_SeedList = std::move(SeedList);
return *
this; }
64 std::vector< std::vector< unsigned int > >
GetSeedList()
const {
return this->m_SeedList; }
66 SITK_RETURN_SELF_TYPE_HEADER
AddSeed( std::vector< unsigned int >
point ) { this->m_SeedList.push_back(std::move(
point));
return *
this;}
68 SITK_RETURN_SELF_TYPE_HEADER
ClearSeeds( ) { this->m_SeedList.clear();
return *
this;}
74 SITK_RETURN_SELF_TYPE_HEADER
SetLower (
double Lower ) { this->m_Lower = Lower;
return *
this; }
79 double GetLower()
const {
return this->m_Lower; }\
84 SITK_RETURN_SELF_TYPE_HEADER
SetUpper (
double Upper ) { this->m_Upper = Upper;
return *
this; }
89 double GetUpper()
const {
return this->m_Upper; }\
94 SITK_RETURN_SELF_TYPE_HEADER
SetReplaceValue ( uint8_t ReplaceValue ) { this->m_ReplaceValue = ReplaceValue;
return *
this; }
101 typedef enum {FaceConnectivity,FullConnectivity} ConnectivityType;\
114 std::string
GetName()
const {
return std::string (
"ConnectedThresholdImageFilter"); }
117 std::string ToString()
const;
129 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
137 std::vector< std::vector<unsigned int> > m_SeedList{std::vector< std::vector<unsigned int > >()};
145 uint8_t m_ReplaceValue{1u};