Main Page   Modules   File List  

pgm2skel.c File Reference

decomposition of a curvilinear skeleton into isolated points, end points, curves and junctions More...


Detailed Description

decomposition of a curvilinear skeleton into isolated points, end points, curves and junctions

Usage: pgm2skel in.pgm connex out.skel

Description: The skeleton found in in.pgm is decomposed into isolated points, end points, curves and junctions ; and its description is stored in out.skel . The parameter connex sets the adjacency relation used for the object (4, 8 (2d) or 6, 18, 26 (3d)).

Warning:
No verification is done to check that the input image in.pgm contains indeed a curvilinear skeleton. In the contrary case, the result would be meaningless.
Warning:
IMPORTANT LIMITATION: different junctions in the original image must not be in direct contact with each other (i.e., connected) otherwise they will be considered as a single junction. To prevent this to occur, one can increase image resolution.
Types supported: byte 2d, byte 3d

Category: topobin

Author:
Michel Couprie 2004

Generated on Fri Dec 17 11:59:38 2004 for Pink by doxygen1.2.18