PANDORE Version 6 GREYC-IMAGE

pskeletonization



Computes the skeleton of 2D objects.



Synopsis

pskeletonization connexity [-m mask] [im_in|-][im_out|-]

Description

pskeletonization computes a homotopic skeleton of the binary objects found in the image im_in. The image background is made of the pixels whose value is zero.

The skeleton will be either made of 4-connected or 8-connected components. A Euclidean-distance-ordered removal process is used : it will repeatedly remove simple points, but will not remove points that belong to the medial axis obtained from the euclidean distance transform.The obtained skeleton is thus well centered within the initial shape(s). computes the skeleton of the binary objects in the 2D image im_in. Binary objects are regions with connected non null pixels.

Parameter

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Morphology, phomotopicskeletonization

C++ prototype

Errc PSkeletonization( const Img2duc &im_in, Img2duc &im_out, int connexity );

Author: Sébastien Fourey