The coordinate system is not easy to explain in an email. There are power point slides on our wiki about the geometry used. To get from surface xyz to column, row, slice in the orig.mgz, first get a matrix from the orig.mgz with
mri_info --tkrvox2ras orig.mgz this will be 4x4, multiply the inverse of this matrix by the surface xyz (adding a one to make it 4x1) to get the col, row, slice in the orig. doug f.le...@donders.ru.nl wrote: > Hi all, > > I checked quite a number of previous posts, but still can't seem to figure > out what the vertices numbers given by read_annotation in matlab stand for. > My questions are: > > - In what reference frame are they? > - How do I convert them to coordinates in my original structural image (an x > * y * z matrix, based on a nii-file)? > > Thanks a lot in advance! > > kind regards, > > Frank > > > -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html _______________________________________________ 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.