Access and transfert transformation matrice with simpleITk and 3Dslicer

Hello,
i work with simpleITK with python in 3dSlicer. We create a transform matrix with general brain registration (Bspline).
I would like to pull this matrix into the python Interactor to be able ti play with it. I try

import sitkUtils as su
transform=su.PullFromSlicer(“nom_transformation”)

But it didn’t work.
If i save it and open it seem ok:
transform=sitk.ReadTransform(“nom_transformation.h5”)

I want to access to each vector in function of his localization in the image.
Do result.TransformPoint([x,y,z]) work?

Thank you,
Cyril Jaudet
PSRPM, PhD

Centre François Baclesse
3 avenue général Harris • BP 45026 • 14076 CAEN cedex 05
Tél. : +33(0)2 31 45 51 74
c.jaudet@baclesse.unicancer.fr

This sounds mostly like and Slicer to SimpleITK issue. The Slicer community may be better at answering it. @lassoan

Slicer stores transforms in VTK transform classes. You can retrieve the VTK transform from the MRML node. If you have any further questions related to this, post it on discourse.slicer.org.