<span style="font-weight: bold; color: rgb(64, 64, 255);">Hi all,</span><br style="font-weight: bold; color: rgb(64, 64, 255);"> <span style="font-weight: bold; color: rgb(64, 64, 255);">could anyone tell me where is the error plz, i use the SetPosition method i read in ItkSoftwareGuide page 704,</span><br style="font-weight: bold; color: rgb(64, 64, 255);"> <span style="font-weight: bold; color: rgb(64, 64, 255);">but the compiler tell me that :</span><br> <br> <span style="text-decoration: underline;">error: 'class itk::ImageRegionIterator<itk::Image<float, 3u> >' has no member named 'SetPosition'</span><br> <br> this is a fragment of code:<br> <br> <span style="font-weight: bold;">for (compt2=0; compt2<compt; compt2++)</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> {</span><br style="font-weight: bold;"> <span style="font-weight:
bold;"> </span><br style="font-weight: bold;"> <span style="font-weight: bold;"> m_outputvolumeindex[0]=tab_ind1[compt2];</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> m_outputvolumeindex[1]=tab_ind2[compt2];</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> m_outputvolumeindex[2]=tab_ind3[compt2];</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> in1.SetPosition(m_outputvolumeindex);</span><br style="font-weight: bold;"> <span style="font-weight:
bold;"> </span><br style="font-weight: bold;"> <span style="font-weight: bold;"> nv_valeur=in1.Get()+lambda*coeff_norm*tab_dist[compt2];</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> </span><br style="font-weight: bold;"> <span style="font-weight: bold;"> // On impose la positivit‚ de la solution:</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> if (nv_valeur>0)</span><br style="font-weight: bold;"> <span style="font-weight:
bold;"> in1.Set( nv_valeur );</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> </span><br style="font-weight: bold;"> <span style="font-weight: bold;"> else</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> in1.Set( 0 );</span><br style="font-weight: bold;"> <span style="font-weight: bold;"> </span><br style="font-weight: bold;"> <span style="font-weight: bold;">
}<br> <br> thx,<br> </span><p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.