18#ifndef sitkBinaryMorphologicalClosingImageFilter_h
19#define sitkBinaryMorphologicalClosingImageFilter_h
86 std::vector<unsigned int>
136 std::string
GetName()
const {
return std::string(
"BinaryMorphologicalClosingImageFilter"); }
180 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
std::string GetName() const
virtual ~BinaryMorphologicalClosingImageFilter()
Image ExecuteInternal(const Image &image1)
BinaryMorphologicalClosingImageFilter()
void SetKernelRadius(std::vector< unsigned int > KernelRadius)
std::vector< unsigned int > m_KernelRadius
void SetKernelType(KernelEnum KernelType)
std::string ToString() const
double GetForegroundValue() const
bool GetSafeBorder() const
KernelEnum GetKernelType() const
IntegerPixelIDTypeList PixelIDTypeList
std::vector< unsigned int > GetKernelRadius() const
void SetForegroundValue(double ForegroundValue)
BinaryMorphologicalClosingImageFilter Self
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image(Self::*)(const Image &image1) MemberFunctionType
void SetSafeBorder(bool SafeBorder)
void SetKernelRadius(unsigned int value)
Image Execute(const Image &image1)
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
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