[Insight-users] ITK 3.10.1 Packages for Ubuntu 8.04 and 8.10
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Jan 22 15:34:44 EST 2009
Le 22 janv. 09 à 20:13, Paul Novotny a écrit :
>
>> One issue that I recall is that the python examples distributed with
>> ITK did not work with WrapITK. I seem to recall that the wrapped
>> names of things was different. Maybe I'm misremembering, so let
>> me ask: can you run all the python examples with WrapITK-based
>> python bindings?
>
> No. The python examples use the cswig python format. WrapITK
> introduces
> a different naming convention so there is no chance the examples will
> work. For example:
>
> old style python wrapping:
> reader = itk.itkImageFileReaderF2_New()
>
> WrapITK
> image_type = itk.Image[itk.F, 2]
> reader = itk.ImageFileReader[image_type].New()
well, this is not necessary as much different. It can be
reader = itk.ImageFileReader.IF2.New()
or even
reader = itk.itkImageFileReaderIF2_New()
with the old style import. This is still not compatible, because of
the additional "I" in the name.
It may be possible to provide the right names in a compatibility
module though.
But I never thought that running the old examples may be necessary. Is
it?
Gaëtan
--
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 http://www.mandriva.org
http://www.itk.org http://www.clavier-dvorak.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090122/f45e878a/attachment.pgp>
More information about the Insight-users
mailing list