ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryBallStructuringElement.h>
A Neighborhood that represents a ball structuring element (ellipsoid) with binary elements.
This class defines a Neighborhood whose elements are either off or on depending on whether they are outside or inside an ellipsoid whose radii match the radii of the Neighborhood. This class can be used as a structuring element for the Morphology image filters.
A BinaryBallStructuringElement has an N-dimensional radius. The radius is defined separately for each dimension as the number of pixels that the neighborhood extends outward from the center pixel. For example, a 2D BinaryBallStructuringElement object with a radius of 2x3 has sides of length 5x7.
BinaryBallStructuringElement objects always have an unambiguous center because their side lengths are always odd.
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 63 of file itkBinaryBallStructuringElement.h.
Public Types | |
using | AllocatorType = TAllocator |
using | ConstIterator = typename AllocatorType::const_iterator |
using | Iterator = typename AllocatorType::iterator |
using | PixelType = TPixel |
using | RadiusType = typename Superclass::RadiusType |
using | Self = BinaryBallStructuringElement |
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::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::AllocatorType = TAllocator |
External support for allocator type.
Definition at line 72 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::ConstIterator = typename AllocatorType::const_iterator |
Definition at line 84 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< 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 83 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::PixelType = TPixel |
External support for pixel type.
Definition at line 78 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::RadiusType = typename Superclass::RadiusType |
Radius type alias support
Definition at line 91 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Self = BinaryBallStructuringElement |
Standard class type aliases.
Definition at line 68 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SizeType = typename Superclass::SizeType |
Size and value type alias support
Definition at line 87 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SizeValueType = typename Superclass::SizeValueType |
Definition at line 88 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SliceIteratorType = SliceIterator< TPixel, Self > |
External slice iterator type type alias support
Definition at line 94 of file itkBinaryBallStructuringElement.h.
using itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Superclass = Neighborhood< TPixel, VDimension, TAllocator > |
Definition at line 69 of file itkBinaryBallStructuringElement.h.
|
default |
Default constructor.
|
overridedefault |
Default destructor.
|
inline |
Copy constructor.
Definition at line 103 of file itkBinaryBallStructuringElement.h.
void itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::CreateStructuringElement | ( | ) |
Build the structuring element
|
inline |
Assignment operator.
Definition at line 108 of file itkBinaryBallStructuringElement.h.
|
static |
External support for dimensionality.
Definition at line 75 of file itkBinaryBallStructuringElement.h.