[Insight-users] Iterators in WrapITK (Python)

Lisa Koch kochl at gmx.ch
Tue Jun 7 09:05:47 EDT 2011


Thanks, Ashish

I now decided to call C++ code from Python and use ITK in the C++ part only. This is definitely easier and works well for me.

Sorry for posting so many questions about WrapITK and then not using it in the end!

Lisa


-------- Original-Nachricht --------
> Datum: Sun, 5 Jun 2011 19:31:03 -0400
> Von: Ashish Sharma <ashishs99 at gmail.com>
> An: Lisa Koch <kochl at gmx.ch>
> CC: insight-users at itk.org
> Betreff: Re: [Insight-users] Iterators in WrapITK (Python)

> >
> >
> > I can't find a way to increment the iterators in Python. I saw earlier
> > messages concerning this problem but I'm not sure if it has been solved.
> >
> > Does anybody now how to increment iterators? Or if it's possible at all?
> 
> 
> Iterators haven't been tested for a while. So we discourage their usage
> for
> now. However you can do the same thing simply by using GetPixel() and
> SetPixel() on an image. Hope this helps.
> 
> 
> 
> Ashish

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the Insight-users mailing list