Hi Freesurfers!

I'd like to load my original Nifti T1 image data (subject.nii) and the
wm/gm-surface coordinate data (for instance lh.pial) in matlab as vectors
in the same coordinate system.

If I do it in the naive way,
i.e. [x,y,z,1]=[i,j,k,1]*sform' for the Nifti coordinates resp.
freesurfer_read_surf(...) for the surface nodes,
then surface and Nifti appear not to be coregisterred. It looks as though
there would be a spacial shift missing.
Although having tried several matrices I cant figure out which is the one
to choose.

Inspecting the Data by Freeviewer I observe the same spacial shift,
inspecting it by 'tkmedit subject_id brainmask.mgz lh.pial' everything is
fine.

Could you tell me, which transform I have to apply to the surface
coordinates? That would be really nice.

Thanks and best Regards,
Max

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to