![Logo](itkLogoSmall.png) |
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkBufferedImageNeighborhoodPixelAccessPolicy_h
20 #define itkBufferedImageNeighborhoodPixelAccessPolicy_h
30 namespace Experimental
52 template <
typename TImage>
84 const IndexType & pixelIndex) ITK_NOEXCEPT
90 const auto pixelIndexValue = pixelIndex[i];
91 assert((pixelIndexValue >= 0) && (static_cast<SizeValueType>(pixelIndexValue) < imageSize[i]));
92 result += pixelIndexValue * offsetTable[i];
112 const IndexType & pixelIndex) ITK_NOEXCEPT
static IndexValueType CalculatePixelIndexValue(const ImageSizeType &imageSize, const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
BufferedImageNeighborhoodPixelAccessPolicy(const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept
Represent a n-dimensional index in a n-dimensional image.
PixelType GetPixelValue(const InternalPixelType *const imageBufferPointer) const noexcept
const IndexValueType m_PixelIndexValue
BufferedImageNeighborhoodPixelAccessPolicy & operator=(const BufferedImageNeighborhoodPixelAccessPolicy &)=delete
const NeighborhoodAccessorFunctorType & m_NeighborhoodAccessor
void SetPixelValue(InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
typename TImage::InternalPixelType InternalPixelType
~BufferedImageNeighborhoodPixelAccessPolicy()=default
static constexpr ImageDimensionType ImageDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TImage::PixelType PixelType
typename TImage::ImageDimensionType ImageDimensionType
signed long IndexValueType
typename TImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
BufferedImageNeighborhoodPixelAccessPolicy()=delete