[mmendpoints] [Up] [mmhomothin] | Intervals (hit-or-miss templates) |
mmhomothick creates an interval that is useful for the homotopic (i.e., that conserves the relation between objects and holes) thickening of binary images.
>>> print mmintershow(mmhomothick())
1 1 1 . 0 . 0 0 0
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
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] | ![]() |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center. |