![Logo](itkLogoSmall.png) |
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy_h
20 #define itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy_h
28 namespace Experimental
43 template <
typename TImage>
71 return (indexValue <= 0) ? 0
72 : (static_cast<ImageSizeValueType>(indexValue) < imageSizeValue)
74 : static_cast<IndexValueType>(imageSizeValue - 1);
82 const IndexType & pixelIndex) ITK_NOEXCEPT
102 ITK_NOEXCEPT =
default;
109 const IndexType & pixelIndex) ITK_NOEXCEPT
typename TImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
Represent a n-dimensional index in a n-dimensional image.
static IndexValueType CalculatePixelIndexValue(const ImageSizeType &imageSize, const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
typename TImage::InternalPixelType InternalPixelType
static IndexValueType GetClampedIndexValue(const IndexValueType indexValue, const ImageSizeValueType imageSizeValue) noexcept
static constexpr ImageDimensionType ImageDimension
PixelType GetPixelValue(const InternalPixelType *const imageBufferPointer) const noexcept
SizeValueType ImageSizeValueType
~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()=default
typename TImage::ImageDimensionType ImageDimensionType
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy & operator=(const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &)=delete
const NeighborhoodAccessorFunctorType & m_NeighborhoodAccessor
typename TImage::PixelType PixelType
void SetPixelValue(InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
const IndexValueType m_PixelIndexValue
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy(const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()=delete
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
signed long IndexValueType
unsigned long SizeValueType