Hi Andy, Thanks for the information.
The error message that you are getting is actually from GIFTI library. I'm wondering if any other programs using the same library can parse the .gii correctly. I downloaded these files from the site: shen_2mm_268_parcellation.nii.gz 395091.R.func.gii 395091.L.func.gii Can you confirm these are the same files you downloaded? To debug it a little more, can you also let me know your mris_convert command line? Best, Yujing From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Andy Kim Sent: Thursday, January 5, 2023 9:15 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] How to convert surface-based atlas to annotation? External Email - Use Caution Hi Yujing, I got the surface-based shen 268 atlas GIFTI file from Neurovault: MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://neurovault.org/images/395091/<https://secure-web.cisco.com/1nc6gfn6VjjKigEYqWc-8kv59k1M4P4KJsOZNG-wzL9VI7sGz6VtoXvG_MRPd7n1hHecU3LLS5w43aE-t57NFuRIBnv_tzk-0nsXBcpiQ77ZmSTbj2GQVhLK-IB4_Wk3xKYdv4HdSgHx7rjDXvJ5LTWRcOvOKQd8ZFcyhsUVfKTxErlLqydo83AQsb0G4bzx8eRxlK3GbQqE6F2unEOJNs4o7BJbGItXJOSNHKjq-WowGK42iSTozlMFE-bZvVOc1K0TgbWsibZ4E3jwKydRbUsfrTEWlJEoxfxzmHetsxCU1oTcmvcqoEWHB8jjIa8VgsfEyyq3lnHupc-JgRD7NfQ/https%3A%2F%2Fneurovault.org%2Fimages%2F395091%2F>. It is supposed to have specific values within specific regions like any other atlases. What I want to do is to convert the GIFTI file (surface-based atlas) to annotation, so that I can extract mean time series. I saw some methods to convert volume-based atlas to annotation, but I haven't found any ways to do it with surface-based atlas. I actually tried volume-based shen 268 atlas (recon-all MNI152 -> mri_vol2surf -> mri_vol2label with surf option), but I can't trust the result - I will send another email regarding this issue. So I want to cross-check with surface-based atlas, which is supposed to be easier and more accurate since the atlas itself is on the surface. Could you let me know how to convert the atlas of GIFTI file to annotation or how to extract mean time series using a GIFTI atlas file? Kind Regards, Andy (Junghyun) Kim ________________________________ From: freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu> <freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>> on behalf of Huang, Yujing <yhuan...@mgh.harvard.edu<mailto:yhuan...@mgh.harvard.edu>> Sent: Thursday, January 5, 2023 10:39 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>> Subject: Re: [Freesurfer] How to convert surface-based atlas to annotation? Hi Andy, Based on my understanding from GIFTI specification, your .gii are functional files. I'm not sure if mris_convert supports it. I'm curious how you got the .gii files. Best, Yujing From: freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu> <freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>> On Behalf Of Andy Kim Sent: Thursday, January 5, 2023 3:05 AM To: freesurfer <freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>> Subject: [Freesurfer] How to convert surface-based atlas to annotation? External Email - Use Caution Dear FreeSurfer Developers, To analyze functional connectivity, I first got Shen 268 surface-based atlas from Neurovault. Now I want to extract average time series data from my subjects based on the atlas but I have no idea how to make annotation. All I have is .gii left and right hemispheres atlas files. When I tried mris_convert, it says: DA[0] has coordsys with intent NIFTI_INTENT_NONE (should be NIFTI_INTENT_POINTSET). Could you please give me any tips for making an annot file from surface-based atlas? Thank you in advance. Kind Regards, Andy (Junghyun) Kim
_______________________________________________ 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.