[Insight-users] python and C conversion for ITK

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Aug 7 07:59:59 EDT 2009


Le 7 août 09 à 12:38, kevin cavin a écrit :

> Hi, guys:
>
>    I am trying to rewrite the deformable registration example 15 by  
> using pyhton insted of C++. I have difficult to translate this part  
> of code
>
>     upsampler->SetInput( bsplineTransformFine->GetCoefficientImage() 
> [k] );
>
>    Since in python it is supported to using index like  
> bsplineTransformFine->GetCoefficientImage()[k] , does anyone have  
> some hints to solve this? Thanks in advance!
>

Hi,

Can you send the full script, so I can try to debug it?

Thanks,

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.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090807/7fe62ea1/attachment.pgp>


More information about the Insight-users mailing list