Pink 0.9

pgm2graph.c File Reference

converts a binary image into a simple graph More...


Detailed Description

converts a binary image into a simple graph

Usage: pgm2graph in.pgm connex out.graph

Description:

The vertices of the graph are the object pixels of the binary image in.pgm, and there is an edge between each pair of adjacent pixels (according to connex).

Types supported: byte 2d, byte 3d

Category: topobin

Author:
Michel Couprie 2010