Main Page Modules File List
nbcomp.c File Reference
returning number of connex components of a grayscale or a binary image
More...
Detailed Description
returning number of connex components of a grayscale or a binary image
Usage: nbcomp in.pgm connex <min|max|pla>
Description: The argument connex selects the connectivity (4, 8 in 2D; 6, 18, 26 in 3D). The argument <min|max|pla> selects the kind of flat zone to be counted:
- min selects regional minima (or background components for a binary image)
- max selects regional maxima (or foreground components for a binary image)
- pla selects all flat zones (plateaux). The output image out.pgm has the type "long".
Types supported: byte 2d, byte 3d, long 2d, long 3d
Category: connect
- Author:
-
Cedric Allene
Generated on Fri Dec 17 11:59:37 2004 for Pink by
1.2.18