Pink 0.9

explodecomp.c File Reference

converts single 2D pgm file into a series of 2D pgm files, where each file of the series contains one component of the original image More...


Detailed Description

converts single 2D pgm file into a series of 2D pgm files, where each file of the series contains one component of the original image

Usage: explodecomp in.pgm connex {min|max|pla} name_prefix

Description: Generated file names are of the form: name_prefixnnnn.pgm, where nnnn is a four digit decimal integer. 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 labeled:

Types supported: byte 2d

Category: convert

Author:
Michel Couprie