[mmsupcanon] [Up] [mmcthick] Sup-generating And Inf-generating

mmsupgen
Sup-generating (hit-miss).

Synopsis

y = mmsupgen( f, INTER )

Implemented in Python.

Input

f Image Binary image.
INTER Interval

Output

y Image Binary image.

Description

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.

Equation

Source Code

def mmsupgen(f, INTER):
    A,Bc = INTER
    y = mmintersec(mmero( f, A),
                   mmero( mmneg(f), Bc))
    return y
    

See also

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] Python