ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage > Class Template Referencefinal

#include <itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h>

Detailed Description

template<typename TImage>
class itk::Experimental::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 44 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
NeighborhoodAccessorFunctorType
m_NeighborhoodAccessor
 
const IndexValueType m_PixelIndexValue
 

Static Private Attributes

static constexpr ImageDimensionType ImageDimension = TImage::ImageDimension
 

Member Typedef Documentation

template<typename TImage >
using itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimensionType = typename TImage::ImageDimensionType
private
template<typename TImage >
using itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::InternalPixelType = typename TImage::InternalPixelType
private
template<typename TImage >
using itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::NeighborhoodAccessorFunctorType = typename TImage::NeighborhoodAccessorFunctorType
private
template<typename TImage >
using itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::PixelType = typename TImage::PixelType
private

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TImage >
static IndexValueType itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue ( const ImageSizeType imageSize,
const OffsetType offsetTable,
const IndexType pixelIndex 
)
inlinestaticprivatenoexcept
template<typename TImage >
static IndexValueType itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetClampedIndexValue ( const IndexValueType  indexValue,
const ImageSizeValueType  imageSizeValue 
)
inlinestaticprivatenoexcept
template<typename TImage >
PixelType itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue ( const InternalPixelType *const  imageBufferPointer) const
inlinenoexcept
template<typename TImage >
void itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue ( InternalPixelType *const  imageBufferPointer,
const PixelType pixelValue 
) const
inlinenoexcept

Member Data Documentation

template<typename TImage >
constexpr ImageDimensionType itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension = TImage::ImageDimension
staticprivate
template<typename TImage >
const NeighborhoodAccessorFunctorType& itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor
private
template<typename TImage >
const IndexValueType itk::Experimental::ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue
private

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