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