<div dir="ltr">Hi,<div><br></div><div>I recommend </div><div><br></div><div>1) Convert the image to a distance map using ITK's Danielsson Distance measure filter. This will convert your binary image to an image that is bright along the center of your binary object</div><div><br></div><div>2) Use TubeTK's SegmentTubeUsingMinimalPath (which uses ITK's minimal path module) to compute the path down the center of your object, given the distance map and two end points. You will need to specify the two end points of the path, but hopefully that will be easy to due if your image acquisition protocol is somewhat constrained. The minimal path method will then return the path that connect those two endpoints along bright center of your distance map object.</div><div><br></div><div>Hope this helps.</div><div><br></div><div>s</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 9, 2016 at 6:37 PM, Vova via Tubetk-developers <span dir="ltr"><<a href="mailto:tubetk-developers@public.kitware.com" target="_blank">tubetk-developers@public.kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>Hi</div><div><br></div><div>I am seeking your advice/help on how to extract tubes/fibres from the binary image (in my case it is a 3D tomography dataset of the carbon paper).</div><div><br></div><div>I am extensively using itk routines in c++ and would like to combine my code with a comprehensive tubetk library in c++ as well.</div><div><br></div><div>However I could not find any documentation or example on how to extract the tubes using c++ code.</div><div><br></div><div>Can someone please explain the necessary steps ?</div><div><br></div><div>Thank you very much,</div><div><br></div><div>Vlad.</div></div></div><br>_______________________________________________<br>
Tubetk-developers mailing list<br>
<a href="mailto:Tubetk-developers@public.kitware.com">Tubetk-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/tubetk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/tubetk-developers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">====================================================<br>Stephen R. Aylward, Ph.D.<br>Senior Director of Operations, North Carolina, Kitware, Inc.<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a> and <a href="http://www.aylward.org" target="_blank">http://www.aylward.org</a><br>(919) 969-6990 x300<br>====================================================</div>
</div>