Pink 0.9
|
labeling of the foreground components of a binary image More...
labeling of the foreground components of a binary image
Usage: labelfgd in.pgm connex out.pgm
Description: Each connected component of in.pgm is labeled with a unique integer, starting from 1. The background points are labeled by 0. The argument connex selects the connectivity (4, 8 in 2D; 6, 18, 26 in 3D). The output image out.pgm has the type "int32_t".
Types supported: byte 2d, byte 3d, int32_t 2d, int32_t 3d
Category: connect