18#ifndef itkFlatStructuringElement_h
19#define itkFlatStructuringElement_h
87template <
unsigned int VDimension>
152 Annulus(
RadiusType radius,
unsigned int thickness = 1,
bool includeCenter =
false,
bool radiusIsParametric =
false);
217 itkBooleanMacro(RadiusIsParametric);
234 template <
unsigned int VDimension3>
241 template <
typename TStructuringElement,
typename TRadius>
263#ifndef ITK_MANUAL_INSTANTIATION
264# include "itkFlatStructuringElement.hxx"
A class to support a variety of flat structuring elements, including versions created by decompositio...
bool GetDecomposable() const
bool CheckParallel(LType NewVec) const
bool GetRadiusIsParametric() const
static void GeneratePolygon(itk::FlatStructuringElement< 3 > &res, itk::Size< 3 > radius, unsigned int lines)
std::vector< LType > DecompType
static void GeneratePolygon(itk::FlatStructuringElement< 2 > &res, itk::Size< 2 > radius, unsigned int lines)
static RadiusType CheckImageSize(const ImageType *image)
void PrintSelf(std::ostream &os, Indent indent) const override
Neighborhood< bool, VDimension > Superclass
Vector< float, 3 > LType3
static Self Cross(RadiusType radius)
FlatStructuringElement< VDimension > Self
Vector< float, 2 > LType2
static constexpr unsigned int NeighborhoodDimension
static void GeneratePolygon(TStructuringElement &res, TRadius radius, unsigned int lines)
bool m_RadiusIsParametric
StructuringElementFacet< VDimension > FacetType
const DecompType & GetLines() const
~FlatStructuringElement() override=default
static Self FromImage(const ImageType *image)
static Self Ball(RadiusType radius, bool radiusIsParametric=false)
void ComputeBufferFromLines()
static Self Polygon(RadiusType radius, unsigned int lines)
static Self Annulus(RadiusType radius, unsigned int thickness=1, bool includeCenter=false, bool radiusIsParametric=false)
void SetDecomposable(bool v)
Vector< float, VDimension > LType
static Self Box(RadiusType radius)
typename itk::Image< PixelType, VDimension > ImageType
StructuringElementFacet< 3 > FacetType3
void SetRadiusIsParametric(bool flag)
Templated n-dimensional image class.
Control indentation during Print() invocation.
itk::Size< VDimension > RadiusType
typename AllocatorType::iterator Iterator
itk::Size< VDimension > SizeType
SliceIterator< bool, Self > SliceIteratorType
typename AllocatorType::const_iterator ConstIterator
Offset< VDimension > OffsetType
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Vector< float, VDimension3 > P1
Vector< float, VDimension3 > P3
Vector< float, VDimension3 > P2
Represent a n-dimensional size (bounds) of a n-dimensional image.