![Logo](itkLogoSmall.png) |
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkConstantBoundaryImageNeighborhoodPixelAccessPolicy_h
20 #define itkConstantBoundaryImageNeighborhoodPixelAccessPolicy_h
28 namespace Experimental
43 template <
typename TImage>
82 result = result && (indexValue >= 0) && (static_cast<ImageSizeValueType>(indexValue) < imageSize[i]);
97 result += pixelIndex[i] * offsetTable[i];
123 const PixelType constant = {}) ITK_NOEXCEPT
typename TImage::NeighborhoodAccessorFunctorType NeighborhoodAccessorFunctorType
Represent a n-dimensional index in a n-dimensional image.
SizeValueType ImageSizeValueType
static bool IsInside(const IndexType &pixelIndex, const ImageSizeType &imageSize) noexcept
typename TImage::PixelType PixelType
typename TImage::ImageDimensionType ImageDimensionType
static IndexValueType CalculatePixelIndexValue(const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
static constexpr ImageDimensionType ImageDimension
~ConstantBoundaryImageNeighborhoodPixelAccessPolicy()=default
void SetPixelValue(InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
typename TImage::InternalPixelType InternalPixelType
ConstantBoundaryImageNeighborhoodPixelAccessPolicy(const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex, const PixelType constant={}) noexcept
PixelType GetPixelValue(const InternalPixelType *const imageBufferPointer) const noexcept
const PixelType m_Constant
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
signed long IndexValueType
const NeighborhoodAccessorFunctorType & m_NeighborhoodAccessor
ConstantBoundaryImageNeighborhoodPixelAccessPolicy()=delete
ConstantBoundaryImageNeighborhoodPixelAccessPolicy & operator=(const ConstantBoundaryImageNeighborhoodPixelAccessPolicy &)=delete
const IndexValueType m_PixelIndexValue
unsigned long SizeValueType
PixelType PixelAccessParameterType