Go to the documentation of this file.
18 #ifndef sitkBinaryFillholeImageFilter_h
19 #define sitkBinaryFillholeImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
84 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
91 std::string
GetName()
const {
return std::string (
"BinaryFillholeImageFilter"); }
94 std::string ToString()
const;
102 Image Execute (
const Image& image1,
bool fullyConnected,
double foregroundValue );
109 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
The main Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & FullyConnectedOn()
BinaryFillholeImageFilter Self
Self & SetFullyConnected(bool FullyConnected)
std::string GetName() const
Self & SetForegroundValue(double ForegroundValue)
Self & FullyConnectedOff()
double GetForegroundValue() const
#define SITKBasicFilters_EXPORT
IntegerPixelIDTypeList PixelIDTypeList
Remove holes not connected to the boundary of the image.
bool GetFullyConnected() const
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
Image BinaryFillhole(const Image &image1, bool fullyConnected=false, double foregroundValue=1.0)
Remove holes not connected to the boundary of the image.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList