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; }
74 SITK_RETURN_SELF_TYPE_HEADER
SetLower (
double Lower ) { this->
m_Lower = Lower;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetUpper (
double Upper ) { this->
m_Upper = Upper;
return *
this; }
114 std::string
GetName()
const {
return std::string (
"ConnectedThresholdImageFilter"); }
137 std::vector< std::vector<unsigned int> >
m_SeedList{std::vector< std::vector<unsigned int > >()};
Self & AddSeed(std::vector< unsigned int > point)
Add SeedList point.
Image(Self::*)(const Image &image1) MemberFunctionType
std::vector< std::vector< unsigned int > > GetSeedList() const
Get list of seeds.
std::vector< std::vector< unsigned int > > m_SeedList
Self & SetSeedList(std::vector< std::vector< unsigned int > > SeedList)
Set list of image indexes for seeds.
std::string ToString() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetUpper(double Upper)
ConnectivityType m_Connectivity
Self & SetLower(double Lower)
uint8_t GetReplaceValue() const
ConnectivityType GetConnectivity() const
Self & ClearSeeds()
Remove all SeedList points.
virtual ~ConnectedThresholdImageFilter()
Self & SetConnectivity(ConnectivityType Connectivity)
ConnectedThresholdImageFilter Self
Image ExecuteInternal(const Image &image1)
Image Execute(const Image &image1)
ConnectedThresholdImageFilter()
BasicPixelIDTypeList PixelIDTypeList
std::string GetName() const
Self & SetReplaceValue(uint8_t ReplaceValue)
The Image class for SimpleITK.
Image ConnectedThreshold(const Image &image1, std::vector< std::vector< unsigned int > > seedList=std::vector< std::vector< unsigned int > >(), double lower=0, double upper=1, uint8_t replaceValue=1u, ConnectedThresholdImageFilter::ConnectivityType connectivity=itk::simple::ConnectedThresholdImageFilter::FaceConnectivity)
Label pixels that are connected to a seed and lie within a range of values.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents
#define SITKBasicFilters_EXPORT