Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Implements morphological operators for images. More...
#include <geogram/image/morpho_math.h>
Public Member Functions | |
MorphoMath (Image *target) | |
MorphoMath constructor. More... | |
~MorphoMath () | |
MorphoMath destructor;. | |
void | dilate (const StructuringElement &elt, index_t nb_iterations=1) |
Computes a dilation. More... | |
void | dilate (index_t nb_iterations=1) |
Computes a dilation with a default structuring element. More... | |
Implements morphological operators for images.
Definition at line 129 of file morpho_math.h.
GEO::MorphoMath::MorphoMath | ( | Image * | target | ) |
MorphoMath constructor.
Only implemented for 2D images with byte components.
[in] | target | a pointer to the target image. |
void GEO::MorphoMath::dilate | ( | const StructuringElement & | elt, |
index_t | nb_iterations = 1 |
||
) |
Computes a dilation.
[in] | elt | a const reference to the structuring element. |
[in] | nb_iterations | number of dilations to be applied. |
void GEO::MorphoMath::dilate | ( | index_t | nb_iterations = 1 | ) |
Computes a dilation with a default structuring element.
[in] | nb_iterations | number of dilations to be applied. |