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 );
126 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
154 ,
double objectValue = 1,
double backgroundValue = 0 );
165 ,
double objectValue = 1,
double backgroundValue = 0 );