Code covered by the BSD License  

Highlights from
Better Skeletonization

image thumbnail
from Better Skeletonization by Nicholas Howe
Provides an alternative to the image toolbox skeletonization implemented in bwmorph.

skeleton.m
%SKELETON produces skeletons of binary images
%
% [skg,rad] = skelgrad(img) computes the skeleton for a binary image, and
% also the local radius at each point.

disp('Compiling...  (You may need to execute ''mex -setup'' first.)');
mex 'G:\Projects\Matlab\skeleton.cpp'

Contact us at files@mathworks.com