ITK
5.2.0
Insight Toolkit
|
#include <itkBufferedImageNeighborhoodPixelAccessPolicy.h>
Public Member Functions | |
BufferedImageNeighborhoodPixelAccessPolicy ()=delete | |
BufferedImageNeighborhoodPixelAccessPolicy (const BufferedImageNeighborhoodPixelAccessPolicy &) noexcept=default | |
BufferedImageNeighborhoodPixelAccessPolicy & | operator= (const BufferedImageNeighborhoodPixelAccessPolicy &)=delete |
~BufferedImageNeighborhoodPixelAccessPolicy ()=default | |
BufferedImageNeighborhoodPixelAccessPolicy (const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex) noexcept | |
PixelType | GetPixelValue (const InternalPixelType *const imageBufferPointer) const noexcept |
void | SetPixelValue (InternalPixelType *const imageBufferPointer, const PixelType &pixelValue) const noexcept |
Private Types | |
using | ImageDimensionType = typename TImage::ImageDimensionType |
using | ImageSizeType = Size< ImageDimension > |
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 |
Private Attributes | |
const NeighborhoodAccessorFunctorType & | m_NeighborhoodAccessor |
const IndexValueType | m_PixelIndexValue |
Static Private Attributes | |
static constexpr ImageDimensionType | ImageDimension = TImage::ImageDimension |
ImageNeighborhoodPixelAccessPolicy class for ShapedImageNeighborhoodRange. Allows getting and setting the value of a pixel, located in a specified neighborhood location, at a specified offset. Assumes that the pixel index is within the buffered region.
Definition at line 50 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 57 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 62 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 60 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 55 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 53 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 61 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 54 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
delete |
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Constructor called directly by the pixel proxy of ShapedImageNeighborhoodRange.
pixelIndex
is assumed to be in the buffered region. Definition at line 106 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue().
|
inlinestaticprivatenoexcept |
Definition at line 74 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension.
Referenced by itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::BufferedImageNeighborhoodPixelAccessPolicy().
|
inlinenoexcept |
Retrieves the pixel value from the image buffer, at the current index value.
Definition at line 118 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
delete |
|
inlinenoexcept |
Sets the value of the image buffer at the current index value to the specified value.
Definition at line 126 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
staticconstexprprivate |
Definition at line 58 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue().
|
private |
Definition at line 68 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue(), and itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue().
|
private |
Definition at line 65 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue(), and itk::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue().