itkGetConstMacro( Outside, InternalPixelType);
itkSetMacro( ErosionPaddingValue, OutputPixelType);
itkGetConstMacro( ErosionPaddingValue, OutputPixelType);
- void SetRadius ( const SizeType& s){ m_Radius=s; this->Modified();}
+ void SetRadius ( const SizeType& s) { m_Radius=s; this->Modified();}
SizeType GetRadius(void){return m_Radius;}
+ void SetRadius(const int r) { for(uint i=0; i<InputImageDimension; i++) m_Radius[i] = r; SetRadius(m_Radius); }
itkSetMacro( NumberOfNewLabels, unsigned int);
itkGetConstMacro( NumberOfNewLabels, unsigned int);
itkSetMacro( MinimumObjectSize, unsigned int);
itkSetMacro( Verbose, bool);
itkGetConstReferenceMacro( Verbose, bool);
void SetRadius ( const SizeType& s){ m_Radius=s; this->Modified();}
+ void SetRadius(const int r) { for(uint i=0; i<InputImageDimension; i++) m_Radius[i] = r; SetRadius(m_Radius); }
SizeType GetRadius(void){return m_Radius;}
itkSetMacro( ErosionPaddingValue, OutputPixelType);
itkGetConstMacro( ErosionPaddingValue, OutputPixelType)