but when load imagedata and polydata.I find the position of imagedata is not right.
the imagedata and polydata not in same position,
what should i do?
thank you a lot
Older versions of Slicer use RAS orientation, which is different from LPS usually used by medical images. I think that current nightlies use LPS by default. You might need to have RAS to LPS transform applied to your mesh before exporting it from Slicer.
I find the problem.
I use vedo(python lib,really powerful) to convert slicerimage data from nii.gz to vti
and use 3DSlicer convert polydata from nii.gz to obj.
so the mistake happened,
I only use vedo get vti and obj file,the problem is solved.