[mmendpoints] [Up] [mmhomothin] Intervals (hit-or-miss templates)

mmhomothick
Interval for homotopic thickening.

Synopsis

Iab = mmhomothick( )

Implemented in Python.

Output

Iab Interval

Description

mmhomothick creates an interval that is useful for the homotopic (i.e., that conserves the relation between objects and holes) thickening of binary images.

Examples

Interval visualization
>>> print mmintershow(mmhomothick())
1 1 1 
. 0 . 
0 0 0

Equation

Source Code

def mmhomothick():
    Iab = mmse2hmt(mmbinary([[1,1,1],
                             [0,0,0],
                             [0,0,0]]),
                   mmbinary([[0,0,0],
                             [0,1,0],
                             [1,1,1]]))
    return Iab
    

See also

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