[mmintershow] [Up] [mmse2hmt] Intervals (hit-or-miss templates)

mmse2interval
Create an interval from a pair of structuring elements.

Synopsis

function Iab = mmse2interval ( a , b )

Input

a Structuring Element

Left extremity.

b Structuring Element

Right extremity.

Output

Iab Interval

Description

mmse2interval creates the interval [a,b] from the structuring elements a and b such that a is less or equal b.

Examples

i = mmse2interval(mmsecross,mmsebox);
mmintershow(i)
ans =
. 1 . 
1 1 1 
. 1 .

Equation

Flat interval:
Where W is a finite rectangle.
Non-flat interval:

Limitations

Both structuring elements must have the same size with odd dimensions. To avoid this limitation, use mmse2hmt .

See also

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.
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.
mmfreedom Control automatic data type conversion.
[mmintershow] [Up] [mmse2hmt]