18 #ifndef sitkBinaryDilateImageFilter_h
19 #define sitkBinaryDilateImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->m_KernelRadius = std::move(KernelRadius);
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius(
unsigned int value ) { this->m_KernelRadius = std::vector<unsigned int>(3, value);
return *
this; }
82 std::vector<unsigned int>
GetKernelRadius()
const {
return this->m_KernelRadius; }\
96 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetBoundaryToForeground (
bool BoundaryToForeground ) { this->m_BoundaryToForeground = BoundaryToForeground;
return *
this; }
123 std::string
GetName()
const {
return std::string (
"BinaryDilateImageFilter"); }
126 std::string ToString()
const;
138 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
147 std::vector<unsigned int> m_KernelRadius{std::vector<uint32_t>(3, 1)};
152 double m_BackgroundValue{0.0};
155 double m_ForegroundValue{1.0};
158 bool m_BoundaryToForeground{
false};