Re: [Freesurfer] converting vertex numbers in .label files to R, A, S coordinates
Thank you very much for this information!! Best, Li On Jul 24, 2017, at 4:06 PM, Douglas Greve mailto:gr...@nmr.mgh.harvard.edu>> wrote: Try using mri_label2label with the --paint option. I think the vertex numbers need to be -1 (not random numbers). You will also need to convert the RAS to "tkregisterRAS", one of our internal coordinate systems. See https://surfer.nmr.mgh.harvard.edu/fswiki/CoordinateSystems, you'll need to do the inverse of case #1. On 7/19/17 12:28 PM, Li Guo wrote: Dear Freesurfer experts, My question concerns the .label files and the correspondence between the vertex numbers (in the first column) and the R,A,S coordinates. I have the R,A,S coordinates of voxels that I want to display on the surface. For this purpose, I created a label file with the R,A,S coordinates (col 2,3,4) and random vertex ID in the col 1 (since I do not know what is the vertex ID for a given R,A,S coordinate). I displayed the content of the label file via tksurfer. However, tksurfer reads vertex ID, not R,A,S coordinates. I wonder whether anyone knows about a function computing the vertex ID based on the R,A,S coordinates, or an alternative solution to represent the vertices on the surface based on the voxel coordinates--and the registration file I assume? Thank you very much! Best Li Guo & Florence Campana Thanks a lot! ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer ___ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto: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. ___ 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.
[Freesurfer] converting vertex numbers in .label files to R, A, S coordinates
Dear Freesurfer experts, My question concerns the .label files and the correspondence between the vertex numbers (in the first column) and the R,A,S coordinates. I have the R,A,S coordinates of voxels that I want to display on the surface. For this purpose, I created a label file with the R,A,S coordinates (col 2,3,4) and random vertex ID in the col 1 (since I do not know what is the vertex ID for a given R,A,S coordinate). I displayed the content of the label file via tksurfer. However, tksurfer reads vertex ID, not R,A,S coordinates. I wonder whether anyone knows about a function computing the vertex ID based on the R,A,S coordinates, or an alternative solution to represent the vertices on the surface based on the voxel coordinates--and the registration file I assume? Thank you very much! Best Li Guo & Florence Campana Thanks a lot!___ 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.
[Freesurfer] mkbrainmask-sess: couldn't find register.dof6.lta
Dear freesurfer developers, I’d like to ask about an error I encountered in Freesurfer v6.0 with mkbrainmask-sess. I am using macOS Sierra. Here is the error: error:"ERROR: cannot find /Users/lguo15/Documents/MATLAB/fMRI_P3/Fisch_P3_01/bold/register.dof6.lta, you might need to run register-sess” The error goes away if I run register-sess before mkbrainmask-sess. However, my lab mates use v5.3 and ran the exact same preprocess pipeline without this error. The order for them is mkbrainmask-sess first and register-sess later. I’d like to ask whether it is true that maybe in v6.0 mkbrainmask-sess now depends on register-sess to generate the register.dof6.lta file? Or how should I interpret this? Does running registration and masks have some fixed order at all or it doesn’t matter? Best, Li ___ 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.