18#ifndef sitkBinaryErodeImageFilter_h
19#define sitkBinaryErodeImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->
m_KernelRadius = std::move(KernelRadius);
return *
this; }
123 std::string
GetName()
const {
return std::string (
"BinaryErodeImageFilter"); }
KernelEnum GetKernelType() const
bool m_BoundaryToForeground
std::vector< unsigned int > m_KernelRadius
Image(Self::*)(const Image &image1) MemberFunctionType
Image ExecuteInternal(const Image &image1)
Self & SetBoundaryToForeground(bool BoundaryToForeground)
Self & SetKernelRadius(std::vector< unsigned int > KernelRadius)
Self & BoundaryToForegroundOn()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
double GetBackgroundValue() const
virtual ~BinaryErodeImageFilter()
Self & SetKernelRadius(unsigned int value)
std::string ToString() const
IntegerPixelIDTypeList PixelIDTypeList
Self & SetForegroundValue(double ForegroundValue)
Self & SetBackgroundValue(double BackgroundValue)
Self & SetKernelType(KernelEnum KernelType)
Image Execute(const Image &image1)
bool GetBoundaryToForeground() const
double GetForegroundValue() const
BinaryErodeImageFilter Self
std::vector< unsigned int > GetKernelRadius() const
Self & BoundaryToForegroundOff()
The Image class for SimpleITK.
@ sitkBall
Ball (sphere in 3D, circle in 2D) shaped structuring element.
Image BinaryErode(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, bool boundaryToForeground=true)
Fast binary erosion of a single intensity value in the image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
#define SITKBasicFilters_EXPORT