Go to the documentation of this file.
18 #ifndef sitkDilateObjectMorphologyImageFilter_h
19 #define sitkDilateObjectMorphologyImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius ( std::vector<unsigned int> KernelRadius ) { this->m_KernelRadius = std::move(KernelRadius);
return *
this; }
69 SITK_RETURN_SELF_TYPE_HEADER
SetKernelRadius(
unsigned int value ) { this->m_KernelRadius = std::vector<unsigned int>(3, value);
return *
this; }
74 std::vector<unsigned int>
GetKernelRadius()
const {
return this->m_KernelRadius; }\
88 SITK_RETURN_SELF_TYPE_HEADER
SetObjectValue (
double ObjectValue ) { this->m_ObjectValue = ObjectValue;
return *
this; }
95 std::string
GetName()
const {
return std::string (
"DilateObjectMorphologyImageFilter"); }
98 std::string ToString()
const;
110 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
119 std::vector<unsigned int> m_KernelRadius{std::vector<uint32_t>(3, 1)};
124 double m_ObjectValue{1};
The Image class for SimpleITK.
Image DilateObjectMorphology(const Image &image1, std::vector< unsigned int > kernelRadius=std::vector< uint32_t >(3, 1), KernelEnum kernelType=itk::simple::sitkBall, double objectValue=1)
dilation of an object in an image
KernelEnum GetKernelType() const
Image(Self::*)(const Image &image1) MemberFunctionType
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
Self & SetObjectValue(double ObjectValue)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
dilation of an object in an image
@ sitkBall
Ball (sphere in 3D, circle in 2D) shaped structuring element.
#define SITKBasicFilters_EXPORT
Self & SetKernelType(KernelEnum KernelType)
Self & SetKernelRadius(unsigned int value)
std::string GetName() const
std::vector< unsigned int > GetKernelRadius() const
The base interface for SimpleITK filters that take one input image.
BasicPixelIDTypeList PixelIDTypeList
double GetObjectValue() const
Self & SetKernelRadius(std::vector< unsigned int > KernelRadius)