Pink 0.9
|
decomposition of a curvilinear skeleton into isolated points, end points, curves and junctions More...
decomposition of a curvilinear skeleton into isolated points, end points, curves and junctions
Usage: pgm2skel in.pgm connex [len] 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)).
The optional parameter indicates the minimum length (in pixels/voxels) of a curve.
If a set of curve points with less than points, then:
a) if it contains at least one end point it will be eliminated (together with its end point(s)),
b) otherwise it will be considered as part of a junction.
If this parameter is given, then isolated points will be eliminated.
The format of the file .skel is described in PINKDIR/doc/formats.txt (section: Curvilinear skeletons).
Types supported: byte 2d, byte 3d
Category: topobin