ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryCrossStructuringElement.h>
A Neighborhood that represents a cross structuring element with binary elements.
This class defines a Neighborhood whose elements are either on or off depending on whether they are the face connected neighbors of the neighborhood center when the radii are all 1. The neighorhood is a cross for any size radius. By default, the Neighborhood is defined to be of radii 1 (i.e. 3x3x...). This can be changed explicitly using the SetRadius() method.
Internally, this class carries out all of its computations using the FlatStructuringElement. It is preferable to use that class instead of this one because FlatStructuringElement is more flexible.
Definition at line 53 of file itkBinaryCrossStructuringElement.h.
Public Types | |
using | AllocatorType = TAllocator |
using | ConstIterator = typename AllocatorType::const_iterator |
using | Iterator = typename AllocatorType::iterator |
using | OffsetType = typename Superclass::OffsetType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelType = TPixel |
using | RadiusType = typename Superclass::RadiusType |
using | Self = BinaryCrossStructuringElement |
using | SizeType = typename Superclass::SizeType |
using | SizeValueType = typename Superclass::SizeValueType |
using | SliceIteratorType = SliceIterator< TPixel, Self > |
using | Superclass = Neighborhood< TPixel, VDimension, TAllocator > |
Public Types inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
using | AllocatorType = TAllocator |
using | ConstIterator = typename AllocatorType::const_iterator |
using | DimensionValueType = unsigned int |
using | Iterator = typename AllocatorType::iterator |
using | NeighborIndexType = SizeValueType |
using | OffsetType = Offset< VDimension > |
using | PixelType = TPixel |
using | RadiusType = ::itk::Size< VDimension > |
using | Self = Neighborhood |
using | SizeType = ::itk::Size< VDimension > |
using | SizeValueType = typename SizeType::SizeValueType |
using | SliceIteratorType = SliceIterator< TPixel, Self > |
Static Public Attributes | |
static constexpr unsigned int | NeighborhoodDimension = VDimension |
Static Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
static constexpr unsigned int | NeighborhoodDimension = VDimension |
Additional Inherited Members | |
Protected Member Functions inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
virtual void | Allocate (NeighborIndexType i) |
virtual void | ComputeNeighborhoodOffsetTable () |
virtual void | ComputeNeighborhoodStrideTable () |
virtual void | PrintSelf (std::ostream &, Indent) const |
void | SetSize () |
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::AllocatorType = TAllocator |
External support for allocator type.
Definition at line 62 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::ConstIterator = typename AllocatorType::const_iterator |
Definition at line 74 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::Iterator = typename AllocatorType::iterator |
Iterator type alias support Note the naming is intentional, i.e., AllocatorType::iterator and AllocatorType::const_iterator, because the allocator may be a vnl object or other type, which uses this form.
Definition at line 73 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::OffsetType = typename Superclass::OffsetType |
Offset and value type alias support
Definition at line 81 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::OffsetValueType = typename OffsetType::OffsetValueType |
Definition at line 82 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::PixelType = TPixel |
External support for pixel type.
Definition at line 68 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::RadiusType = typename Superclass::RadiusType |
Radius type alias support
Definition at line 85 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::Self = BinaryCrossStructuringElement |
Standard class type aliases.
Definition at line 58 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::SizeType = typename Superclass::SizeType |
Size and value type alias support
Definition at line 77 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::SizeValueType = typename Superclass::SizeValueType |
Definition at line 78 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::SliceIteratorType = SliceIterator< TPixel, Self > |
External slice iterator type type alias support
Definition at line 88 of file itkBinaryCrossStructuringElement.h.
using itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::Superclass = Neighborhood< TPixel, VDimension, TAllocator > |
Definition at line 59 of file itkBinaryCrossStructuringElement.h.
|
inline |
Default constructor.
Definition at line 91 of file itkBinaryCrossStructuringElement.h.
References itk::Size< VDimension >::Fill().
|
overridedefault |
Default destructor.
|
inline |
Copy constructor.
Definition at line 105 of file itkBinaryCrossStructuringElement.h.
void itk::BinaryCrossStructuringElement< TPixel, VDimension, TAllocator >::CreateStructuringElement | ( | ) |
Build the structuring element
|
inline |
Assignment operator.
Definition at line 110 of file itkBinaryCrossStructuringElement.h.
|
static |
External support for dimensionality.
Definition at line 65 of file itkBinaryCrossStructuringElement.h.