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 42 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 49 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 54 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 55 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 52 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 47 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 45 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 53 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
using itk::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 103 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
private |
Definition at line 46 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
delete |
|
default |
|
default |
|
inlinenoexcept |
Constructor called directly by the pixel proxy of ShapedImageNeighborhoodRange.
Definition at line 117 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
|
inlinestaticprivatenoexcept |
Definition at line 89 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::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 133 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_Constant, itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
inlinestaticprivatenoexcept |
Definition at line 69 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::ImageDimension.
|
delete |
|
inlinenoexcept |
Sets the value of the image buffer at the current index value to the specified value.
Definition at line 141 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
References itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_NeighborhoodAccessor, and itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::m_PixelIndexValue.
|
staticconstexprprivate |
|
private |
Definition at line 64 of file itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h.
Referenced by itk::ConstantBoundaryImageNeighborhoodPixelAccessPolicy< TImage >::GetPixelValue().
|
private |
|
private |