| [mmsupcanon] [Up] [mmcthick] | Sup-generating And Inf-generating |
| User Feedback |
mmsupgen creates the binary image y by computing the transformation of the image f by the sup-generating operator characterized by the interval Iab. The sup-generating operator is just a relaxed template matching, where the criterion to keep a shape is that it be inside the interval Iab. Note that we have the classical template matching when a=b. Note yet that the sup-generating operator is equivalent to the classical hit-miss operator.
f=mmbinary([ 0 0 1 0 0 1 1; 0 1 0 0 1 0 0; 0 0 0 1 1 0 0])
Warning: converting image from double to int32
f =
0 0 1 0 0 1 1
0 1 0 0 1 0 0
0 0 0 1 1 0 0
i=mmendpoints;
mmintershow(i)
ans = . . . 0 1 0 0 0 0
g=mmsupgen(f,i)
g =
0 0 0 0 0 0 0
0 1 0 0 0 0 0
0 0 0 0 0 0 0

function y=mmsupgen_equ( f, A, BC ) y = mmintersec(mmero(f,A),mmero(mmneg(f),BC));
| mmfreedom | Control automatic data type conversion. |
| mminfgen | Inf-generating. |
| mmintershow | Visualize an interval. |
| 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. |
| mmsupcanon | Union of sup-generating or hit-miss operators. |
| [mmsupcanon] [Up] [mmcthick] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |