Hi Sergio,<div>Thank you for your advice.</div><div>It seems faster than before.</div><div>Now I segment a liver image with size 300x300x150 , voxel spacing is 0.5x0.5x1.5.</div><div>I set threshold =  0.01 level =  0.1.</div>
<div>The running time is about 5 min and the total number of region is about 37000. </div><div>Is that reasonable? and do you have any suggestion on the parameters and the running time?</div><div>thanks</div><div>Best</div>
<div>dongfeng</div><br><div class="gmail_quote">On Tue, Mar 22, 2011 at 12:43 AM, Sergio Vera <span dir="ltr">&lt;<a href="mailto:sergio.vera@alma3d.com">sergio.vera@alma3d.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi there</div><div><br></div>The first check is to make sure you are using a release version of ITK libraries.<div>Debug versions are several times slower (6-10 times in my experience)</div><div>Once this is checked, we can start looking at your parameters.</div>

<div><br></div><div>Regards</div><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Mar 21, 2011 at 9:29 PM, Dongfeng Han <span dir="ltr">&lt;<a href="mailto:handongfeng@gmail.com" target="_blank">handongfeng@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
hello everyone,<div>I use watershed method as shown the example code in ITK, to segment 3D image with size of 300x300x100</div><div>The pixel type is unsigned short.</div><div>It&#39;s very very slow. may be &gt;20 or 30 min.</div>


<div>Any one know how to make it faster? </div><div>May be I set wrong parameters.</div><div><br></div><div>best</div><div>dongfeng</div>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. <a href="tel:%28%2B34%29%20932%20380%20592" target="_blank">(+34) 932 380 592</a><br>
 <a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
</div>
</blockquote></div><br>