| [mminfgen] [Up] [mmsupgen] | Sup-generating And Inf-generating |
| User Feedback |
mmsupcanon creates the image y by computing the union of transformations of the image f by sup-generating operators. These hit-miss operators are characterized by rotations (in the clockwise or anti-clockwise direction) of theta degrees of the interval Iab.
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=mmsupcanon(f,i)
g =
0 0 1 0 0 0 1
0 1 0 0 0 0 0
0 0 0 1 1 0 0

function y=mmsupcanon_equ( f, Iab, theta, DIRECTION )
y = uint8(zeros(size(f)));
y = mmunion(y,mmsupgen(f, Iab));
alpha = theta;
while alpha < 360
Irot = mminterot( Iab, alpha, DIRECTION );
y = mmunion(y,mmsupgen(f, Irot));
alpha = alpha + theta;
end;
| mmfreedom | Control automatic data type conversion. |
| mmsupgen | Sup-generating (hit-miss). |
| mmthin | Image transformation by thinning. |
| mmendpoints | Interval to detect end-points. |
| mmhomothick | Interval for homotopic thickening. |
| mmhomothin | Interval for homotopic thinning. |
| mmse2hmt | Create a Hit-or-Miss Template (or interval) from a pair of structuring elements. |
| [mminfgen] [Up] [mmsupgen] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |