'thin'<a name="4"></a></h2><pre class="codeinput"><span class="comment">% compute skeleton (same as "skeleton(bin, 'method', 'thin');")</span>
skel = skeleton(bin);
figure;
show(skel);

<span class="comment">% compute and display overlay</span>
ovr = overlay(bin, skel);
figure;
show(ovr);
</pre><img vspace="5" hspace="5" src="demoSkeleton_02.png" alt=""> <img vspace="5" hspace="5" src="demoSkeleton_03.png" alt=""> <h2>Skeleton with 'skel'<a name="5"></a></h2><pre class="codeinput"><span class="comment">% co