<p>Hi,<br>I want to segment the serial image with confidence connect filter. One can set seed as follow<br>typedef float PixelType;<br>typedef itk::Image<PixelType,2> ImageType; <br>
ImageType::IndexType seed;<br>int seedCount;<br>seedCount=m_SeedPoints.size();<br> <br>for(int k=0; k<seedCount;k++)<br>{<br> seed[0]= int( m_SeedPoints[k].xIndex );<br> seed[1]= int( m_SeedPoints[k].yIndex );<br> seed[2]= int( m_SeedPoints[k].zIndex );<br>
}<br>confidenceFilter->SetSeed( seed );</p>
<div>But in above case, only the last selected point is add as the seed point to confidence connect filter. How to <br>add all the selected points to the filter?</div>
<div>Thanks for any hints</div>