MeVisLab Toolbox Reference
|
Template class to create an itk structured element from an ML kernel. More...
#include <mlITKKernelSupport.h>
Public Types | |
typedef MLITKStructuringElementBase | Self |
Standard self typedef. | |
typedef Neighborhood< TPixel, VDimension, TAllocator > | Superclass |
Standard super class typedef. | |
typedef TAllocator | AllocatorType |
External support for allocator type. | |
typedef TPixel | PixelType |
External support for pixel type. | |
typedef AllocatorType::iterator | Iterator |
Iterator typedef support. | |
typedef AllocatorType::const_iterator | ConstIterator |
typedef Superclass::SizeType | SizeType |
Size and value typedef support. | |
typedef Superclass::SizeValueType | SizeValueType |
typedef Superclass::OffsetType | OffsetType |
Offset and value typedef support. | |
typedef OffsetType::OffsetValueType | OffsetValueType |
typedef Superclass::RadiusType | RadiusType |
Radius typedef support. | |
typedef SliceIterator< TPixel, Self > | SliceIteratorType |
External slice iterator type typedef support. | |
Public Member Functions | |
itkStaticConstMacro (NeighborhoodDimension, unsigned int, VDimension) | |
External support for dimensionality. | |
MLITKStructuringElementBase () | |
Default constructor. | |
MLITKStructuringElementBase (const ml::Kernel &kernel) | |
Convenience constructor directly from the ML kernel. | |
virtual | ~MLITKStructuringElementBase () |
Default destructor. Only superclass stuff is done. | |
MLITKStructuringElementBase (const Self &other) | |
Copy constructor. Only superclass stuff is done. | |
Self & | operator= (const Self &other) |
Assignment operator. Only superclass stuff is done. | |
virtual void | setKernelFromString (const std::string &kernelStr) |
Convenience constructor from a string description of an ML kernel. | |
virtual void | CreateStructuringElement (const ml::Kernel &kernel) |
Create the structuring element. | |
Template class to create an itk structured element from an ML kernel.
It will be passed to morphological itk operators.
Definition at line 35 of file mlITKKernelSupport.h.
typedef TAllocator itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::AllocatorType |
External support for allocator type.
Definition at line 45 of file mlITKKernelSupport.h.
typedef AllocatorType::const_iterator itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::ConstIterator |
Definition at line 58 of file mlITKKernelSupport.h.
typedef AllocatorType::iterator itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::Iterator |
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.
Definition at line 57 of file mlITKKernelSupport.h.
typedef Superclass::OffsetType itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::OffsetType |
Offset and value typedef support.
Definition at line 69 of file mlITKKernelSupport.h.
typedef OffsetType::OffsetValueType itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::OffsetValueType |
Definition at line 70 of file mlITKKernelSupport.h.
typedef TPixel itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::PixelType |
External support for pixel type.
Definition at line 51 of file mlITKKernelSupport.h.
typedef Superclass::RadiusType itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::RadiusType |
Radius typedef support.
Definition at line 74 of file mlITKKernelSupport.h.
typedef MLITKStructuringElementBase itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::Self |
Standard self typedef.
Definition at line 39 of file mlITKKernelSupport.h.
typedef Superclass::SizeType itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::SizeType |
Size and value typedef support.
Definition at line 63 of file mlITKKernelSupport.h.
typedef Superclass::SizeValueType itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::SizeValueType |
Definition at line 64 of file mlITKKernelSupport.h.
typedef SliceIterator<TPixel, Self> itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::SliceIteratorType |
External slice iterator type typedef support.
Definition at line 77 of file mlITKKernelSupport.h.
typedef Neighborhood<TPixel, VDimension, TAllocator> itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::Superclass |
Standard super class typedef.
Definition at line 42 of file mlITKKernelSupport.h.
|
inline |
Default constructor.
Definition at line 80 of file mlITKKernelSupport.h.
|
inline |
Convenience constructor directly from the ML kernel.
Definition at line 83 of file mlITKKernelSupport.h.
References itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::CreateStructuringElement(), and mlrange_cast().
|
inlinevirtual |
Default destructor. Only superclass stuff is done.
Definition at line 90 of file mlITKKernelSupport.h.
|
inline |
Copy constructor. Only superclass stuff is done.
Definition at line 93 of file mlITKKernelSupport.h.
|
inlinevirtual |
Create the structuring element.
Definition at line 117 of file mlITKKernelSupport.h.
References mlrange_cast().
Referenced by itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::MLITKStructuringElementBase(), and itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::setKernelFromString().
itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::itkStaticConstMacro | ( | NeighborhoodDimension | , |
unsigned int | , | ||
VDimension | ) |
External support for dimensionality.
|
inline |
Assignment operator. Only superclass stuff is done.
Definition at line 99 of file mlITKKernelSupport.h.
References mlrange_cast().
Referenced by itk::MLITKStructuringElement< TPixel, VDimension, TAllocator >::operator=().
|
inlinevirtual |
Convenience constructor from a string description of an ML kernel.
Definition at line 106 of file mlITKKernelSupport.h.
References itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >::CreateStructuringElement(), and mlrange_cast().