[mmse2interval] [Up] [mmthreshad] Intervals (hit-or-miss templates)

mmse2hmt
Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.

Synopsis

Iab = mmse2hmt( A, Bc )

Implemented in Python.

Input

A Structuring Element

Left extremity.

Bc Structuring Element

Complement of the right extremity.

Output

Iab Interval

Description

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.

Equation

Flat interval:

Source Code

def mmse2hmt(A, Bc):
    Iab = (A,Bc)
    return Iab
    

See also

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