[Insight-users] Iterator...

Mr Gaffe lagaffe74130 at yahoo.fr
Wed Nov 24 04:07:43 EST 2004


Hi all,

A simple question about Iterator..
I am doing a program which is quite similar to example
NeighborhoodIterator6.cxx (I need to access a new
random index position).
When I  find my future Index, I need to copy at this
position a value in the output image.
Do I need to create a new Iterator to copy this value
at this position ? or maybe can I directly do:
outImage->SetPixel(newIndex,myValue)

Both, solution works but I don't know what is the
fastest

many thanks
Lagaffe


	

	
		
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com


More information about the Insight-users mailing list