Main Page   Modules   File List  

asfbin.c File Reference

alternate sequential filter for binary images More...


Detailed Description

alternate sequential filter for binary images

Usage: asfbin in.pgm [rmin] rmax out.pgm

Description: Alternate sequential filter for binary images.

Disc-shaped structuring elements of increasing radius, ranging from 1 (or rmin if this parameter is specified) to rmax, are generated.

Let D1...Dn be these structuring elements, sorted by increasing radius. Let F0 = in.pgm, the ith intermediate result Fi is obtained by the closing of the opening of Fi-1 by the structuring element Di. The result out.pgm contains the final result Fn. Giving a value 0 for the optional parameter rmin has the effect of beginning by a closing instead of an opening.

Types supported: byte 2d, byte 3d

Category: morpho

Author:
Michel Couprie
Example:

asfbin cells 3 cells_asf

cells cells_asfbin


Generated on Fri Dec 17 11:59:36 2004 for Pink by doxygen1.2.18