| [mmse2interval] [Up] [mmthreshad] | Intervals (hit-or-miss templates) |
| User Feedback |
| A | Structuring Element
Left extremity. |
| Bc | Structuring Element
Complement of the right extremity. |
| Iab | Interval |
mmse2hmt creates the Hit-or-Miss Template (HMT), also called interval [A,Bc] from the structuring elements A and Bc such that A is included in the complement of Bc. The only difference between this function and mmse2interval is that here the second structuring element is the complement of the one used in the other function. The advantage of this function over mmse2interval is that this one is more flexible in the use of the structuring elements as they are not required to have the same size.
B1= mmbinary([0 1 0; 1 1 0; 0 0 1])
Warning: converting image from double to int32
B1 =
0 1 0
1 1 0
0 0 1
B2= mmbinary([1 0 0; 0 0 0; 0 0 0])
Warning: converting image from double to int32
B2 =
1 0 0
0 0 0
0 0 0
i = mmse2hmt(B1,B2);
mmintershow(i)
ans = 0 1 . 1 1 . . . 1

| mmfreedom | Control automatic data type conversion. |
| 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. |
| mmse2interval | Create an interval from a pair of structuring elements. |
| [mmse2interval] [Up] [mmthreshad] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |