[mmopenrec] [Up] [mmregmin] Connected Operators

mmregmax
Regional Maximum.

Synopsis

y = mmregmax( f, Bc = None )

Implemented in Python.

Input

f Image Gray-scale (uint8 or uint16) image.
Bc Structuring Element

(connectivity).

Default: None (3x3 elementary cross)

Output

y Image Binary image.

Description

mmregmax creates a binary image y by computing the regional maxima of f, according to the connectivity defined by the structuring element Bc. A regional maximum is a flat zone not surrounded by flat zones of higher gray values.

Equation

Source Code

def mmregmax(f, Bc=None):
    if Bc is None: Bc = mmsecross()
    y = mmregmin(mmneg(f),Bc)
    return y
    

See also

mmfreedom Control automatic data type conversion.
mmregmin Regional Minimum (with generalized dynamics).
mmsebox Create a box structuring element.
mmsecross Diamond structuring element and elementary 3x3 cross.
[mmopenrec] [Up] [mmregmin] Python