Go to the documentation of this file.
18 #ifndef sitkGrayscaleConnectedClosingImageFilter_h
19 #define sitkGrayscaleConnectedClosingImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetSeed ( std::vector<uint32_t> Seed ) { this->m_Seed = std::move(Seed);
return *
this; }
73 std::vector<uint32_t>
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); }
90 std::string
GetName()
const {
return std::string (
"GrayscaleConnectedClosingImageFilter"); }
93 std::string ToString()
const;
105 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
113 std::vector<uint32_t> m_Seed{std::vector<uint32_t>(3, 0)};
115 bool m_FullyConnected{
false};
The Image class for SimpleITK.
Image GrayscaleConnectedClosing(const Image &image1, std::vector< uint32_t > seed=std::vector< uint32_t >(3, 0), bool fullyConnected=false)
Enhance pixels associated with a dark object (identified by a seed pixel) where the dark object is su...
Self & SetFullyConnected(bool FullyConnected)
Enhance pixels associated with a dark object (identified by a seed pixel) where the dark object is su...
Image(Self::*)(const Image &image1) MemberFunctionType
std::string GetName() const
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
Self & SetSeed(std::vector< uint32_t > Seed)
Self & FullyConnectedOff()
BasicPixelIDTypeList PixelIDTypeList
std::vector< uint32_t > GetSeed() const
#define SITKBasicFilters_EXPORT
Self & FullyConnectedOn()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
bool GetFullyConnected() const