ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage > Class Template Referencefinal

#include <itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h>

Detailed Description

template<typename TImage>
class itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >

ImageNeighborhoodPixelAccessPolicy class for ShapedImageNeighborhoodRange. Allows getting and setting the value of a pixel, located in a specified neighborhood location, at a specified offset. Uses "border replication" as extrapolation method for pixels outside the image border.

See also
ShapedNeighborhoodIterator
ZeroFluxNeumannBoundaryCondition

Definition at line 42 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.

Public Member Functions

PixelType GetPixelValue (const InternalPixelType *const imageBufferPointer) const noexcept
 
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicyoperator= (const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &)=delete
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ()=delete
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy (const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy &) noexcept=default
 
 ~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ()=default
 
 ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy (const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept
 
void SetPixelValue (InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept
 

Private Types

using ImageDimensionType = typename TImage::ImageDimensionType
 
using ImageSizeType = Size<ImageDimension>
 
using ImageSizeValueType = SizeValueType
 
using IndexType = Index<ImageDimension>
 
using InternalPixelType = typename TImage::InternalPixelType
 
using NeighborhoodAccessorFunctorType = typename TImage::NeighborhoodAccessorFunctorType
 
using OffsetType = Offset<ImageDimension>
 
using PixelType = typename TImage::PixelType
 

Static Private Member Functions

static IndexValueType CalculatePixelIndexValue (const ImageSizeType &imageSize, const OffsetType &offsetTable, const IndexType &pixelIndex) noexcept
 
static IndexValueType GetClampedIndexValue (const IndexValueType indexValue, const ImageSizeValueType imageSizeValue) noexcept
 

Private Attributes

const NeighborhoodAccessorFunctorTypem_NeighborhoodAccessor
 
const IndexValueType m_PixelIndexValue
 

Static Private Attributes

static constexpr ImageDimensionType ImageDimension = TImage::ImageDimension
 

Member Typedef Documentation

◆ ImageDimensionType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimensionType = typename TImage::ImageDimensionType
private

◆ ImageSizeType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageSizeType = Size<ImageDimension>
private

◆ ImageSizeValueType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageSizeValueType = SizeValueType
private

◆ IndexType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::IndexType = Index<ImageDimension>
private

◆ InternalPixelType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::InternalPixelType = typename TImage::InternalPixelType
private

◆ NeighborhoodAccessorFunctorType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::NeighborhoodAccessorFunctorType = typename TImage::NeighborhoodAccessorFunctorType
private

◆ OffsetType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::OffsetType = Offset<ImageDimension>
private

◆ PixelType

template<typename TImage>
using itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::PixelType = typename TImage::PixelType
private

Constructor & Destructor Documentation

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [1/3]

◆ ~ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy()

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [2/3]

template<typename TImage>
itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ( const ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage > & )
defaultnoexcept

◆ ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy() [3/3]

template<typename TImage>
itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy ( const ImageSizeType & imageSize,
const OffsetType & offsetTable,
const NeighborhoodAccessorFunctorType & neighborhoodAccessor,
const IndexType & pixelIndex )
inlinenoexcept

Constructor called directly by the pixel proxy of ShapedImageNeighborhoodRange.

Definition at line 104 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.

References CalculatePixelIndexValue(), and m_PixelIndexValue.

Member Function Documentation

◆ CalculatePixelIndexValue()

template<typename TImage>
static IndexValueType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue ( const ImageSizeType & imageSize,
const OffsetType & offsetTable,
const IndexType & pixelIndex )
inlinestaticprivatenoexcept

◆ GetClampedIndexValue()

template<typename TImage>
static IndexValueType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetClampedIndexValue ( const IndexValueType indexValue,
const ImageSizeValueType imageSizeValue )
inlinestaticprivatenoexcept

◆ GetPixelValue()

template<typename TImage>
PixelType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue ( const InternalPixelType *const imageBufferPointer) const
inlinenoexcept

Retrieves the pixel value from the image buffer, at the current index value.

Definition at line 116 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.

References m_NeighborhoodAccessor, and m_PixelIndexValue.

◆ operator=()

◆ SetPixelValue()

template<typename TImage>
void itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue ( InternalPixelType *const imageBufferPointer,
const PixelType & pixelValue ) const
inlinenoexcept

Sets the value of the image buffer at the current index value to the specified value.

Definition at line 124 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.

References m_NeighborhoodAccessor, and m_PixelIndexValue.

Member Data Documentation

◆ ImageDimension

template<typename TImage>
ImageDimensionType itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension = TImage::ImageDimension
staticconstexprprivate

◆ m_NeighborhoodAccessor

template<typename TImage>
const NeighborhoodAccessorFunctorType& itk::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor
private

◆ m_PixelIndexValue


The documentation for this class was generated from the following file: