<HTML>
<HEAD>
<TITLE>Re: [Insight-users] Distance map calculation using DanielssonDistanceMapImageFilter</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The speed depends on the machine you are doing the computation.<BR>
<BR>
There is a fast distance transform method ( Felzenszwalb &amp; Hutenlocher ) which we have extended &amp; re-implemented the codes in 3D (not part of ITK yet, - we are working on that), but if anybody needs you can download from the following site (the plugin sample codes of <a href="http://penglab.janelia.org/proj/v3d/V3D/Toolboxes_%26_Related_Software.html">http://penglab.janelia.org/proj/v3d/V3D/Toolboxes_%26_Related_Software.html</a> ). It can be easily run as a plugin of the V3D system &nbsp;( <a href="http://penglab.janelia.org/proj/v3d">http://penglab.janelia.org/proj/v3d</a> ). I just did some test on my machines using a 512x512x384 stack:<BR>
<BR>
Linux desktop (2-3 years old): 15-20 seconds<BR>
Mac laptop: (1 year old): 35-40 seconds<BR>
<BR>
-hanchuan<BR>
<BR>
On 5/18/10 1:24 PM, &quot;Thupakula&quot; &lt;<a href="thupakula.saraswathi@gmail.com">thupakula.saraswathi@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
Thanks for the suggestion.<BR>
I tried the maurer filter, It took around 8 minutes for the image size of  512x512x348.<BR>
For the DanielssonDistanceMapImageFilter , I waited like around 1hour , but it didnt give me any result.<BR>
<BR>
Thank you,<BR>
Thupakula.<BR>
<BR>
<BR>
<BR>
On Tue, May 18, 2010 at 6:25 PM, Sergio Vera &lt;<a href="sergio.vera@alma3d.com">sergio.vera@alma3d.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Also, what times are you obtaining?<BR>
<BR>
Regards<BR>
<BR>
On Tue, May 18, 2010 at 5:16 PM, Thupakula &lt;<a href="thupakula.saraswathi@gmail.com">thupakula.saraswathi@gmail.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi All,<BR>
<BR>
I am using DanielssonDistanceMapImageFilter to calculate the distance map for the 3D image(.mha). But it is taking long time.<BR>
<BR>
could any one tell me usually how long will it take to compute the DM for the image of size like 512x512x348 ?<BR>
<BR>
Thank you,<BR>
<FONT COLOR="#888888">Thupakula.<BR>
</FONT><BR>
_____________________________________<BR>
Powered by www.kitware.com &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>&gt; <BR>
<BR>
Visit other Kitware open-source projects at<BR>
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Kitware offers ITK Training Courses, for more information visit:<BR>
<a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a><BR>
<BR>
Please keep messages on-topic and check the ITK FAQ at:<BR>
<a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><FONT COLOR="#888888"><BR>
<BR>
</FONT></SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE>
</BODY>
</HTML>