ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryBallStructuringElement.h>
Public Types | |
typedef TAllocator | AllocatorType |
typedef AllocatorType::const_iterator | ConstIterator |
typedef AllocatorType::iterator | Iterator |
typedef TPixel | PixelType |
typedef Superclass::RadiusType | RadiusType |
typedef BinaryBallStructuringElement | Self |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SizeValueType | SizeValueType |
typedef SliceIterator< TPixel, Self > | SliceIteratorType |
typedef Neighborhood< TPixel, VDimension, TAllocator > | Superclass |
Public Types inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
typedef unsigned int | DimensionValueType |
typedef SizeValueType | NeighborIndexType |
typedef Offset< VDimension > | OffsetType |
Static Public Attributes | |
static const unsigned int | NeighborhoodDimension = VDimension |
Static Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > |
Additional Inherited Members | |
Public Attributes inherited from itk::Neighborhood< TPixel, VDimension, TAllocator > | |
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 () |
A Neighborhood that represents a ball structuring element (ellipsoid) with binary elements.
This class defines a Neighborhood whose elements are either 0 or 1 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.
Definition at line 59 of file itkBinaryBallStructuringElement.h.
typedef TAllocator itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::AllocatorType |
External support for allocator type.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 68 of file itkBinaryBallStructuringElement.h.
typedef AllocatorType::const_iterator itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::ConstIterator |
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 80 of file itkBinaryBallStructuringElement.h.
typedef AllocatorType::iterator itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Iterator |
Iterator typedef 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.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 79 of file itkBinaryBallStructuringElement.h.
typedef TPixel itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::PixelType |
External support for pixel type.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 74 of file itkBinaryBallStructuringElement.h.
typedef Superclass::RadiusType itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::RadiusType |
Radius typedef support.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 87 of file itkBinaryBallStructuringElement.h.
typedef BinaryBallStructuringElement itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Self |
Standard class typedefs.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 64 of file itkBinaryBallStructuringElement.h.
typedef Superclass::SizeType itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SizeType |
Size and value typedef support.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 83 of file itkBinaryBallStructuringElement.h.
typedef Superclass::SizeValueType itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SizeValueType |
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 84 of file itkBinaryBallStructuringElement.h.
typedef SliceIterator< TPixel, Self > itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::SliceIteratorType |
External slice iterator type typedef support.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 90 of file itkBinaryBallStructuringElement.h.
typedef Neighborhood< TPixel, VDimension, TAllocator > itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Superclass |
Definition at line 65 of file itkBinaryBallStructuringElement.h.
|
inline |
Default constructor.
Definition at line 93 of file itkBinaryBallStructuringElement.h.
|
inlinevirtual |
Default destructor.
Definition at line 96 of file itkBinaryBallStructuringElement.h.
|
inline |
Copy constructor.
Definition at line 99 of file itkBinaryBallStructuringElement.h.
void itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::CreateStructuringElement | ( | ) |
Build the structuring element
|
inline |
Assignment operator.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 104 of file itkBinaryBallStructuringElement.h.
|
static |
External support for dimensionality.
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 71 of file itkBinaryBallStructuringElement.h.