Pink 0.9

skel2pgm.c File Reference

generation of a labelled image from a curvilinear skeleton More...


Detailed Description

generation of a labelled image from a curvilinear skeleton

Usage: skel2pgm in.skel [id] out.pgm

Description: Generation of a labelled image from a curvilinear skeleton.

If the optional argument id is given and positive, then only the skeleton element having this index is considered.

If the optional argument id is given and is -1, then points of the skeleton are labelled with their index in the skeleton structure (warning: no more than 255 elements)

Otherwise, points of the skeleton are labelled with:

Types supported: 2Dskel, 3Dskel

Category: topobin

Author:
Michel Couprie 2004