[mmCenter] [Up] [mmClose] Morphological Filters

mmAsf
Alternating Sequential Filtering

Synopsis

Image mmAsf ( const Image& f , const String& SEQ = "OC", const Strel& b = NullStrel, const Double& n = 1 );

Input

f Image [ Gray-scale (uint8 or uint16) or binary image ]

SEQ String

'OC', 'CO', 'OCO', 'COC'.

Default: "OC"

b Structuring Element

Default: NullStrel (3x3 elementary cross)

n Double [ Non-negative integer. ]

(number of iterations).

Default: 1

Output

y Image

Description

mmAsf creates the image y by filtering the image f by n iterations of the close and open alternating sequential filter characterized by the structuring element b. The sequence of opening and closing is controlled by the parameter SEQ. 'OC' performs opening after closing, 'CO' performs closing after opening, 'OCO' performs opening after closing after opening, and 'COC' performs closing after opening after closing.

Equation

Case oc, close-open filter:
Case co, open-close filter:
Case oco:
Case coc:

See also

mmSebox Create a box structuring element.
mmSecross Diamond structuring element and elementary 3x3 cross.
mmOpen Morphological opening.
mmClose Morphological closing.
mmAsfrec Reconstructive Alternating Sequential Filtering
[mmCenter] [Up] [mmClose]