[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Morphological operators for multi-dimensional arrays. |
Functions | |
template<... > | |
void | multiBinaryDilation (...) |
Binary dilation on multi-dimensional arrays. More... | |
template<... > | |
void | multiBinaryErosion (...) |
Binary erosion on multi-dimensional arrays. More... | |
template<... > | |
void | multiGrayscaleDilation (...) |
Parabolic grayscale dilation on multi-dimensional arrays. More... | |
template<... > | |
void | multiGrayscaleErosion (...) |
Parabolic grayscale erosion on multi-dimensional arrays. More... | |
These functions perform morphological operations on an arbitrary dimensional array that is specified by iterators (compatible to Multi-dimensional Array Iterators) and shape objects. It can therefore be applied to a wide range of data structures (vigra::MultiArrayView, vigra::MultiArray etc.).
void vigra::multiBinaryErosion | ( | ... | ) |
Binary erosion on multi-dimensional arrays.
This function applies a flat circular erosion operator with a given radius. The operation is isotropic. The input is interpreted as a binary multi-dimensional array where non-zero pixels represent foreground and zero pixels represent background. In the output, foreground is always represented by ones (i.e. NumericTrais<typename DestAccessor::value_type>::one()).
This function may work in-place, which means that siter == diter
is allowed. A temporary internal array is only allocated if working on the destination array directly would cause overflow errors (that is if NumericTraits<typename DestAccessor::value_type>::max() < squaredNorm(shape)
, i.e. the squared length of the image diagonal doesn't fit into the destination type).
Declarations:
pass arbitrary-dimensional array views:
Usage:
#include <vigra/multi_morphology.hxx>
Namespace: vigra
void vigra::multiBinaryDilation | ( | ... | ) |
Binary dilation on multi-dimensional arrays.
This function applies a flat circular dilation operator with a given radius. The operation is isotropic. The input is interpreted as a binary multi-dimensional array where non-zero pixels represent foreground and zero pixels represent background. In the output, foreground is always represented by ones (i.e. NumericTrais<typename DestAccessor::value_type>::one()).
This function may work in-place, which means that siter == diter
is allowed. A temporary internal array is only allocated if working on the destination array directly would cause overflow errors (that is if NumericTraits<typename DestAccessor::value_type>::max() < squaredNorm(shape)
, i.e. the squared length of the image diagonal doesn't fit into the destination type).
Declarations:
pass arbitrary-dimensional array views:
Usage:
#include <vigra/multi_morphology.hxx>
Namespace: vigra
void vigra::multiGrayscaleErosion | ( | ... | ) |
Parabolic grayscale erosion on multi-dimensional arrays.
This function applies a parabolic erosion operator with a given spread (sigma) on a grayscale array. The operation is isotropic. The input is a grayscale multi-dimensional array.
This function may work in-place, which means that siter == diter
is allowed. A full-sized internal array is only allocated if working on the destination array directly would cause overflow errors (i.e. if typeid(typename DestAccessor::value_type) < N * M*M
, where M is the size of the largest dimension of the array.
Declarations:
pass arbitrary-dimensional array views:
Usage:
#include <vigra/multi_morphology.hxx>
Namespace: vigra
void vigra::multiGrayscaleDilation | ( | ... | ) |
Parabolic grayscale dilation on multi-dimensional arrays.
This function applies a parabolic dilation operator with a given spread (sigma) on a grayscale array. The operation is isotropic. The input is a grayscale multi-dimensional array.
This function may work in-place, which means that siter == diter
is allowed. A full-sized internal array is only allocated if working on the destination array directly would cause overflow errors (i.e. if typeid(typename DestAccessor::value_type) < N * M*M
, where M is the size of the largest dimension of the array.
Declarations:
pass arbitrary-dimensional array views:
Usage:
#include <vigra/multi_morphology.hxx>
Namespace: vigra
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|