18 #ifndef sitkBinaryClosingByReconstructionImageFilter_h
19 #define sitkBinaryClosingByReconstructionImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->m_KernelRadius = std::move(KernelRadius);
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius(
unsigned int value ) { this->m_KernelRadius = std::vector<unsigned int>(3, value);
return *
this; }
76 std::vector<unsigned int>
GetKernelRadius()
const {
return this->m_KernelRadius; }\
91 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
101 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
113 std::string
GetName()
const {
return std::string (
"BinaryClosingByReconstructionImageFilter"); }
116 std::string ToString()
const;
128 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
137 std::vector<unsigned int> m_KernelRadius{std::vector<uint32_t>(3, 1)};
141 double m_ForegroundValue{1.0};
144 bool m_FullyConnected{
false};