18 #ifndef itkNeighborhoodAccessorFunctor_h
19 #define itkNeighborhoodAccessorFunctor_h
40 template<
typename TImage >
51 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
54 template<
typename TOutput=ImageType>
68 return ( *pixelPointer );
77 template <
typename TOutput>
78 inline typename ImageBoundaryConditionType<TOutput>::OutputPixelType
85 return boundaryCondition->operator()(point_index, boundary_offset, data);
void Set(InternalPixelType *const pixelPointer, const PixelType &p) const
ImageBoundaryConditionType< TOutput >::OutputPixelType BoundaryCondition(const OffsetType &point_index, const OffsetType &boundary_offset, const NeighborhoodType *data, const ImageBoundaryConditionType< TOutput > *boundaryCondition) const
typename ImageType::InternalPixelType InternalPixelType
A light-weight container object for storing an N-dimensional neighborhood of values.
PixelType Get(const InternalPixelType *pixelPointer) const
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
void SetBegin(const InternalPixelType *)
unsigned int VectorLengthType
A virtual base object that defines an interface to a class of boundary condition objects for use by n...
VectorLengthType SetVectorLength()
void SetVectorLength(VectorLengthType)
typename ImageType::OffsetType OffsetType
typename ImageType::PixelType PixelType