Pink 0.9

graph2pgm.c File Reference

converts from graph representation to pgm More...


Detailed Description

converts from graph representation to pgm

Usage: graph2pgm in.graph {in.pgm|rs cs ds} out.pgm

Description:

Reads the file in.graph. Each vertex of this graph must have integer coordinates, and represents a pixel/voxel of a 2D/3D image. If a file name in.pgm is given, then the points read in in.graph 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 ds.

Types supported: graph

Category: convert

Author:
Michel Couprie