[mmSE] [Up] [mmBOOLEAN] Data Types

mmINTERVAL
Interval or hit-or-miss template

Description

The hit-or-miss template (also called interval) is defined by two structuring elements: one associated to the 'hit' template, and the other associated to the 'miss' template. A hit-or-miss template can be build with the function mmse2hmt and can be visualized with mmintershow .

Examples

print mmintershow(mmhomothin())
0 0 0 
. 1 . 
1 1 1
A  = mmbinary([[0,1,0],[1,0,1],[0,0,0]])
Bc = mmbinary([[0,0,0],[0,1,0],[0,0,0]])
T = mmse2hmt(A,Bc)
print mmintershow(T)
. 1 . 
1 0 1 
. . .

See also

mmintershow Visualize an interval.
mmhomothin Interval for homotopic thinning.
mmse2hmt Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
[mmSE] [Up] [mmBOOLEAN]