19#ifndef itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy_h
20#define itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy_h
41template <
typename TImage>
69 return (indexValue <= 0) ? 0
typename TImage::InternalPixelType InternalPixelType
const NeighborhoodAccessorFunctorType & m_NeighborhoodAccessor
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy(const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept
SizeValueType ImageSizeValueType
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy(const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &) noexcept=default
~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()=default
void SetPixelValue(InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
typename TImage::PixelType PixelType
static constexpr ImageDimensionType ImageDimension
static IndexValueType GetClampedIndexValue(const IndexValueType indexValue, const ImageSizeValueType imageSizeValue) noexcept
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy & operator=(const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &)=delete
typename TImage::ImageDimensionType ImageDimensionType
PixelType GetPixelValue(const InternalPixelType *const imageBufferPointer) const noexcept
typename TImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
const IndexValueType m_PixelIndexValue
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()=delete
static IndexValueType CalculatePixelIndexValue(const ImageSizeType &imageSize, const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Represent a n-dimensional index in a n-dimensional image.