Morphological Structuring Elements.
More...
Morphological Structuring Elements.
In mathematical morphology, a structuring element is a shape, used to probe or interact with a given image, with the purpose of drawing conclusions on how this shape fits or misses the shapes in the image. It is typically used in morphological operations, such as dilation, erosion, opening, and closing, as well as the hit-or-miss transform.
- See also
-
|
#define | DEFAULT_SE Morpho::getDefaultSE() |
|
|
enum | seType {
SE_Generic
, SE_Hex
, SE_Hex0
, SE_Squ
,
SE_Squ0
, SE_Cross
, SE_Horiz
, SE_Vert
,
SE_Line
, SE_Cube
, SE_Cross3D
, SE_Line3D
,
SE_CenteredLine
, SE_CenteredLine3D
, SE_Rhombicuboctahedron
} |
|
◆ buildLineSE()
StrElt smil::buildLineSE |
( |
int |
length, |
|
|
double |
theta |
|
) |
| |
|
inline |
buildLineSE() - build a line structuring element with arbitrary length and angle.
The line is defined with the help of a Besenham algorithm
- Parameters
-
[in] | length | : length of the structuring element |
[in] | theta | : angle of the structuring element with the horizontal line |
- Returns
- a line structuring element
◆ merge()
merge() - merge two Structuring Elements
- Parameters
-
[in] | se1 | : First structuring Element |
[in] | se2 | : Second structuring Element |
- Returns
- a new structuring element with all points of
se1
and se2