[mminfgen] [Up] [mmsupgen] | Sup-generating And Inf-generating |
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
.
def mmsupcanon(f, Iab, theta=45, DIRECTION="CLOCKWISE"): from string import upper DIRECTION = upper(DIRECTION) y = mmintersec(f,0) for t in range(0,360,theta): Irot = mminterot( Iab, t, DIRECTION ) y = mmunion( y, mmsupgen(f, Irot)) return y
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] | ![]() |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center. |