|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFlatStructuringElement_h
19 #define itkFlatStructuringElement_h
87 template <
unsigned int VDimension>
88 class ITK_TEMPLATE_EXPORT FlatStructuringElement :
public Neighborhood<bool, VDimension>
115 static constexpr
unsigned int NeighborhoodDimension = VDimension;
129 m_Decomposable =
false;
130 m_RadiusIsParametric =
false;
140 Box(RadiusType radius);
144 Ball(RadiusType radius,
bool radiusIsParametric =
false);
148 Cross(RadiusType radius);
152 Annulus(RadiusType radius,
unsigned int thickness = 1,
bool includeCenter =
false,
bool radiusIsParametric =
false);
160 Polygon(RadiusType radius,
unsigned lines);
170 return m_Decomposable;
188 m_Lines.push_back(l);
193 CheckParallel(LType NewVec)
const;
200 ComputeBufferFromLines();
210 return m_RadiusIsParametric;
215 m_RadiusIsParametric = flag;
217 itkBooleanMacro(RadiusIsParametric);
223 FromImage(
const ImageType * image);
227 PrintSelf(std::ostream & os,
Indent indent)
const override;
234 template <
unsigned int VDimension3>
241 template <
typename TStructuringElement,
typename TRadius>
243 GeneratePolygon(TStructuringElement & res, TRadius radius,
unsigned lines);
261 #ifndef ITK_MANUAL_INSTANTIATION
262 # include "itkFlatStructuringElement.hxx"
void SetDecomposable(bool v)
Represent a n-dimensional size (bounds) of a n-dimensional image.
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
typename Superclass::ConstIterator ConstIterator
typename Superclass::Iterator Iterator
A class to support a variety of flat structuring elements, including versions created by decompositio...
typename itk::Image< PixelType, VDimension > ImageType
std::vector< LType > DecompType
typename Superclass::RadiusType RadiusType
A templated class holding a n-Dimensional vector.
ImageBaseType::SizeType SizeType
typename Superclass::SizeType SizeType
typename Superclass::SliceIteratorType SliceIteratorType
Control indentation during Print() invocation.
void SetRadiusIsParametric(bool flag)
const DecompType & GetLines() const
typename AllocatorType::iterator Iterator
typename Superclass::OffsetType OffsetType
typename AllocatorType::const_iterator ConstIterator
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.
Vector< float, VDimension3 > P3
Compute the cross product of two vectors of dimension 3, independently of the type of the values of v...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename Superclass::PixelType PixelType
Templated n-dimensional image class.
bool m_RadiusIsParametric
bool GetRadiusIsParametric() const
bool GetDecomposable() const