<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Luis , </DIV>
<DIV>Unless I'm mistaken, I have applied the confidence connected filter as descripted in the itk book page 507, but I couldn't get te same result as in the book ! the segmentation is very bad. </DIV>
<DIV>I have applied this filter to the volume <FONT color=#008000 size=2>/BrainPart2/Brain/brainweb165a10f17.mha <FONT color=#000000>using </FONT></FONT></DIV><FONT color=#008000 size=2><FONT color=#008000 size=2>
<DIV>itk::GradientAnisotropicDiffusionImageFilter</DIV>
<DIV>with the folling param</DIV>
<DIV>//filter->SetNumberOfIterations( 2 );</DIV>
<DIV>//filter->SetTimeStep( 0.05 );</DIV>
<DIV>//filter->SetConductanceParameter( 3 );</DIV></FONT>
<DIV>and </DIV><FONT color=#008000 size=2>
<DIV>confidenceConnected->SetMultiplier(2.5 ); </DIV>
<DIV>// confidenceConnected->SetNumberOfIterations(5);</DIV>
<DIV>// confidenceConnected->SetReplaceValue(255); </DIV>
<DIV>// confidenceConnected->SetInitialNeighborhoodRadius(2);</DIV>
<DIV> </DIV>
<DIV>and the seeds points </DIV>
<DIV> </DIV><FONT color=#008000 size=2>
<DIV>InputImageType::IndexType index1; </DIV>
<DIV>// index1[0] = atoi("118"); // Convert a string to integer.</DIV>
<DIV>// index1[1] = atoi("85");</DIV>
<DIV>// index1[2] = atoi("92");</DIV>
<DIV>//</DIV>
<DIV>// InputImageType::IndexType index2;</DIV>
<DIV>// index2[0] = atoi( "63" );</DIV>
<DIV>// index2[1] = atoi( "87" );</DIV>
<DIV>// index2[2] = atoi( "94" );</DIV>
<DIV>//</DIV>
<DIV>// InputImageType::IndexType index3;</DIV>
<DIV>// index3[0] = atoi( "63" );</DIV>
<DIV>// index3[1] = atoi( "157" );</DIV>
<DIV>// index3[2] = atoi( "90" );</DIV>
<DIV>//</DIV>
<DIV>// InputImageType::IndexType index4;</DIV>
<DIV>// index4[0] = atoi( "111" );</DIV>
<DIV>// index4[1] = atoi( "188" );</DIV>
<DIV>// index4[2] = atoi( "90" );</DIV>
<DIV>//</DIV>
<DIV>// InputImageType::IndexType index5;</DIV>
<DIV>// index5[0] = atoi( "111" );</DIV>
<DIV>// index5[1] = atoi( "50" );</DIV>
<DIV>// index5[2] = atoi( "88" );</DIV>
<DIV> </DIV>
<DIV>As you can see all the parms that I have used as the same as described in the book.</DIV>
<DIV>please could you chek and tell me if I'm wrong.</DIV>
<DIV> </DIV>
<DIV>Thanks </DIV>
<DIV>Sara</DIV></FONT></FONT></FONT>
<DIV> </DIV></td></tr></table><br>