SMIL  1.0.4
Structuring Elements

Morphological Structuring Elements. More...

Detailed Description

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
  • [14] Jean Serra, Image Analysis and Mathematical Morphology - Vol. 1, 1982, Chap. II
  • [18] P. Soille, Morphological Image Analysis, 2003, p. 64-65
  • Structuring Element

    Morphological Structuring Elements Definitions

+ Collaboration diagram for Structuring Elements:

Modules

 Composite Structuring Elements
 Couples of disjoint Structuring Elements.
 
 Morpho Instance - Default Structuring Element
 Instance with default Structuring Element.
 

Classes

class  StrElt
 Base structuring element. More...
 
class  SquSE
 Square structuring element. More...
 
class  SquSE0
 Square structuring element without center point. More...
 
class  HexSE
 Hexagonal structuring element. More...
 
class  HexSE0
 Hexagonal structuring element without center point. More...
 
class  CrossSE
 Cross structuring element. More...
 
class  HorizSE
 Horizontal segment structuring element. More...
 
class  VertSE
 Vertical segment structuring element. More...
 
class  CubeSE
 3D Cubic structuring element (26 neighbors). More...
 
class  Cross3DSE
 3D Cross structuring element (6 neighbors). More...
 
class  RhombicuboctahedronSE
 Rhombicuboctahedron struturing element (80 neighbors). More...
 
class  LineSE
 LineSE - a line structuring element with arbitrary length and angle. More...
 
class  Line3DSE
 Line3DSE - a line structuring element with arbitrary length and angle. More...
 

Functions

StrElt buildLineSE (int length, int theta)
 buildLineSE() - build a line structuring element with arbitrary length and angle. More...
 
StrElt merge (StrElt se1, StrElt se2)
 merge() - merge two Structuring Elements More...
 

Function Documentation

◆ buildLineSE()

StrElt smil::buildLineSE ( int  length,
int  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()

StrElt smil::merge ( StrElt  se1,
StrElt  se2 
)
inline

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