referential of saved meshes
Posted: Fri Apr 27, 2012 1:42 pm
Hello,
I am using a simple Python script to save into a single mesh file the meshes extracted from the sulci graph generated by the Morphologist pipeline. This works perfectly and in Anatomist I can see the MRI with the extracted mesh perfectly registered.
However using other programs (like MITK) the mesh is not aligned to the image. I guess the problem is that the mesh is saved in the Aims referential which is radiological, but the image is displayed on it's own referential, which is probably neurological (the original image is in NIFTI format). I read that Anatomist makes this tranformation on the flight, this could explain why in Anatomist I have no alignment problems. Now how can I change the coordinate system of the mesh to match the one of the image? I think I would need the inverse transformation that is used internally by Anatomist to display the image. I guess is not just an axis flippling, because the origin is also changing, right? I tried to run AimsFileInfo but I didn't find the required transformation.
P.S. I am new to BrainVISA, sorry if I made some stupid mistake
I am using a simple Python script to save into a single mesh file the meshes extracted from the sulci graph generated by the Morphologist pipeline. This works perfectly and in Anatomist I can see the MRI with the extracted mesh perfectly registered.
However using other programs (like MITK) the mesh is not aligned to the image. I guess the problem is that the mesh is saved in the Aims referential which is radiological, but the image is displayed on it's own referential, which is probably neurological (the original image is in NIFTI format). I read that Anatomist makes this tranformation on the flight, this could explain why in Anatomist I have no alignment problems. Now how can I change the coordinate system of the mesh to match the one of the image? I think I would need the inverse transformation that is used internally by Anatomist to display the image. I guess is not just an axis flippling, because the origin is also changing, right? I tried to run AimsFileInfo but I didn't find the required transformation.
P.S. I am new to BrainVISA, sorry if I made some stupid mistake