<< sierra Image_Processing_Tool_3 sqrform >>

Image_Processing_Tool_3 >> Image_Processing_Tool_3 > skeleton

skeleton

It computes the skeleton of a given binary imagewith black background.

Calling Sequence

y = skeleton(x)

Parameters

x

A binary matrix in 0 and 1 representing a binary image.

y

A binary matrix representing the skeleton of the input binary image.

Description

It computes the skeleton of a given binary image. The input binary image must have black background for proper generation of skeleton image. The generated skeleton image in binary has black background.

Examples

x=imread('lena.png');
x=rgb2gray(x);
// Binary image of lena image
x=x>125;
// Computing skeleton of the binary image
y=skeleton(x);
imshow(y)

See Also

Authors

<< sierra Image_Processing_Tool_3 sqrform >>