#include <itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h>
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.
Definition at line 42 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
Public Member Functions | |
PixelType | GetPixelValue (const InternalPixelType *const imageBufferPointer) const noexcept |
ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy & | operator= (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 |
|
private |
Definition at line 49 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 54 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 55 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 52 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 47 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 45 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 53 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 46 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
|
delete |
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Constructor called directly by the pixel proxy of ShapedImageNeighborhoodRange.
Definition at line 104 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
References CalculatePixelIndexValue(), and m_PixelIndexValue.
|
inlinestaticprivatenoexcept |
Definition at line 78 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
References GetClampedIndexValue(), and ImageDimension.
Referenced by ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy().
|
inlinestaticprivatenoexcept |
Definition at line 67 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
Referenced by CalculatePixelIndexValue().
|
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.
|
delete |
|
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.
|
staticconstexprprivate |
Definition at line 50 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
Referenced by CalculatePixelIndexValue().
|
private |
Definition at line 61 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
Referenced by GetPixelValue(), and SetPixelValue().
|
private |
Definition at line 58 of file itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h.
Referenced by GetPixelValue(), SetPixelValue(), and ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy().