18#ifndef sitkBinaryMorphologicalOpeningImageFilter_h
19#define sitkBinaryMorphologicalOpeningImageFilter_h
86 std::vector<unsigned int>
130 std::string
GetName()
const {
return std::string(
"BinaryMorphologicalOpeningImageFilter"); }
174 const Image &image1, std::vector<unsigned int> kernelRadius = std::vector<uint32_t>(3, 1),
KernelEnum kernelType =
itk::simple::sitkBall,
double backgroundValue = 0.0,
double foregroundValue = 1.0
std::string GetName() const
Image(Self::*)(const Image &image1) MemberFunctionType
KernelEnum GetKernelType() const
Image Execute(const Image &image1)
virtual ~BinaryMorphologicalOpeningImageFilter()
BinaryMorphologicalOpeningImageFilter()
double GetBackgroundValue() const
void SetBackgroundValue(double BackgroundValue)
void SetForegroundValue(double ForegroundValue)
Image ExecuteInternal(const Image &image1)
void SetKernelRadius(std::vector< unsigned int > KernelRadius)
std::string ToString() const
std::vector< unsigned int > GetKernelRadius() const
double GetForegroundValue() const
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
void SetKernelRadius(unsigned int value)
BinaryMorphologicalOpeningImageFilter Self
IntegerPixelIDTypeList PixelIDTypeList
void SetKernelType(KernelEnum KernelType)
std::vector< unsigned int > m_KernelRadius
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
Image BinaryMorphologicalOpening(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall, double backgroundValue=0.0, double foregroundValue=1.0)
binary morphological opening 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