Go to the documentation of this file.
18 #ifndef sitkGrayscaleConnectedOpeningImageFilter_h
19 #define sitkGrayscaleConnectedOpeningImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetSeed (
const std::vector<unsigned int> & Seed ) { this->m_Seed = Seed;
return *
this; }
73 std::vector<unsigned int>
GetSeed()
const {
return this->m_Seed; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
89 std::string
GetName()
const {
return std::string (
"GrayscaleConnectedOpeningImageFilter"); }
92 std::string ToString()
const;
100 Image Execute (
const Image& image1,
const std::vector<unsigned int> & seed,
bool fullyConnected );
107 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
The main Image class for SimpleITK.
Self & FullyConnectedOn()
std::vector< unsigned int > GetSeed() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image GrayscaleConnectedOpening(const Image &image1, const std::vector< unsigned int > &seed=std::vector< unsigned int >(3, 0), bool fullyConnected=false)
Enhance pixels associated with a bright object (identified by a seed pixel) where the bright object i...
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
GrayscaleConnectedOpeningImageFilter Self
std::string GetName() const
Self & SetSeed(const std::vector< unsigned int > &Seed)
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
bool GetFullyConnected() const
std::vector< unsigned int > m_Seed
Self & FullyConnectedOff()
Self & SetFullyConnected(bool FullyConnected)
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
Enhance pixels associated with a bright object (identified by a seed pixel) where the bright object i...