ITK
5.2.0
Insight Toolkit
|
#include <itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h>
Public Types | |
using | PixelAccessParameterType = PixelType |
Public Member Functions | |
ConstantBoundaryImageNeighborhoodPixelAccessPolicy ()=delete | |
ConstantBoundaryImageNeighborhoodPixelAccessPolicy (const ConstantBoundaryImageNeighborhoodPixelAccessPolicy &)=default | |
ConstantBoundaryImageNeighborhoodPixelAccessPolicy & | operator= (const ConstantBoundaryImageNeighborhoodPixelAccessPolicy &)=delete |
~ConstantBoundaryImageNeighborhoodPixelAccessPolicy ()=default | |
ConstantBoundaryImageNeighborhoodPixelAccessPolicy (const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const IndexType &pixelIndex, const PixelType constant={}) 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 | 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 OffsetType &offsetTable, const IndexType &pixelIndex) noexcept |
static bool | IsInside (const IndexType &pixelIndex, const ImageSizeType &imageSize) noexcept |
Private Attributes | |
const PixelType | m_Constant |
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. Uses a constant as value for pixels outside the image border.
Definition at line 44 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 51 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 56 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 57 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 54 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 49 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 47 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 55 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
using itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::PixelAccessParameterType = PixelType |
This type is necessary to tell the ShapedImageNeighborhoodRange that the constructor accepts a pixel value as (optional) extra parameter.
Definition at line 105 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 48 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
delete |
|
default |
default |
|
inlinenoexcept |
Constructor called directly by the pixel proxy of ShapedImageNeighborhoodRange.
Definition at line 119 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
inlinestaticprivatenoexcept |
Definition at line 91 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension.
|
inlinenoexcept |
Retrieves the pixel value from the image buffer, at the current index. When the index is out of bounds, it returns the constant value specified during construction.
Definition at line 135 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_Constant, itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
inlinestaticprivatenoexcept |
Definition at line 71 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension.
|
delete |
|
inlinenoexcept |
Sets the value of the image buffer at the current index value to the specified value.
Definition at line 143 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
staticconstexprprivate |
Definition at line 52 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::CalculatePixelIndexValue(), and itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::IsInside().
|
private |
Definition at line 66 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue().
|
private |
Definition at line 63 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue(), and itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue().
|
private |
Definition at line 60 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue(), and itk::Experimental::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::SetPixelValue().