18#ifndef sitkBinaryMorphologicalClosingImageFilter_h
19#define sitkBinaryMorphologicalClosingImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->
m_KernelRadius = std::move(KernelRadius);
return *
this; }
113 std::string
GetName()
const {
return std::string (
"BinaryMorphologicalClosingImageFilter"); }
std::string GetName() const
virtual ~BinaryMorphologicalClosingImageFilter()
Image ExecuteInternal(const Image &image1)
BinaryMorphologicalClosingImageFilter()
Self & SetKernelRadius(unsigned int value)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::vector< unsigned int > m_KernelRadius
std::string ToString() const
double GetForegroundValue() const
bool GetSafeBorder() const
Self & SetSafeBorder(bool SafeBorder)
KernelEnum GetKernelType() const
Self & SetKernelRadius(std::vector< unsigned int > KernelRadius)
IntegerPixelIDTypeList PixelIDTypeList
std::vector< unsigned int > GetKernelRadius() const
BinaryMorphologicalClosingImageFilter Self
Self & SetForegroundValue(double ForegroundValue)
Self & SetKernelType(KernelEnum KernelType)
Image Execute(const Image &image1)
Image(Self::*)(const Image &image1) MemberFunctionType
The Image class for SimpleITK.
Image BinaryMorphologicalClosing(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall, double foregroundValue=1.0, bool safeBorder=true)
binary morphological closing of an image.
@ sitkBall
Ball (sphere in 3D, circle in 2D) shaped structuring element.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT