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 53 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 60 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 65 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 63 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 58 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 56 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 64 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 57 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 109 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue().
|
inlinestaticprivatenoexcept |
Definition at line 77 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension.
Referenced by itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::BufferedImageNeighborhoodPixelAccessPolicy().
|
inlinenoexcept |
Retrieves the pixel value from the image buffer, at the current index value.
Definition at line 121 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::Experimental::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 129 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
staticconstexprprivate |
Definition at line 61 of file itkBufferedImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::Experimental::BufferedImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue().
|
private |
|
private |