18 #ifndef sitkErodeObjectMorphologyImageFilter_h
19 #define sitkErodeObjectMorphologyImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetObjectValue (
double ObjectValue ) { this->m_ObjectValue = ObjectValue;
return *
this; }
79 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
86 SITK_RETURN_SELF_TYPE_HEADER SetKernelRadius(
uint32_t r);
95 SITK_RETURN_SELF_TYPE_HEADER SetKernelRadius(
const std::vector<uint32_t> &r );
96 std::vector<uint32_t> GetKernelRadius()
const;
100 SITK_RETURN_SELF_TYPE_HEADER SetKernelType(
KernelEnum t);
102 SITK_RETURN_SELF_TYPE_HEADER SetKernelType(KernelType t);
107 std::string
GetName()
const {
return std::string (
"ErodeObjectMorphologyImageFilter"); }
110 std::string ToString()
const;
118 Image Execute (
const Image& image1,
double objectValue,
double backgroundValue );
125 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
126 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
154 ,
double objectValue = 1,
double backgroundValue = 0 );
165 ,
double objectValue = 1,
double backgroundValue = 0 );
double GetObjectValue() const
#define SITKBasicFilters_EXPORT
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
std::string GetName() const
ErodeObjectMorphologyImageFilter Self
std::vector< uint32_t > m_KernelRadius
Image ErodeObjectMorphology(const Image &, uint32_t radius=1, KernelEnum kernel=sitkBall, double objectValue=1, double backgroundValue=0)
Self & SetBackgroundValue(double BackgroundValue)
Erosion of an object in an image.
double GetBackgroundValue() const
The Image class for SimpleITK.
Self & SetObjectValue(double ObjectValue)
BasicPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory