Go to the documentation of this file.
18 #ifndef sitkGrayscaleDilateImageFilter_h
19 #define sitkGrayscaleDilateImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->m_KernelRadius = std::move(KernelRadius);
return *
this; }
66 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius(
unsigned int value ) { this->m_KernelRadius = std::vector<unsigned int>(3, value);
return *
this; }
71 std::vector<unsigned int>
GetKernelRadius()
const {
return this->m_KernelRadius; }\
84 std::string
GetName()
const {
return std::string (
"GrayscaleDilateImageFilter"); }
87 std::string ToString()
const;
99 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
108 std::vector<unsigned int> m_KernelRadius{std::vector<uint32_t>(3, 1)};
The Image class for SimpleITK.
Self & SetKernelRadius(unsigned int value)
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetKernelType(KernelEnum KernelType)
std::string GetName() const
@ sitkBall
Ball (sphere in 3D, circle in 2D) shaped structuring element.
Image GrayscaleDilate(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall)
Grayscale dilation of an image.
Self & SetKernelRadius(std::vector< unsigned int > KernelRadius)
std::vector< unsigned int > GetKernelRadius() const
#define SITKBasicFilters_EXPORT
BasicPixelIDTypeList PixelIDTypeList
KernelEnum GetKernelType() const
The base interface for SimpleITK filters that take one input image.
Grayscale dilation of an image.
Image(Self::*)(const Image &image1) MemberFunctionType