18 #ifndef sitkVectorConfidenceConnectedImageFilter_h
19 #define sitkVectorConfidenceConnectedImageFilter_h
64 SITK_RETURN_SELF_TYPE_HEADER
SetSeedList ( std::vector< std::vector<unsigned int> > SeedList ) { this->m_SeedList = std::move(SeedList);
return *
this; }
69 std::vector< std::vector< unsigned int > >
GetSeedList()
const {
return this->m_SeedList; }
71 SITK_RETURN_SELF_TYPE_HEADER
AddSeed( std::vector< unsigned int > point ) { this->m_SeedList.push_back(std::move(point));
return *
this;}
73 SITK_RETURN_SELF_TYPE_HEADER
ClearSeeds( ) { this->m_SeedList.clear();
return *
this;}
79 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfIterations (
unsigned int NumberOfIterations ) { this->m_NumberOfIterations = NumberOfIterations;
return *
this; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetMultiplier (
double Multiplier ) { this->m_Multiplier = Multiplier;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetInitialNeighborhoodRadius (
unsigned int InitialNeighborhoodRadius ) { this->m_InitialNeighborhoodRadius = InitialNeighborhoodRadius;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetReplaceValue (
uint8_t ReplaceValue ) { this->m_ReplaceValue = ReplaceValue;
return *
this; }
121 std::vector<double>
GetMean()
const {
return this->m_Mean; };
133 std::string
GetName()
const {
return std::string (
"VectorConfidenceConnectedImageFilter"); }
136 std::string ToString()
const;
148 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
156 std::vector< std::vector<unsigned int> > m_SeedList{std::vector< std::vector<unsigned int > >()};
158 unsigned int m_NumberOfIterations{4u};
160 double m_Multiplier{4.5};
162 unsigned int m_InitialNeighborhoodRadius{1u};
167 std::vector<double> m_Mean{std::vector<double>()};
169 std::vector<double> m_Covariance{std::vector<double>()};