[Insight-users] Re: WrapITK iterators

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Feb 7 11:08:22 EST 2008


Hi,

They are not generated by default in wrapitk because they are braking  
the build with java.
I think there are some patches to apply to make them usable with python.

http://voxel.jouy.inra.fr/darcs/contrib-itk/WrapITK/patch/optional/python-interface-patches.patch

You should contact Zachary Pincus for more details - he is the author  
of that stuff.

Regards,

Gaëtan


Le 7 févr. 08 à 16:55, Mario Ceresa a écrit :

> Hi again,
> i just found the right advanced configuration option in ccmake to turn
> on the wrapping for the iterators!
> I can now create an iterator in python, access a image, move the it to
> the beginning, to the end, access a pixel value, change it...but how
> do I move the it a step forward? In c++ was as simple as doing ++it,
> but I can't find a way to do the same in python!
>
> I'm suspecting that there was a good reason why they were not
> generated by default by wrapit...
>
> Thanks for any help,
>
> Mario
>
> On Feb 6, 2008 6:25 PM, Mario Ceresa <mario.ceresa at torrescalla.it>  
> wrote:
>> Hi everybody,
>> Sorry if it is a stupid question, because I've just started  
>> experimenting
>> with this beautiful toolkit.
>>
>> I'm trying to implement a filter in python extending the  
>> itk.pipeline class
>> that comes with wrapitk, but how do i access the iterators for the  
>> image?
>> There seems to be no wrapping for them in the package. Are they still
>> unsupported?
>>
>> Thanks and best regards
>>
>> Mario
>>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr




-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/insight-users/attachments/20080207/1944295f/PGP.pgp


More information about the Insight-users mailing list