mpute skeleton</span>
skel2 = skeleton(bin, <span class="string">'method'</span>, <span class="string">'skel'</span>);
figure;
show(skel2);

<span class="comment">% compute and display overlay</span>
ovr2 = overlay(bin, skel2);
figure;
show(ovr2);
</pre><img vspace="5" hspace="5" src="demoSkeleton_04.png" alt=""> <img vspace="5" hspace="5" src="demoSkeleton_05.png" alt=""> <p class="footer"><br>
      Published with MATLAB&reg; 7.9<br></p></div><!--
##### SOURCE BEGIN #####
function demoSkeleton(varargin)
