Usage: list2pgm in.list <in.pgm|rs cs ds> [scale] out.pgm
Description:
Reads the file in.list. This file must have one of the following formats:
b <m> n <m> B <m> N <m> x1 y1 x1 y1 v1 x1 y1 z1 x1 y1 z1 v1 x2 y2 or x2 y2 v2 or x2 y2 z2 or z2 x2 y2 v2 ... ... ... ... xm ym xm ym vm xm ym z3 z3 xm ym vmThe formats b, n, B, and N, correspond respectively to binary 2D, graylevel 2D, binary 3D and graylevel 3D images. If a file name in.pgm is given, then the points read in in.list are inserted (if possible) into the image read in in.pgm. Else, they are inserted in a new image, the dimensions of which are rs, cs, and d.
The optional parameter scale allows to scale the coordinates.
Types supported: list 2D, 3D
Category: convert