18#ifndef sitkBinaryDilateImageFilter_h
19#define sitkBinaryDilateImageFilter_h
96 std::vector<unsigned int>
153 std::string
GetName()
const {
return std::string(
"BinaryDilateImageFilter"); }
199 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 =
false
std::vector< unsigned int > m_KernelRadius
void SetForegroundValue(double ForegroundValue)
std::string ToString() const
BinaryDilateImageFilter()
double GetBackgroundValue() const
void SetBackgroundValue(double BackgroundValue)
void SetBoundaryToForeground(bool BoundaryToForeground)
void BoundaryToForegroundOff()
virtual ~BinaryDilateImageFilter()
std::string GetName() const
IntegerPixelIDTypeList PixelIDTypeList
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image(Self::*)(const Image &image1) MemberFunctionType
void SetKernelRadius(unsigned int value)
Image ExecuteInternal(const Image &image1)
KernelEnum GetKernelType() const
void BoundaryToForegroundOn()
double GetForegroundValue() const
void SetKernelType(KernelEnum KernelType)
void SetKernelRadius(std::vector< unsigned int > KernelRadius)
Image Execute(const Image &image1)
bool m_BoundaryToForeground
std::vector< unsigned int > GetKernelRadius() const
BinaryDilateImageFilter Self
bool GetBoundaryToForeground() const
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
Image BinaryDilate(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=false)
Fast binary dilation of a single intensity value in the 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