[mmintershow] [Up] [mmse2hmt] Intervals (hit-or-miss templates)

mmse2interval
Create an interval from a pair of structuring elements.

Synopsis

Iab = mmse2interval( a, b )

Implemented in Python.

Input

a Structuring Element

Left extremity.

b Structuring Element

Right extremity.

Output

Iab Interval

Description

mmse2interval creates the interval [a,b] from the structuring elements a and b such that a is less or equal b.

Equation

Flat interval:
Where W is a finite rectangle.
Non-flat interval:

Limitations

Both structuring elements must have the same size with odd dimensions. To avoid this limitation, use mmse2hmt.

Source Code

def mmse2interval(a, b):
    Iab = (a,mmneg(b))
    return Iab
    

See also

mmse2hmt Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
mmendpoints Interval to detect end-points.
mmhomothick Interval for homotopic thickening.
mmhomothin Interval for homotopic thinning.
mmthin Image transformation by thinning.
mmthick Image transformation by thickening.
mmsupcanon Union of sup-generating or hit-miss operators.
mminfcanon Intersection of inf-generating operators.
mmintershow Visualize an interval.
mmfreedom Control automatic data type conversion.
[mmintershow] [Up] [mmse2hmt] Python