18#ifndef itkBinaryCrossStructuringElement_h
19#define itkBinaryCrossStructuringElement_h
51template <
typename TPixel,
unsigned int VDimension = 2,
typename TAllocator = NeighborhoodAllocator<TPixel>>
63 static constexpr unsigned int NeighborhoodDimension = VDimension;
71 using Iterator =
typename AllocatorType::iterator;
92 auto radius = MakeFilled<RadiusType>(1);
93 Self::SetRadius(radius);
94 Self::CreateStructuringElement();
110 Superclass::operator=(other);
124#ifndef ITK_MANUAL_INSTANTIATION
125# include "itkBinaryCrossStructuringElement.hxx"
Pixel-wise addition of two images.
A Neighborhood that represents a cross structuring element with binary elements.
typename AllocatorType::iterator Iterator
typename OffsetType::OffsetValueType OffsetValueType
~BinaryCrossStructuringElement() override=default
Self & operator=(const Self &other)
BinaryCrossStructuringElement()
BinaryCrossStructuringElement(const Self &other)
typename AllocatorType::const_iterator ConstIterator
void CreateStructuringElement()
A light-weight container object for storing an N-dimensional neighborhood of values.
A flexible iterator for itk containers(i.e. itk::Neighborhood) that support pixel access through oper...
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType