Go to the documentation of this file.
18 #ifndef sitkGrayscaleErodeImageFilter_h
19 #define sitkGrayscaleErodeImageFilter_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 (
"GrayscaleErodeImageFilter"); }
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.
Image(Self::*)(const Image &image1) MemberFunctionType
Image GrayscaleErode(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall)
Grayscale erosion of an image.
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
KernelEnum GetKernelType() const
Grayscale erosion of an image.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
BasicPixelIDTypeList PixelIDTypeList
@ sitkBall
Ball (sphere in 3D, circle in 2D) shaped structuring element.
std::vector< unsigned int > GetKernelRadius() const
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
Self & SetKernelType(KernelEnum KernelType)
std::string GetName() const
Self & SetKernelRadius(unsigned int value)
Self & SetKernelRadius(std::vector< unsigned int > KernelRadius)