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