19 #ifndef itkConstantBoundaryImageNeighborhoodPixelAccessPolicy_h
20 #define itkConstantBoundaryImageNeighborhoodPixelAccessPolicy_h
28 namespace Experimental
43 template <
typename TImage>
85 (static_cast<ImageSizeValueType>(indexValue) < imageSize[i]);
101 result += pixelIndex[i] * offsetTable[i];
127 const PixelType constant = {}) ITK_NOEXCEPT
~ConstantBoundaryImageNeighborhoodPixelAccessPolicy()=default
SizeValueType ImageSizeValueType
const PixelType m_Constant
Represent a n-dimensional index in a n-dimensional image.
unsigned long SizeValueType
ConstantBoundaryImageNeighborhoodPixelAccessPolicy()=delete
ConstantBoundaryImageNeighborhoodPixelAccessPolicy(const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex, const PixelType constant={}) noexcept
PixelType PixelAccessParameterType
ConstantBoundaryImageNeighborhoodPixelAccessPolicy & operator=(const ConstantBoundaryImageNeighborhoodPixelAccessPolicy &)=delete
void SetPixelValue(InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
static IndexValueType CalculatePixelIndexValue(const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
const IndexValueType m_PixelIndexValue
const NeighborhoodAccessorFunctorType & m_NeighborhoodAccessor
signed long IndexValueType
typename TImage::InternalPixelType InternalPixelType
static constexpr ImageDimensionType ImageDimension
PixelType GetPixelValue(const InternalPixelType *const imageBufferPointer) const noexcept
static bool IsInside(const IndexType &pixelIndex, const ImageSizeType &imageSize) noexcept
typename TImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
typename TImage::ImageDimensionType ImageDimensionType
typename TImage::PixelType PixelType