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