#include <itkBinaryBallStructuringElement.h>
Inheritance diagram for itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >:
Public Types | |
typedef BinaryBallStructuringElement | Self |
typedef Neighborhood< TPixel, VDimension, TAllocator > | Superclass |
typedef TAllocator | AllocatorType |
typedef TPixel | PixelType |
typedef AllocatorType::iterator | Iterator |
typedef AllocatorType::const_iterator | ConstIterator |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SizeValueType | SizeValueType |
typedef Superclass::RadiusType | RadiusType |
typedef SliceIterator< TPixel, Self > | SliceIteratorType |
Public Member Functions | |
itkStaticConstMacro (NeighborhoodDimension, unsigned int, VDimension) | |
BinaryBallStructuringElement () | |
virtual | ~BinaryBallStructuringElement () |
BinaryBallStructuringElement (const Self &other) | |
void | CreateStructuringElement () |
Self & | operator= (const Self &other) |
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 52 of file itkBinaryBallStructuringElement.h.
|
External support for allocator type. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 61 of file itkBinaryBallStructuringElement.h. |
|
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 73 of file itkBinaryBallStructuringElement.h. |
|
Iterator typedef support. Note the naming is intentional, i.e., ::iterator and ::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 72 of file itkBinaryBallStructuringElement.h. |
|
External support for pixel type. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 67 of file itkBinaryBallStructuringElement.h. |
|
Radius typedef support. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 80 of file itkBinaryBallStructuringElement.h. |
|
Standard class typedefs. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 57 of file itkBinaryBallStructuringElement.h. Referenced by itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::BinaryBallStructuringElement(), and itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::operator=(). |
|
Size and value typedef support. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 76 of file itkBinaryBallStructuringElement.h. |
|
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 77 of file itkBinaryBallStructuringElement.h. |
|
External slice iterator type typedef support. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 83 of file itkBinaryBallStructuringElement.h. |
|
Definition at line 58 of file itkBinaryBallStructuringElement.h. |
|
Default constructor. Definition at line 86 of file itkBinaryBallStructuringElement.h. |
|
Default destructor. Definition at line 89 of file itkBinaryBallStructuringElement.h. |
|
Copy constructor. Definition at line 92 of file itkBinaryBallStructuringElement.h. References itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Self. |
|
Build the structuring element |
|
External support for dimensionality. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. |
|
Assignment operator. Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >. Definition at line 98 of file itkBinaryBallStructuringElement.h. References itk::BinaryBallStructuringElement< TPixel, VDimension, TAllocator >::Self. |