<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Ella,<div><br></div><div>You don't need to use the fastMarching filter if you are using the DanielssonDistanceMap</div><div><br></div><div>and vice versa.</div><div><br></div><div>If you want to lower the computation time you can decrease the number of iterations or&nbsp;</div><div><br></div><div>assign lower values for the maximum allowed RMS.</div><div><br></div><div>The initialDistance parameter is the distance between the seed points and the desired</div><div><br></div><div>initial contour.</div><div><br></div><div>Also, the following posts on the mailing list can give you more information on how to</div><div><br></div><div>control&nbsp;the&nbsp;level of details in your segmentation.</div><div><br></div><div><a
 href="http://www.itk.org/pipermail/insight-users/2011-February/039551.html">http://www.itk.org/pipermail/insight-users/2011-February/039551.html</a></div><div><br></div><div><a href="http://www.itk.org/pipermail/insight-users/2011-January/039435.html">http://www.itk.org/pipermail/insight-users/2011-January/039435.html</a></div><div><br></div><div>Note that the assigned&nbsp;Alpha and Beta values for the sigmoid filter can have a significant</div><div><br></div><div>effect on the results. It is best to choose the Beta close to the initial contour value and&nbsp;</div><div><br></div><div>assign the Alpha in which an acceptable range of values around the Beta would be</div><div><br></div><div>mapped.</div><div><br></div><div>Best
 regards,</div><div><br></div><div>Dawood</div><div><br></div><div><br></div><div>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</div><div><br></div><div>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>Hi,&nbsp;
I managed to start run the GeodesicActiveContoursFilter. I forgot to the line
fastMarching-&gt;SetOutputSize(reader-&gt;GetBufferedRegion().GetSize());.
I wanted to use the SignedDanielssonDistanceMapFilter, but i get the same problem as before putting the line above as a result.
Is there something similar for the SignedDanielssonDistanceMapFilter to set?


My second question is regarding the time used for the segmentation
I tried to use it on a MRI t2_3D, 256 slices 40 Iteration steps, but it took me more then 4 minutes. Is this a normal behaviour that i should expect on Leopard 10.6 16 GB RAM?


I still think i am missing something because i don't see a connection between the image and the segmented region. (Which leads me to my third question, what does the DistanceValue in the fastMarching means- it just doesn't make sense to me when starting with a seed point only and not with some initial contour).
I send some images maybe this will help to help me:P
i didn't put all of them, but Test4 is the one where i put my seed point.<a href="https://picasaweb.google.com/ellaMkadas/TestLevelSet?authkey=Gv1sRgCMrzgp3nsPfWeg#">https://picasaweb.google.com/ellaMkadas/TestLevelSet?authkey=Gv1sRgCMrzgp3nsPfWeg#</a>
Thanks,
Ella</pre></span></div></td></tr></table><br>