18 #ifndef sitkErodeObjectMorphologyImageFilter_h
19 #define sitkErodeObjectMorphologyImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->m_KernelRadius = std::move(KernelRadius);
return *
this; }
70 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius(
unsigned int value ) { this->m_KernelRadius = std::vector<unsigned int>(3, value);
return *
this; }
75 std::vector<unsigned int>
GetKernelRadius()
const {
return this->m_KernelRadius; }\
89 SITK_RETURN_SELF_TYPE_HEADER
SetObjectValue (
double ObjectValue ) { this->m_ObjectValue = ObjectValue;
return *
this; }
98 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
106 std::string
GetName()
const {
return std::string (
"ErodeObjectMorphologyImageFilter"); }
109 std::string ToString()
const;
121 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
130 std::vector<unsigned int> m_KernelRadius{std::vector<uint32_t>(3, 1)};
135 double m_ObjectValue{1};
137 double m_BackgroundValue{0};