18#ifndef itkShapedNeighborhoodIterator_h
19#define itkShapedNeighborhoodIterator_h
148template <
typename TImage,
typename TBoundaryCondition = ZeroFluxNeumannBoundaryCondition<TImage>>
149class ITK_TEMPLATE_EXPORT ShapedNeighborhoodIterator
150 :
public ConstShapedNeighborhoodIterator<TImage, TBoundaryCondition>
155 using PixelType =
typename TImage::PixelType;
158 static constexpr unsigned int Dimension = TImage::ImageDimension;
192 ConstIterator::operator=(o);
200 ConstIterator::ProtectedSet(v);
206 Iterator(
const Self * s,
const typename IndexListType::const_iterator & li)
228 using Superclass::SetPixel;
229 using Superclass::SetCenterPixel;
234 operator=(
const Self & orig)
236 Superclass::operator=(orig);
246 return Iterator(
this, this->m_ActiveIndexList.begin());
251 return Iterator(
this, this->m_ActiveIndexList.end());
255 using Superclass::Begin;
256 using Superclass::End;
Pixel-wise addition of two images.
typename AllocatorType::const_iterator ConstIterator
Const version of ShapedNeighborhoodIterator, defining iteration of a local N-dimensional neighborhood...
TBoundaryCondition BoundaryConditionType
typename NeighborhoodType::NeighborIndexType NeighborIndexType
std::list< NeighborIndexType > IndexListType
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
A light-weight container object for storing an N-dimensional neighborhood of values.
A neighborhood iterator which can take on an arbitrary shape.
typename TImage::RegionType RegionType
typename OffsetType::OffsetValueType OffsetValueType
typename TImage::PixelType PixelType
typename TImage::InternalPixelType InternalPixelType
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
constexpr unsigned int Dimension
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType