<div dir="ltr">Eyal, not naive at all, it's a reasonable expectation! Skeletonization and related algorithms are a place where the library needs improving. If you come up with a good solution, we can help you get it into the library. See <a href="http://scikit-image.org/docs/stable/contribute.html">http://scikit-image.org/docs/stable/contribute.html</a> .<div><br></div><div>Thanks!</div><div><br></div><div>Juan.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 7:07 AM, Eyal Saiet <span dir="ltr"><<a href="mailto:ejsaiet@alaska.edu" target="_blank">ejsaiet@alaska.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks I will look into the network approach. <br></div>I guess I was naive to assume there is a common algorithm, built in scikit-image to measure the length of the skeleton. <br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Nov 17, 2015 at 9:43 PM, Pratap Vardhan <span dir="ltr"><<a href="mailto:pratapgr8@gmail.com" target="_blank">pratapgr8@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">My first thought was what Juan suggested and seemed logical to do that.<div><br></div><div>As an alternative, you could also (this may be an overfill and could be slower than network approach) try.</div><div><br></div><div>1. From every endpoints of skeleton compute the distance transform (using flood-fill or neighbourhood methods).</div><div>2. Now the maximum distance for above all distances will give you the longest path in skeleton.<br><br>This way you can have the trace path of the longest thread in skeleton in image form itself.</div><div><div><div><br></div><div><br>On Wednesday, November 18, 2015 at 8:52:05 AM UTC+5:30, Arctic_python wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br>Anyone has suggestions for an algorithm to measure the length of a skeleton line/thread(e.g <a href="http://scikit-image.org/docs/dev/auto_examples/plot_skeleton.html" rel="nofollow" target="_blank">http://scikit-image.org/docs/dev/auto_examples/plot_skeleton.html</a>)?<br>The context- I skeletonize a shape to infer its length. <br>Thanks<br></div></blockquote></div></div></div></div></span><div><div>

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/scikit-image/wM-zMGL9dVI/unsubscribe" target="_blank">https://groups.google.com/d/topic/scikit-image/wM-zMGL9dVI/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:scikit-image+unsubscribe@googlegroups.com" target="_blank">scikit-image+unsubscribe@googlegroups.com</a>.<span class=""><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</span></div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8000001907349px"><font color="#0000ff">Eyal Saiet<br><br></font></div><div style="font-size:12.8000001907349px"><font color="#0000ff">Project manager<br></font></div><div style="font-size:12.8000001907349px"><span style="border-spacing:0px;border-collapse:separate;font-size:medium;font-family:Helvetica"><span style="border-spacing:0px;border-collapse:separate;font-size:12px"><div><font color="#0000ff">Remote sensing and in-situ measurements</font></div><div><font color="#0000ff"><br>Geophysical Institute </font></div><div><font color="#0000ff">University of Alaska Fairbanks</font></div><div><font color="#0000ff">Fairbanks, AK 99775</font></div><div><font color="#0000ff"><a value="+19073224084">(907) 750 6555</a> (cell)</font></div><div style="color:rgb(136,136,136)"><br></div><div style="color:rgb(136,136,136)"><a href="mailto:ejsaiet@alaska.edu" target="_blank">ejsaiet@alaska.edu</a><br><br></div></span></span></div><font color="#888888"><img src="https://docs.google.com/uc?export=download&id=0Bw-TEoUBhZViNml6LVlhWlVLb0k&revid=0Bw-TEoUBhZViaExrREttazdzRklqL3BkM3laNDY3QXFQWmpvPQ" width="96" height="96"></font></div></div></div></div></div></div></div></div></div>
</div><div class="HOEnZb"><div class="h5">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "scikit-image" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:scikit-image+unsubscribe@googlegroups.com" target="_blank">scikit-image+unsubscribe@googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>