Hello to all,<br><br>I am working in GeodesicActiveContourImageFilter.In the example, it is declared a container in order to set a seed point.What I should write in order to set two different seed points?<br><br>Thanks in advance<br>
<br>//////////////// code /////////////////////////<br> NodeContainer::Pointer seeds = NodeContainer::New();<br><br> InternalImageType::IndexType seedPosition;<br> <br> seedPosition[0] = atoi( argv[3] );<br> seedPosition[1] = atoi( argv[4] );<br>
<br><br> const double initialDistance = atof( argv[5] );<br><br> NodeType node;<br><br> const double seedValue = - initialDistance;<br> <br> node.SetValue( seedValue );<br> node.SetIndex( seedPosition );<br><br><br>
seeds->Initialize();<br> seeds->InsertElement( 0, node );<br><br> fastMarching->SetTrialPoints( seeds );<br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>