[Insight-users] error: 'class
itk::ImageRegionIterator<itk::Image<float,
3u> >' has no member named 'SetPosition'
charfeddine amir
charfeddine_amir at yahoo.fr
Sat Feb 11 09:19:30 EST 2006
Hi all,
could anyone tell me where is the error plz, i use the SetPosition method i read in ItkSoftwareGuide page 704,
but the compiler tell me that :
error: 'class itk::ImageRegionIterator<itk::Image<float, 3u> >' has no member named 'SetPosition'
this is a fragment of code:
for (compt2=0; compt2<compt; compt2++)
{
m_outputvolumeindex[0]=tab_ind1[compt2];
m_outputvolumeindex[1]=tab_ind2[compt2];
m_outputvolumeindex[2]=tab_ind3[compt2];
in1.SetPosition(m_outputvolumeindex);
nv_valeur=in1.Get()+lambda*coeff_norm*tab_dist[compt2];
// On impose la positivit‚ de la solution:
if (nv_valeur>0)
in1.Set( nv_valeur );
else
in1.Set( 0 );
}
thx,
---------------------------------
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060211/a3286d76/attachment.html
More information about the Insight-users
mailing list