Pink 0.9

skel_MK2.c File Reference

parallel 2D binary ultimate skeleton, symmetrical More...


Detailed Description

parallel 2D binary ultimate skeleton, symmetrical

Usage: skel_MK2 in.pgm nsteps [inhibit] out.pgm

Description: Parallel 2D binary thinning or ultimate skeleton (symmetrical). The parameter nsteps gives, if positive, the number of parallel thinning steps to be processed. If the value given for nsteps equals -1, the thinning is continued until stability.

If the parameter inhibit is given and is a binary image name, then the points of this image will be left unchanged.

Warning: The object must not have any point on the frame of the image.

References:
[BC08] Gilles Bertrand and Michel Couprie, Two-dimensional thinning algorithms based on critical kernels. Journal of Mathematical Imaging and Vision, 31(1). 2008. pp.35–56. http://igm.univ-mlv.fr/LIGM/internal_report/pdf/2006_02.v2.pdf

Types supported: byte 2d

Category: topobin

Author:
Michel Couprie