18 #ifndef sitkBinaryDilateImageFilter_h
19 #define sitkBinaryDilateImageFilter_h
75 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
91 SITK_RETURN_SELF_TYPE_HEADER
SetBoundaryToForeground (
bool BoundaryToForeground ) { this->m_BoundaryToForeground = BoundaryToForeground;
return *
this; }
101 SITK_RETURN_SELF_TYPE_HEADER SetKernelRadius(
uint32_t r);
110 SITK_RETURN_SELF_TYPE_HEADER SetKernelRadius(
const std::vector<uint32_t> &r );
111 std::vector<uint32_t> GetKernelRadius()
const;
115 SITK_RETURN_SELF_TYPE_HEADER SetKernelType(
KernelEnum t);
117 SITK_RETURN_SELF_TYPE_HEADER SetKernelType(KernelType t);
122 std::string
GetName()
const {
return std::string (
"BinaryDilateImageFilter"); }
125 std::string ToString()
const;
133 Image Execute (
const Image& image1,
double backgroundValue,
double foregroundValue,
bool boundaryToForeground );
140 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
141 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
172 ,
double backgroundValue = 0.0,
double foregroundValue = 1.0,
bool boundaryToForeground =
false );
183 ,
double backgroundValue = 0.0,
double foregroundValue = 1.0,
bool boundaryToForeground =
false );
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
bool m_BoundaryToForeground
#define SITKBasicFilters_EXPORT
BinaryDilateImageFilter Self
Image BinaryDilate(const Image &, uint32_t radius=1, KernelEnum kernel=sitkBall, double backgroundValue=0.0, double foregroundValue=1.0, bool boundaryToForeground=false)
Self & SetBackgroundValue(double BackgroundValue)
Self & SetBoundaryToForeground(bool BoundaryToForeground)
double GetBackgroundValue() const
std::string GetName() const
std::vector< uint32_t > m_KernelRadius
The Image class for SimpleITK.
Self & BoundaryToForegroundOff()
IntegerPixelIDTypeList PixelIDTypeList
bool GetBoundaryToForeground() const
Self & SetForegroundValue(double ForegroundValue)
Self & BoundaryToForegroundOn()
double GetForegroundValue() const
The base interface for SimpleITK filters that take one input image.