measuring the longest thread of a skeleton

Eyal Saiet ejsaiet at
Wed Nov 18 15:07:31 EST 2015

Thanks I will look into the network approach.
I guess I was naive to assume there is a common algorithm, built in
scikit-image to measure the length of the skeleton.

On Tue, Nov 17, 2015 at 9:43 PM, Pratap Vardhan <pratapgr8 at> wrote:

> My first thought was what Juan suggested and seemed logical to do that.
> As an alternative, you could also (this may be an overfill and could be
> slower than network approach) try.
> 1. From every endpoints of skeleton compute the distance transform (using
> flood-fill or neighbourhood methods).
> 2. Now the maximum distance for above all distances will give you
> the longest path in skeleton.
> This way you can have the trace path of the longest thread in skeleton in
> image form itself.
> On Wednesday, November 18, 2015 at 8:52:05 AM UTC+5:30, Arctic_python
> wrote:
>> Hello,
>> Anyone has suggestions for an algorithm to measure the length of a
>> skeleton line/thread(e.g
>> The context- I skeletonize a shape to infer its length.
>> Thanks
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "scikit-image" group.
> To unsubscribe from this topic, visit
> To unsubscribe from this group and all its topics, send an email to
> scikit-image+unsubscribe at
> For more options, visit

Eyal Saiet

Project manager
Remote sensing and in-situ measurements

Geophysical Institute
University of Alaska Fairbanks
Fairbanks, AK 99775
(907) 750 6555 (cell)

ejsaiet at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the scikit-image mailing list